| |
|
| java.lang.Object com.sun.rave.designtime.Position com.sun.rave.designtime.markup.MarkupPosition
MarkupPosition | public class MarkupPosition extends Position (Code) | | The MarkupPosition extends the Position class to include specifics about DOM coordinates. This
class is used when creating children, moving them, etc.
author: Carl Quinn version: 1.0 |
Constructor Summary | |
public | MarkupPosition() | public | MarkupPosition(int index) | public | MarkupPosition(int index, Node beforeSibling) Constructs a MarkupPosition with the specified index and beforeSibling. | public | MarkupPosition(Node underParent, Node beforeSibling) Constructs a MarkupPosition with the specified underParent and beforeSibling. | public | MarkupPosition(Node beforeSibling) Constructs a MarkupPosition with the specified beforeSibling. |
beforeSibling | protected Node beforeSibling(Code) | | storage for the 'beforeSibling' property
|
underParent | protected Node underParent(Code) | | storage for the 'underParent' property
|
MarkupPosition | public MarkupPosition()(Code) | | Constructs a default MarkupPosition with no settings
|
MarkupPosition | public MarkupPosition(int index)(Code) | | Constructs a MarkupPosition with the specified index
Parameters: index - the desired index |
MarkupPosition | public MarkupPosition(int index, Node beforeSibling)(Code) | | Constructs a MarkupPosition with the specified index and beforeSibling. The 'beforeSibling'
denotes the immediate next sibling of the desired position.
Parameters: index - The desired index Parameters: beforeSibling - The desired beforeSibling - denotes the immediate next sibling of thedesired position |
MarkupPosition | public MarkupPosition(Node underParent, Node beforeSibling)(Code) | | Constructs a MarkupPosition with the specified underParent and beforeSibling. The
'underParent' denotes the desired parent for the position. The 'beforeSibling' denotes the
immediate next sibling of the desired position.
Parameters: underParent - The desired underParent - denotes the desired parent for the position Parameters: beforeSibling - The desired beforeSibling - denotes the immediate next sibling of thedesired position |
MarkupPosition | public MarkupPosition(Node beforeSibling)(Code) | | Constructs a MarkupPosition with the specified beforeSibling. The 'beforeSibling' denotes the
immediate next sibling of the desired position.
Parameters: beforeSibling - The desired beforeSibling - denotes the immediate next sibling of thedesired position |
getBeforeSibling | public Node getBeforeSibling()(Code) | | Returns the beforeSibling. The 'beforeSibling' denotes the immediate next sibling ofthe desired position. |
getUnderParent | public Node getUnderParent()(Code) | | Returns the underParent. The 'underParent' denotes the desired parent for theposition. |
setBeforeSibling | public void setBeforeSibling(Node beforeSibling)(Code) | | Parameters: beforeSibling - The beforeSibling to set. The 'beforeSibling' denotes theimmediate next sibling of the desired position. |
setUnderParent | public void setUnderParent(Node underParent)(Code) | | Parameters: underParent - The underParent to set. The 'underParent' denotes the desired parent forthe position. |
Fields inherited from com.sun.rave.designtime.Position | protected int index(Code)(Java Doc)
|
|
|
|