|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.graphics.java2d.GraphicalSystem.ComponentWrapper
Wraps a component: adds an attribute ID, enables comparing of the components so the TreeSet can be used to store them.
Constructor Summary | |
GraphicalSystem.ComponentWrapper(Component component,
Integer id)
Constructor |
Method Summary | |
Component |
getComponent()
Returns the wrapped component |
Integer |
getID()
Returns the ID |
void |
setComponent(Component component)
Sets the wrapped component |
void |
setID(Integer id)
Sets the ID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphicalSystem.ComponentWrapper(Component component, Integer id)
component
- the componentid
- the IDMethod Detail |
public Component getComponent()
public void setComponent(Component component)
component
- the componentpublic Integer getID()
public void setID(Integer id)
id
- the ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |