org.xith3d.ui.hud.widgets
Class BevelBorder

java.lang.Object
  extended by org.xith3d.ui.hud.base.WidgetBase
      extended by org.xith3d.ui.hud.base.RectangularWidget
          extended by org.xith3d.ui.hud.widgets.BorderWidget
              extended by org.xith3d.ui.hud.widgets.BevelBorder
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.types.twodee.Positioned2f, org.openmali.types.twodee.Positioned2fRO, org.openmali.types.twodee.Sized2f, org.openmali.types.twodee.Sized2fRO, Border, Widget

public class BevelBorder
extends BorderWidget

A BevelBorder is a BorderWidget extension, that makes explizit use of HUD.getTheme().getLoweredBevelBorderDescription() to retrieve its Border.Description.


Nested Class Summary
static class BevelBorder.Type
           
 
Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Border
Border.Description
 
Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Widget
Widget.DescriptionBase
 
Field Summary
static BevelBorder.Type LOWERED
          This indicates a lowered BevelBorder.
static BevelBorder.Type RAISED
          This indicates a raised BevelBorder.
 
Fields inherited from class org.xith3d.ui.hud.base.WidgetBase
containerListeners, transformGroup, translation, Z_INDEX_UNIT, Z_INDEX_UNIT_ASSEMBLER
 
Constructor Summary
BevelBorder(BevelBorder.Type type)
          Creates a new BevelBorder Widget.
BevelBorder(float width, float height, BevelBorder.Type type)
          Creates a new BevelBorder Widget.
BevelBorder(float width, float height, int zIndex, BevelBorder.Type type)
          Creates a new BevelBorder Widget.
BevelBorder(org.openmali.types.twodee.Sized2fRO size, BevelBorder.Type type)
          Creates a new BevelBorder Widget.
BevelBorder(org.openmali.types.twodee.Sized2fRO size, int zIndex, BevelBorder.Type type)
          Creates a new BevelBorder Widget.
 
Method Summary
 BevelBorder.Type getType()
           
 
Methods inherited from class org.xith3d.ui.hud.widgets.BorderWidget
getBottomHeight, getDescription, getLeftWidth, getRightWidth, getTopHeight, getTransparency, init, pick, setSize, setTransparency
 
Methods inherited from class org.xith3d.ui.hud.base.RectangularWidget
getPickHeight, getPickSGZPosition, getPickWidth
 
Methods inherited from class org.xith3d.ui.hud.base.WidgetBase
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidgetAssembler, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isInitialized, isInitializing, isPickable, isVisible, onAddedToContainer, onAddedToHUD, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseLeft, onMouseMoved, onMouseStopped, onMouseUnbound, onMouseWheelMoved, onRemovedFromContainer, pickWidgetAssembler, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContainer, setContextMenu, setCursor, setDraggable, setFocussable, setHeight, setLocation, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setUserObject, setVisible, setWidth, setZIndex, toString, update, updateTranslation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOWERED

public static final BevelBorder.Type LOWERED
This indicates a lowered BevelBorder.
This is a 3d effect of a sunken area inside the border.


RAISED

public static final BevelBorder.Type RAISED
This indicates a raised BevelBorder.
This is a 3d effect of a raised area inside the border.

Constructor Detail

BevelBorder

public BevelBorder(org.openmali.types.twodee.Sized2fRO size,
                   int zIndex,
                   BevelBorder.Type type)
Creates a new BevelBorder Widget.

Parameters:
size -
zIndex -
type -

BevelBorder

public BevelBorder(org.openmali.types.twodee.Sized2fRO size,
                   BevelBorder.Type type)
Creates a new BevelBorder Widget.

Parameters:
size -
type -

BevelBorder

public BevelBorder(float width,
                   float height,
                   int zIndex,
                   BevelBorder.Type type)
Creates a new BevelBorder Widget.

Parameters:
width -
height -
zIndex -
type -

BevelBorder

public BevelBorder(float width,
                   float height,
                   BevelBorder.Type type)
Creates a new BevelBorder Widget.

Parameters:
width -
height -
type -

BevelBorder

public BevelBorder(BevelBorder.Type type)
Creates a new BevelBorder Widget.

Parameters:
type -
Method Detail

getType

public BevelBorder.Type getType()
Returns:
the BevelBorder.Type (LOWERED or RAISED).