teamdev.jxdesktop
Interface UIElement

All Superinterfaces:
Screenable
All Known Implementing Classes:
WindowsUIElement

public interface UIElement
extends Screenable

Represents some part or element of the GUI, such as a window, text box, button, radio button, toolbar and other elements of the GUI.


Method Summary
 java.util.List getChildren()
          Returns child elements.
 Graphics getGraphics()
          Creates a graphics context for this object.
 UIElement getParent()
          Returns the parent UI element.
 boolean isVisible()
          Returns true if this element is visible, otherwise false.
 void update()
          Updates and redraws the UI element.
 
Methods inherited from interface teamdev.jxdesktop.Screenable
getBounds, getImage
 

Method Detail

getChildren

public java.util.List getChildren()
Returns child elements.


getParent

public UIElement getParent()
Returns the parent UI element.


update

public void update()
Updates and redraws the UI element.


getGraphics

public Graphics getGraphics()
Creates a graphics context for this object.

Returns:
a graphics context for this object

isVisible

public boolean isVisible()
Returns true if this element is visible, otherwise false.