|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for classes that keep track of the "picked" state of edges and vertices.
| Method Summary | |
void |
addListener(PickEventListener pel)
Deprecated. Use addItemListener |
void |
clearPickedEdges()
Clears the "picked" state from all edges. |
void |
clearPickedVertices()
Clears the "picked" state from all vertices. |
Set |
getPickedEdges()
Returns all "picked" edges. |
Set |
getPickedVertices()
Returns all "picked" vertices. |
boolean |
isPicked(ArchetypeEdge e)
Returns true if e is currently "picked". |
boolean |
isPicked(ArchetypeVertex v)
Returns true if v is currently "picked". |
boolean |
pick(ArchetypeEdge e,
boolean b)
Marks e as "picked" if b == true,
and unmarks e as picked if b == false. |
boolean |
pick(ArchetypeVertex v,
boolean b)
Marks v as "picked" if b == true,
and unmarks v as picked if b == false. |
void |
removeListener(PickEventListener pel)
Deprecated. Use removeItemListener |
| Methods inherited from interface java.awt.ItemSelectable |
addItemListener, getSelectedObjects, removeItemListener |
| Method Detail |
public boolean pick(ArchetypeVertex v,
boolean b)
v as "picked" if b == true,
and unmarks v as picked if b == false.
v prior to this call
public boolean pick(ArchetypeEdge e,
boolean b)
e as "picked" if b == true,
and unmarks e as picked if b == false.
e prior to this callpublic void clearPickedVertices()
public Set getPickedVertices()
public boolean isPicked(ArchetypeVertex v)
true if v is currently "picked".
isPicked in interface PickedInfopublic void clearPickedEdges()
public Set getPickedEdges()
public boolean isPicked(ArchetypeEdge e)
true if e is currently "picked".
isPicked in interface PickedInfopublic void addListener(PickEventListener pel)
pel - public void removeListener(PickEventListener pel)
pel -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||