|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.rave.designtime.Position
com.sun.rave.designtime.markup.MarkupPosition
The MarkupPosition extends the Position class to include specifics about DOM coordinates. This class is used when creating children, moving them, etc.
| Field Summary | |
protected org.w3c.dom.Node |
beforeSibling
storage for the 'beforeSibling' property |
protected org.w3c.dom.Node |
underParent
storage for the 'underParent' property |
| Fields inherited from class com.sun.rave.designtime.Position |
index |
| Constructor Summary | |
MarkupPosition()
Constructs a default MarkupPosition with no settings |
|
MarkupPosition(int index)
Constructs a MarkupPosition with the specified index |
|
MarkupPosition(int index,
org.w3c.dom.Node beforeSibling)
Constructs a MarkupPosition with the specified index and beforeSibling. |
|
MarkupPosition(org.w3c.dom.Node beforeSibling)
Constructs a MarkupPosition with the specified beforeSibling. |
|
MarkupPosition(org.w3c.dom.Node underParent,
org.w3c.dom.Node beforeSibling)
Constructs a MarkupPosition with the specified underParent and beforeSibling. |
|
| Method Summary | |
org.w3c.dom.Node |
getBeforeSibling()
|
org.w3c.dom.Node |
getUnderParent()
|
void |
setBeforeSibling(org.w3c.dom.Node beforeSibling)
|
void |
setUnderParent(org.w3c.dom.Node underParent)
|
java.lang.String |
toString()
|
| Methods inherited from class com.sun.rave.designtime.Position |
getIndex, setIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Node beforeSibling
protected org.w3c.dom.Node underParent
| Constructor Detail |
public MarkupPosition()
public MarkupPosition(int index)
index - the desired index
public MarkupPosition(int index,
org.w3c.dom.Node beforeSibling)
index - The desired indexbeforeSibling - The desired beforeSibling - denotes the immediate next sibling of the
desired positionpublic MarkupPosition(org.w3c.dom.Node beforeSibling)
beforeSibling - The desired beforeSibling - denotes the immediate next sibling of the
desired position
public MarkupPosition(org.w3c.dom.Node underParent,
org.w3c.dom.Node beforeSibling)
underParent - The desired underParent - denotes the desired parent for the positionbeforeSibling - The desired beforeSibling - denotes the immediate next sibling of the
desired position| Method Detail |
public org.w3c.dom.Node getBeforeSibling()
public org.w3c.dom.Node getUnderParent()
public void setBeforeSibling(org.w3c.dom.Node beforeSibling)
beforeSibling - The beforeSibling to set. The 'beforeSibling' denotes the
immediate next sibling of the desired position.public void setUnderParent(org.w3c.dom.Node underParent)
underParent - The underParent to set. The 'underParent' denotes the desired parent for
the position.public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||