|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.view.decorator.DecorationStyle
public class DecorationStyle
A decoration style is a set of parameters that is used by
GUIViewDecorators.
| Field Summary | |
|---|---|
static String |
BORDER_STYLE_BORDER_ONLY
borderOnly border style where no title is displayed in the
view but a border is drawn around the view. |
static String |
BORDER_STYLE_BORDER_TITLE
borderTitle border style where a titled border is drawn
around the view. |
static String |
BORDER_STYLE_NONE
none border style where no title is displayed in the view. |
static String |
BORDER_STYLE_TITLE_BAR
titleBar border style where the title is displayed in a bar
at the top of the view. |
static String |
PARAM_BORDER_STYLE
Style of border. |
| Constructor Summary | |
|---|---|
DecorationStyle()
Constructor |
|
| Method Summary | |
|---|---|
Object |
getParamater(String key)
Gets a parameter from the map. |
Map<String,Object> |
getParameterMap()
Gets the parameter map. |
boolean |
isParameterDefined(String key)
Tests if a parameter is defined or not. |
void |
setParameterMap(Map<String,Object> parameterMap)
Sets the parameter map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAM_BORDER_STYLE
titleBar (default)
none
borderOnly
borderTitle
public static final String BORDER_STYLE_TITLE_BAR
titleBar border style where the title is displayed in a bar
at the top of the view.
public static final String BORDER_STYLE_NONE
none border style where no title is displayed in the view.
public static final String BORDER_STYLE_BORDER_ONLY
borderOnly border style where no title is displayed in the
view but a border is drawn around the view.
public static final String BORDER_STYLE_BORDER_TITLE
borderTitle border style where a titled border is drawn
around the view.
| Constructor Detail |
|---|
public DecorationStyle()
| Method Detail |
|---|
public Map<String,Object> getParameterMap()
public void setParameterMap(Map<String,Object> parameterMap)
parameterMap - the parameter mappublic Object getParamater(String key)
key - Key of the parameter
null if not found.public boolean isParameterDefined(String key)
key - Parameter key to test
true if this decoration style defines this parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||