Package | Description |
---|---|
org.netbeans.api.visual.border |
This package contains
Border interface which is used for supplying a border graphics for a widget. |
org.netbeans.api.visual.laf |
This package contains
LookFeel class with style definition for colors and borders. |
org.netbeans.api.visual.vmd |
This package contains a VMD visualization style.
|
org.netbeans.api.visual.widget |
This package contains
Widget class. |
Modifier and Type | Method and Description |
---|---|
static Border |
BorderFactory.createBevelBorder(boolean raised)
Creates a bevel border.
|
static Border |
BorderFactory.createBevelBorder(boolean raised,
Color color)
Creates a bevel border.
|
static Border |
BorderFactory.createBevelBorder(boolean raised,
String property,
ResourceTable table)
Creates a bevel border.
|
static Border |
BorderFactory.createBevelBorder(boolean raised,
String property,
Widget associated)
Creates a bevel border.
|
static Border |
BorderFactory.createCompositeBorder(Border... borders)
Creates a composite border that consists of a list of specified borders - one embedded to another.
|
static Border |
BorderFactory.createDashedBorder(Color color,
int width,
int height)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createDashedBorder(Color color,
int width,
int height,
boolean squares)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createDashedBorder(String property,
ResourceTable table,
int width,
int height)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createDashedBorder(String property,
ResourceTable table,
int width,
int height,
boolean squares)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createDashedBorder(String property,
Widget associated,
int width,
int height)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createDashedBorder(String property,
Widget associated,
int width,
int height,
boolean squares)
Creates a resize border rendered with dashed stroke.
|
static Border |
BorderFactory.createEmptyBorder()
Creates an default empty border with 0px layout.
|
static Border |
BorderFactory.createEmptyBorder(int thickness)
Creates an empty border with specific thickness.
|
static Border |
BorderFactory.createEmptyBorder(int horizontal,
int vertical)
Creates an empty border with specific thickness.
|
static Border |
BorderFactory.createEmptyBorder(int top,
int left,
int bottom,
int right)
Creates an empty border with specific thickness.
|
static Border |
BorderFactory.createFancyDashedBorder(Color color,
int width,
int height)
Deprecated.
use createDashedBorder (color, width, height, true) method instead
|
static Border |
BorderFactory.createImageBorder(Insets insets,
Image image)
Creates an image layout.
|
static Border |
BorderFactory.createImageBorder(Insets borderInsets,
Insets imageInsets,
Image image)
Creates an image layout.
|
static Border |
BorderFactory.createLineBorder()
Creates a line border with default style.
|
static Border |
BorderFactory.createLineBorder(int thickness)
Creates a line border with specific thickness.
|
static Border |
BorderFactory.createLineBorder(int thickness,
Color color)
Creates a line border with specific thickness and color.
|
static Border |
BorderFactory.createLineBorder(int top,
int left,
int bottom,
int right,
Color color)
Creates a line border with specific insets and color.
|
static Border |
BorderFactory.createLineBorder(int top,
int left,
int bottom,
int right,
String property,
ResourceTable table)
Creates a line border with specific insets and color.
|
static Border |
BorderFactory.createLineBorder(int top,
int left,
int bottom,
int right,
String property,
Widget associated)
Creates a line border with specific insets and color.
|
static Border |
BorderFactory.createLineBorder(int thickness,
String property,
ResourceTable table)
Creates a line border with specific thickness and color.
|
static Border |
BorderFactory.createLineBorder(int thickness,
String property,
Widget associated)
Creates a line border with specific thickness and color.
|
static Border |
BorderFactory.createLineBorder(String property,
ResourceTable table)
Creates a line border with default style.
|
static Border |
BorderFactory.createLineBorder(String property,
Widget associated)
Creates a line border with default style.
|
static Border |
BorderFactory.createOpaqueBorder(int top,
int left,
int bottom,
int right)
Creates an opaque border with specific thickness.
|
static Border |
BorderFactory.createResizeBorder(int thickness)
Creates a resize border.
|
static Border |
BorderFactory.createResizeBorder(int thickness,
Color color,
boolean outer)
Creates a resize border.
|
static Border |
BorderFactory.createResizeBorder(int thickness,
String property,
ResourceTable table)
Creates a resize border.
|
static Border |
BorderFactory.createResizeBorder(int thickness,
String property,
ResourceTable table,
boolean outer)
Creates a resize border.
|
static Border |
BorderFactory.createResizeBorder(int thickness,
String property,
Widget associated)
Creates a resize border.
|
static Border |
BorderFactory.createResizeBorder(int thickness,
String property,
Widget associated,
boolean outer)
Creates a resize border.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
Color fillColor,
Color drawColor)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
int insetWidth,
int insetHeight,
Color fillColor,
Color drawColor)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
int insetWidth,
int insetHeight,
String fillProperty,
String drawProperty,
ResourceTable table)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
int insetWidth,
int insetHeight,
String fillProperty,
String drawProperty,
Widget associated)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
String fillProperty,
String drawProperty,
ResourceTable table)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createRoundedBorder(int arcWidth,
int arcHeight,
String fillProperty,
String drawProperty,
Widget associated)
Creates an rounded-rectangle border with a specified style.
|
static Border |
BorderFactory.createSwingBorder(Scene scene,
Border border)
Creates a layout from a Swing border.
|
Modifier and Type | Method and Description |
---|---|
static Border |
BorderFactory.createCompositeBorder(Border... borders)
Creates a composite border that consists of a list of specified borders - one embedded to another.
|
static Border |
BorderSupport.getSwingBorder(Border border)
Returns a swing border of a border created using BorderFactory.createSwingBorder or Widget.setBorder(javax.swing.border.Border).
|
static boolean |
BorderSupport.isOuterResizeBorder(Border border)
Returns whether a resize border is outer.
|
Modifier and Type | Method and Description |
---|---|
abstract Border |
LookFeel.getBorder(ObjectState state)
Returns a border for a specific state.
|
abstract Border |
LookFeel.getMiniBorder(ObjectState state)
Returns a minimalistic version of border for a specific state.
|
Modifier and Type | Method and Description |
---|---|
static Border |
VMDFactory.createVMDNodeBorder()
Creates a border used by VMD node.
|
static Border |
VMDFactory.createVMDNodeBorder(Color borderColor,
int borderThickness,
Color color1,
Color color2,
Color color3,
Color color4,
Color color5)
Creates a border used by VMD node with a specific colors.
|
Modifier and Type | Method and Description |
---|---|
Border |
Widget.getBorder()
Returns the border of the widget.
|
Modifier and Type | Method and Description |
---|---|
void |
Widget.setBorder(Border border)
Sets the border of the widget.
|