Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
ViewElement | createElement()
Adds an element with state cloned from the element named in setDefaultElement. |
ViewLink | createLink()
Creates a link cloned from the default link. |
void | deleteElements()
Deletes the selected elements, as per deleteElement. |
void | deleteElement(ViewElement ve)
Deletes the element, after first deleting all of it's links and children. |
void | deleteLinks()
Deletes the selected links. |
void | deleteLink(ViewLink vl)
Deletes the link. |
java.util.Collection | getAllElements()
Returns the ViewElements within this view. |
java.util.Collection | getAllLinks()
Returns the ViewLinks within this view. |
Canvas | getCanvas()
Get the GUI side of this Biew. |
java.util.Collection | getExpandableElements()
Returns the expandable elements. |
java.util.Collection | getExpandedElements()
Returns the expanded elements. |
int | getID()
Returns the unique (within the model) integer Id for the view. |
java.lang.String | getName()
Returns the name of this view. |
java.util.Collection | getSelectedElements()
Returns the selected elements. |
java.util.Collection | getSelectedLinks()
Returns the selected links. |
java.util.Collection | getVisibleElements()
Returns the visible elements. |
java.util.Collection | getVisibleLinks()
Returns visible links. |
void | setCanvas(Canvas c)
Set the GUI side of this View. |
void | setDefaultElement(ViewElement e)
Sets the default element to be used for cloning when creating new elements. |
void | setDefaultLink(ViewLink l)
Sets the default link to be used for cloning when creating new links. |
void | setID(int id)
Sets the unique identifier (within this model) for this view. |
void | setName(java.lang.String n)
Sets the name of this view. |
Method Detail |
public void setName(java.lang.String n)
public java.lang.String getName()
public void setCanvas(Canvas c)
public Canvas getCanvas()
public int getID()
public void setID(int id)
public java.util.Collection getAllElements()
public java.util.Collection getAllLinks()
public java.util.Collection getSelectedElements()
public java.util.Collection getSelectedLinks()
public java.util.Collection getExpandedElements()
public java.util.Collection getExpandableElements()
public java.util.Collection getVisibleElements()
public java.util.Collection getVisibleLinks()
public ViewElement createElement()
public void deleteElement(ViewElement ve)
public void deleteElements()
public ViewLink createLink()
public void deleteLink(ViewLink vl)
public void deleteLinks()
public void setDefaultElement(ViewElement e)
public void setDefaultLink(ViewLink l)
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |