|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.visual.laf.LookFeel
public abstract class LookFeel
This class is defining a reusable LookAndFeel fragments e.g. colors.
Constructor Summary | |
---|---|
LookFeel()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookFeel()
Method Detail |
---|
public static LookFeel createDefaultLookFeel()
public abstract Paint getBackground()
public abstract Color getForeground()
public abstract Border getBorder(ObjectState state)
state
- the state
public abstract Border getMiniBorder(ObjectState state)
state
- the state
public abstract boolean getOpaque(ObjectState state)
state
- the state
public abstract Color getLineColor(ObjectState state)
state
- the state
public abstract Paint getBackground(ObjectState state)
state
- the state
public abstract Color getForeground(ObjectState state)
state
- the state
public abstract int getMargin()
|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |