|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sdl.test.gui.GUIComponent | +--sdl.test.gui.GUIContainer
for demo gui - unfinished, Minimal Container for awt-like gui based on SDL graphics and events
Field Summary | |
protected java.util.HashSet |
hierarchyListeners
|
Fields inherited from class sdl.test.gui.GUIComponent |
componentListeners, parent, subComponents |
Constructor Summary | |
GUIContainer()
|
Method Summary | |
GUIComponent |
add(GUIComponent comp)
|
void |
addHierarchyListener(GUIHierarchyListener hl)
|
void |
paint(GUIGraphics g)
|
protected void |
processEvent(sdl.event.SDLCustomEvent c)
processes events and dispatches them to sub components - keyboard - mouse - custom |
Methods inherited from class sdl.test.gui.GUIComponent |
addComponentListener, contains, dispatchEvent, getBackground, getBounds, getComponentAt, getGraphics, getLocation, getLocationOnScreen, getParent, getSize, incomingEvents, paintAll, processEvent, setBackground, setBounds, setBounds, setLocation, setSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashSet hierarchyListeners
Constructor Detail |
public GUIContainer()
Method Detail |
public GUIComponent add(GUIComponent comp)
public void addHierarchyListener(GUIHierarchyListener hl)
protected void processEvent(sdl.event.SDLCustomEvent c)
public void paint(GUIGraphics g)
paint
in class GUIComponent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |