org.xith3d.utility.hud.editor.info
Class HEInfo_Widget

java.lang.Object
  extended by org.xith3d.utility.hud.editor.info.HEInfo_Widget
Direct Known Subclasses:
HEInfo_Button, HEInfo_Image, HEInfo_Label, HEInfo_TextField

public abstract class HEInfo_Widget
extends java.lang.Object

Widget info class used in the HUD editor


Constructor Summary
HEInfo_Widget(org.openmali.vecmath2.Tuple2f location, org.openmali.types.twodee.Sized2fRO size)
           
 
Method Summary
 org.openmali.vecmath2.Point2f getLocation()
           
 org.openmali.types.twodee.Dim2f getSize()
           
 Widget getWidget()
           
static HEInfo_Widget newWidget(java.lang.String clazzName, org.openmali.vecmath2.Tuple2f location, org.openmali.types.twodee.Sized2fRO size)
          Create a new InfoWidget
 boolean setLocation(float x, float y)
           
 boolean setLocation(org.openmali.vecmath2.Tuple2f location)
           
 boolean setSize(float width, float height)
           
 boolean setSize(org.openmali.types.twodee.Sized2fRO size)
           
protected  void setWidget(Widget widget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HEInfo_Widget

public HEInfo_Widget(org.openmali.vecmath2.Tuple2f location,
                     org.openmali.types.twodee.Sized2fRO size)
Method Detail

setWidget

protected void setWidget(Widget widget)

setLocation

public boolean setLocation(float x,
                           float y)

setLocation

public final boolean setLocation(org.openmali.vecmath2.Tuple2f location)

getLocation

public final org.openmali.vecmath2.Point2f getLocation()

setSize

public boolean setSize(float width,
                       float height)

setSize

public final boolean setSize(org.openmali.types.twodee.Sized2fRO size)

getSize

public final org.openmali.types.twodee.Dim2f getSize()

getWidget

public final Widget getWidget()

newWidget

public static HEInfo_Widget newWidget(java.lang.String clazzName,
                                      org.openmali.vecmath2.Tuple2f location,
                                      org.openmali.types.twodee.Sized2fRO size)
Create a new InfoWidget

Parameters:
clazzName - Name of the class
location - Location of the widget
size - Size of the widget