kiwi.ui
Class UIElement
java.lang.Object
|
+--kiwi.ui.UIElement
- public class UIElement
- extends java.lang.Object
This class represents a user interface element, such as a texture, icon,
or audio clip.
- Author:
- Mark Lindner, PING Software Group
Field Summary |
private java.lang.Object |
element
|
private java.lang.String |
name
|
Constructor Summary |
UIElement()
Construct a new UIElement . |
UIElement(java.lang.Object element,
java.lang.String name)
Construct a new UIElement for the specified element and
name. |
Method Summary |
java.lang.String |
getName()
Get the name of the element. |
java.lang.Object |
getObject()
Get the element object. |
java.lang.String |
toString()
Get a string representation for this object. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
element
private java.lang.Object element
name
private java.lang.String name
UIElement
public UIElement()
- Construct a new
UIElement
.
UIElement
public UIElement(java.lang.Object element,
java.lang.String name)
- Construct a new
UIElement
for the specified element and
name.
- Parameters:
element
- The user interface element object proper.name
- A descriptive name for the element.
getName
public java.lang.String getName()
- Get the name of the element.
- Returns:
- The name of the element.
getObject
public java.lang.Object getObject()
- Get the element object.
- Returns:
- The user interface element object proper.
toString
public java.lang.String toString()
- Get a string representation for this object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The name of the element.