org.xith3d.ui.hud.borders
Class EmptyBorder

java.lang.Object
  extended by org.xith3d.ui.hud.base.Border
      extended by org.xith3d.ui.hud.borders.EmptyBorder

public class EmptyBorder
extends Border

An EmptyBorder is a Border implementation without a visible component.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.Border
Border.Description
 
Constructor Summary
EmptyBorder(int width)
          Creates a new EmptyBorder with all sides of the same width.
EmptyBorder(int bottomHeight, int rightWidth, int topHeight, int leftWidth)
          Creates a new EmptyBorder with the given side widths.
 
Method Summary
 void drawBorder(Texture2DCanvas texCanvas, int offsetX, int offsetY, int width, int height, Widget hostWidget)
          
 
Methods inherited from class org.xith3d.ui.hud.base.Border
getBottomHeight, getLeftWidth, getRightWidth, getTopHeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyBorder

public EmptyBorder(int bottomHeight,
                   int rightWidth,
                   int topHeight,
                   int leftWidth)
Creates a new EmptyBorder with the given side widths.

Parameters:
bottomHeight -
rightWidth -
topHeight -
leftWidth -

EmptyBorder

public EmptyBorder(int width)
Creates a new EmptyBorder with all sides of the same width.

Parameters:
width -
Method Detail

drawBorder

public void drawBorder(Texture2DCanvas texCanvas,
                       int offsetX,
                       int offsetY,
                       int width,
                       int height,
                       Widget hostWidget)

Specified by:
drawBorder in class Border