|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PickedState
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 |
|---|
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
boolean pick(ArchetypeEdge e,
boolean b)
e as "picked" if b == true,
and unmarks e as picked if b == false.
e prior to this callvoid clearPickedVertices()
Set getPickedVertices()
boolean isPicked(ArchetypeVertex v)
true if v is currently "picked".
isPicked in interface PickedInfovoid clearPickedEdges()
Set getPickedEdges()
boolean isPicked(ArchetypeEdge e)
true if e is currently "picked".
isPicked in interface PickedInfovoid addListener(PickEventListener pel)
pel - void removeListener(PickEventListener pel)
pel -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||