com.jmex.bui.border
Class LineBorder
java.lang.Object
com.jmex.bui.border.BBorder
com.jmex.bui.border.LineBorder
public class LineBorder
- extends BBorder
Defines a border that displays a single line around the bordered component in a specified color.
|
Constructor Summary |
LineBorder(com.jme.renderer.ColorRGBA color)
|
LineBorder(com.jme.renderer.ColorRGBA color,
int width)
|
|
Method Summary |
Insets |
adjustInsets(Insets insets)
Adds the supplied insets to this border's insets and returns adjusted insets. |
void |
render(com.jme.renderer.Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
Renders this border. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_color
protected com.jme.renderer.ColorRGBA _color
_width
protected int _width
_left
protected int _left
_top
protected int _top
_right
protected int _right
_bottom
protected int _bottom
ONE_PIXEL_INSETS
protected static final Insets ONE_PIXEL_INSETS
LineBorder
public LineBorder(com.jme.renderer.ColorRGBA color)
LineBorder
public LineBorder(com.jme.renderer.ColorRGBA color,
int width)
adjustInsets
public Insets adjustInsets(Insets insets)
- Description copied from class:
BBorder
- Adds the supplied insets to this border's insets and returns adjusted insets.
- Specified by:
adjustInsets in class BBorder
render
public void render(com.jme.renderer.Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
- Description copied from class:
BBorder
- Renders this border.
- Overrides:
render in class BBorder
Copyright © 2011 Michael Bayne.
All Rights Reserved.