org.xith3d.ui.hud.base
Class Border.Description

java.lang.Object
  extended by org.xith3d.ui.hud.base.Widget.DescriptionBase
      extended by org.xith3d.ui.hud.base.Border.Description
Enclosing class:
Border

public static class Border.Description
extends Widget.DescriptionBase

This class is used to describe a Border Widget. You can pass it to the Border constructor. Modifications on the used instance after creating the Border Widget won't have any effect.


Constructor Summary
Border.Description(int width, org.openmali.vecmath2.Colorf color)
           
Border.Description(int bottom, int right, int top, int left)
           
Border.Description(int bottom, int right, int top, int left, org.openmali.vecmath2.Colorf color)
           
Border.Description(int bottom, int right, int top, int left, int heightLLupper, int widthLLright, int widthLRleft, int heightLRupper, int heightURlower, int widthURleft, int widthULright, int heightULlower, java.lang.String texture)
           
Border.Description(int bottom, int right, int top, int left, int heightLLupper, int widthLLright, int widthLRleft, int heightLRupper, int heightURlower, int widthURleft, int widthULright, int heightULlower, Texture2D texture)
           
Border.Description(int bottom, int right, int top, int left, java.lang.String texture)
           
Border.Description(int bottom, int right, int top, int left, Texture2D texture)
           
 
Method Summary
 Border.Description clone()
           
 int getBottomHeight()
           
 org.openmali.vecmath2.Colorf getColor()
           
 int getLeftWidth()
           
 int getLLrightWidth()
           
 int getLLupperHeight()
           
 int getLRleftWidth()
           
 int getLRupperHeight()
           
 java.lang.String getName()
           
 int getRightWidth()
           
 Texture2D getTexture()
           
 int getTopHeight()
           
 int getULlowerHeight()
           
 int getULrightWidth()
           
 int getURleftWidth()
           
 int getURlowerHeight()
           
 boolean hasNonZeroSize()
           
 void set(Border.Description bd)
          Clone-Constructor
 void setBottomHeight(int bh)
           
 void setColor(org.openmali.vecmath2.Colorf color)
           
 void setLeftWidth(int lw)
           
 void setLLrightWidth(int value)
           
 void setLLupperHeight(int value)
           
 void setLRleftWidth(int value)
           
 void setLRupperHeight(int value)
           
 void setName(java.lang.String name)
           
 void setRightWidth(int rw)
           
 void setSizes(int bottom, int right, int top, int left)
           
 void setSizes(int bottom, int right, int top, int left, int heightLLupper, int widthLLright, int widthLRleft, int heightLRupper, int heightURlower, int widthURleft, int widthULright, int heightULlower)
           
 void setTexture(java.lang.String texture)
           
 void setTexture(Texture2D texture)
           
 void setTopHeight(int th)
           
 void setULlowerHeight(int value)
           
 void setULrightWidth(int value)
           
 void setURleftWidth(int value)
           
 void setURlowerHeight(int value)
           
 
Methods inherited from class org.xith3d.ui.hud.base.Widget.DescriptionBase
toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left,
                          int heightLLupper,
                          int widthLLright,
                          int widthLRleft,
                          int heightLRupper,
                          int heightURlower,
                          int widthURleft,
                          int widthULright,
                          int heightULlower,
                          Texture2D texture)

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left,
                          Texture2D texture)

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left,
                          int heightLLupper,
                          int widthLLright,
                          int widthLRleft,
                          int heightLRupper,
                          int heightURlower,
                          int widthURleft,
                          int widthULright,
                          int heightULlower,
                          java.lang.String texture)

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left,
                          java.lang.String texture)

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left)

Border.Description

public Border.Description(int bottom,
                          int right,
                          int top,
                          int left,
                          org.openmali.vecmath2.Colorf color)

Border.Description

public Border.Description(int width,
                          org.openmali.vecmath2.Colorf color)
Method Detail

setName

public void setName(java.lang.String name)

getName

public final java.lang.String getName()

hasNonZeroSize

public final boolean hasNonZeroSize()

setBottomHeight

public void setBottomHeight(int bh)

getBottomHeight

public final int getBottomHeight()

setRightWidth

public void setRightWidth(int rw)

getRightWidth

public final int getRightWidth()

setTopHeight

public void setTopHeight(int th)

getTopHeight

public final int getTopHeight()

setLeftWidth

public void setLeftWidth(int lw)

getLeftWidth

public final int getLeftWidth()

setLLupperHeight

public void setLLupperHeight(int value)

getLLupperHeight

public final int getLLupperHeight()

setLLrightWidth

public void setLLrightWidth(int value)

getLLrightWidth

public final int getLLrightWidth()

setLRleftWidth

public void setLRleftWidth(int value)

getLRleftWidth

public final int getLRleftWidth()

setLRupperHeight

public void setLRupperHeight(int value)

getLRupperHeight

public final int getLRupperHeight()

setURlowerHeight

public void setURlowerHeight(int value)

getURlowerHeight

public final int getURlowerHeight()

setURleftWidth

public void setURleftWidth(int value)

getURleftWidth

public final int getURleftWidth()

setULrightWidth

public void setULrightWidth(int value)

getULrightWidth

public final int getULrightWidth()

setULlowerHeight

public void setULlowerHeight(int value)

getULlowerHeight

public final int getULlowerHeight()

setSizes

public void setSizes(int bottom,
                     int right,
                     int top,
                     int left)

setSizes

public void setSizes(int bottom,
                     int right,
                     int top,
                     int left,
                     int heightLLupper,
                     int widthLLright,
                     int widthLRleft,
                     int heightLRupper,
                     int heightURlower,
                     int widthURleft,
                     int widthULright,
                     int heightULlower)

setColor

public void setColor(org.openmali.vecmath2.Colorf color)

getColor

public final org.openmali.vecmath2.Colorf getColor()

setTexture

public void setTexture(Texture2D texture)

setTexture

public final void setTexture(java.lang.String texture)

getTexture

public final Texture2D getTexture()

set

public void set(Border.Description bd)
Clone-Constructor

Parameters:
bd - the original to be duplicated

clone

public Border.Description clone()
Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.