|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.base.Border
org.xith3d.ui.hud.borders.ColoredBorder
public class ColoredBorder
A ColoredBorder is a Border implementation with no Textures but only a color.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.Border |
|---|
Border.Description |
| Constructor Summary | |
|---|---|
ColoredBorder(int width,
org.openmali.vecmath2.Colorf color)
Creates a new ColoredBorder with all sides of the same width. |
|
ColoredBorder(int bottomHeight,
int rightWidth,
int topHeight,
int leftWidth,
org.openmali.vecmath2.Colorf color)
Creates a new ColoredBorder with the given side widths. |
|
| Method Summary | |
|---|---|
void |
drawBorder(Texture2DCanvas texCanvas,
int offsetX,
int offsetY,
int width,
int height,
Widget hostWidget)
|
org.openmali.vecmath2.Colorf |
getColor()
Returns the border's color. |
void |
setColor(org.openmali.vecmath2.Colorf color)
Sets the border's color. |
| 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 |
|---|
public ColoredBorder(int bottomHeight,
int rightWidth,
int topHeight,
int leftWidth,
org.openmali.vecmath2.Colorf color)
bottomHeight - rightWidth - topHeight - leftWidth - color -
public ColoredBorder(int width,
org.openmali.vecmath2.Colorf color)
width - color - | Method Detail |
|---|
public void setColor(org.openmali.vecmath2.Colorf color)
color - public final org.openmali.vecmath2.Colorf getColor()
public void drawBorder(Texture2DCanvas texCanvas,
int offsetX,
int offsetY,
int width,
int height,
Widget hostWidget)
drawBorder in class Border
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||