public class BorderStyle extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static BorderStyle |
DASHED |
static BorderStyle |
DOT_DASH |
static BorderStyle |
DOT_DOT_DASH |
static BorderStyle |
DOTTED |
static BorderStyle |
DOUBLE |
static BorderStyle |
GROOVE |
static BorderStyle |
HIDDEN |
static BorderStyle |
INSET |
static BorderStyle |
NONE |
static BorderStyle |
OUTSET |
static BorderStyle |
RIDGE |
static BorderStyle |
SOLID |
static BorderStyle |
WAVE |
Modifier and Type | Method and Description |
---|---|
Stroke |
createStroke(float width) |
boolean |
equals(Object o) |
static BorderStyle |
getBorderStyle(String type) |
int |
getStrokeType() |
int |
hashCode() |
protected Object |
readResolve()
Replaces the automatically generated instance with one of the enumeration instances.
|
String |
toString() |
public static final BorderStyle NONE
public static final BorderStyle HIDDEN
public static final BorderStyle DOTTED
public static final BorderStyle DASHED
public static final BorderStyle SOLID
public static final BorderStyle DOUBLE
public static final BorderStyle DOT_DASH
public static final BorderStyle DOT_DOT_DASH
public static final BorderStyle WAVE
public static final BorderStyle GROOVE
public static final BorderStyle RIDGE
public static final BorderStyle INSET
public static final BorderStyle OUTSET
public int getStrokeType()
public Stroke createStroke(float width)
public static final BorderStyle getBorderStyle(String type)
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if the element could not be resolved.Copyright © 2017 Hitachi Vantara. All rights reserved.