public abstract class LookFeel extends Object
Constructor and Description |
---|
LookFeel() |
Modifier and Type | Method and Description |
---|---|
static LookFeel |
createDefaultLookFeel()
Creates a default look and feel.
|
abstract Paint |
getBackground()
Returns a default scene background
|
abstract Paint |
getBackground(ObjectState state)
Returns a background for a specific state.
|
abstract Border |
getBorder(ObjectState state)
Returns a border for a specific state.
|
abstract Color |
getForeground()
Returns a default scene foreground
|
abstract Color |
getForeground(ObjectState state)
Returns a foreground for a specific state.
|
abstract Color |
getLineColor(ObjectState state)
Returns a line color for a specific state.
|
abstract int |
getMargin()
Returns a margin for a specific state.
|
abstract Border |
getMiniBorder(ObjectState state)
Returns a minimalistic version of border for a specific state.
|
abstract boolean |
getOpaque(ObjectState state)
Returns a opacity value for a specific state.
|
public static LookFeel createDefaultLookFeel()
public abstract Paint getBackground()
public abstract Color getForeground()
public abstract Border getBorder(ObjectState state)
state
- the statepublic abstract Border getMiniBorder(ObjectState state)
state
- the statepublic abstract boolean getOpaque(ObjectState state)
state
- the statepublic abstract Color getLineColor(ObjectState state)
state
- the statepublic abstract Paint getBackground(ObjectState state)
state
- the statepublic abstract Color getForeground(ObjectState state)
state
- the statepublic abstract int getMargin()