teamdev.jxdesktop
Interface UIElement

All Superinterfaces:
Screenable
All Known Subinterfaces:
Screen, Window

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.
 UIElement getParent()
          Returns the parent UIElement.
 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, getLocation, getSize
 

Method Detail

getChildren

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

Returns:
The list of child elements.

getParent

public UIElement getParent()
Returns the parent UIElement.

Returns:
The parent UIElement.

update

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


isVisible

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

Returns:
true if this element is visible, otherwise false.