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.
|
Method Summary |
Insets |
adjustInsets(Insets insets)
Adds the supplied insets to this border's insets and returns adjusted
insets. |
void |
render(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 ColorRGBA _color
_width
protected int _width
ONE_PIXEL_INSETS
protected static final Insets ONE_PIXEL_INSETS
LineBorder
public LineBorder(ColorRGBA color)
LineBorder
public LineBorder(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(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 © 2008 Michael Bayne.
All Rights Reserved.