de.kleopatra.forms.description.jgoodies
Class JGoodiesStyleMap
java.lang.Object
de.kleopatra.forms.description.jgoodies.JGoodiesStyleMap
- All Implemented Interfaces:
- StyleMap
- public class JGoodiesStyleMap
- extends java.lang.Object
- implements StyleMap
JGoodies Forms specific implementation of LogicalTypeMap.
Some notes:
- isConfigurableXX() will return true for all typeKeys that
are not contained in XX.PREDEFINED.
- all add/remove/rename methods will do nothing if isConfigurable()
of the typeKey returns false.
- addXX(...) will create a new type. Depending on whether the typeKey
is already known or not it will either replace the old entry with the
new one or insert the new at the end of the list.
- Version:
- $Revision: 1.1.1.1 $ - $Date: 2004/07/01 12:39:59 $
- Author:
- (C) 2004, Jeanette Winzenburg, Berlin
Method Summary |
void |
addBorderStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
|
void |
addColumnContentStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
|
void |
addColumnGapStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
|
void |
addRowContentStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
|
void |
addRowGapStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
|
protected de.kleopatra.forms.description.jgoodies.BorderStyle |
createBorderType(java.lang.Object typeKey,
javax.swing.border.Border border,
java.lang.String description)
|
protected de.kleopatra.forms.description.jgoodies.BorderStyle |
createBorderType(java.lang.Object logicalType,
java.lang.String encoding,
java.lang.String description)
|
protected de.kleopatra.forms.description.jgoodies.ColumnStyle |
createColumnType(java.lang.Object logicalType,
ColumnSpec spec,
java.lang.String description)
|
protected java.util.List |
createList()
|
static java.beans.PersistenceDelegate |
createPersistenceDelegate()
|
protected de.kleopatra.forms.description.jgoodies.RowStyle |
createRowType(java.lang.Object type,
RowSpec spec,
java.lang.String description)
|
protected java.util.List |
getBorders()
|
Style |
getBorderStyle(java.lang.Object typeKey)
|
java.util.List |
getBorderStyles()
|
protected java.util.List |
getColumnContents()
|
Style |
getColumnContentStyle(java.lang.Object typeKey)
|
java.util.List |
getColumnContentStyles()
|
protected java.util.List |
getColumnGaps()
|
Style |
getColumnGapStyle(java.lang.Object typeKey)
|
java.util.List |
getColumnGapStyles()
|
Style |
getColumnGlueStyle()
|
protected java.util.List |
getRowContents()
|
Style |
getRowContentStyle(java.lang.Object typeKey)
|
java.util.List |
getRowContentStyles()
|
protected java.util.List |
getRowGaps()
|
Style |
getRowGapStyle(java.lang.Object typeKey)
|
java.util.List |
getRowGapStyles()
|
Style |
getRowGlueStyle()
|
protected void |
initBorderTypes()
|
protected void |
initColumnTypes()
|
protected void |
initRowTypes()
|
boolean |
isConfigurableBorderStyle(java.lang.Object typeKey)
|
boolean |
isConfigurableColumnStyle(java.lang.Object typeKey)
|
boolean |
isConfigurableRowStyle(java.lang.Object typeKey)
|
void |
removeBorderStyle(java.lang.Object typeKey)
|
void |
removeColumnContentStyle(java.lang.Object typeKey)
|
void |
removeColumnGapStyle(java.lang.Object typeKey)
|
void |
removeRowContentStyle(java.lang.Object typeKey)
|
void |
removeRowGapStyle(java.lang.Object typeKey)
|
void |
renameBorderStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
|
void |
renameColumnContentStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
|
void |
renameColumnGapStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
|
void |
renameRowContentStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
|
void |
renameRowGapStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGoodiesStyleMap
public JGoodiesStyleMap()
getRowContentStyles
public java.util.List getRowContentStyles()
- Specified by:
getRowContentStyles
in interface StyleMap
getRowGapStyles
public java.util.List getRowGapStyles()
- Specified by:
getRowGapStyles
in interface StyleMap
getRowGlueStyle
public Style getRowGlueStyle()
- Specified by:
getRowGlueStyle
in interface StyleMap
getColumnContentStyles
public java.util.List getColumnContentStyles()
- Specified by:
getColumnContentStyles
in interface StyleMap
getColumnGapStyles
public java.util.List getColumnGapStyles()
- Specified by:
getColumnGapStyles
in interface StyleMap
getColumnGlueStyle
public Style getColumnGlueStyle()
- Specified by:
getColumnGlueStyle
in interface StyleMap
getBorderStyles
public java.util.List getBorderStyles()
- Specified by:
getBorderStyles
in interface StyleMap
addRowContentStyle
public void addRowContentStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
- Specified by:
addRowContentStyle
in interface StyleMap
addRowGapStyle
public void addRowGapStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
- Specified by:
addRowGapStyle
in interface StyleMap
addColumnContentStyle
public void addColumnContentStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
- Specified by:
addColumnContentStyle
in interface StyleMap
addColumnGapStyle
public void addColumnGapStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
- Specified by:
addColumnGapStyle
in interface StyleMap
addBorderStyle
public void addBorderStyle(java.lang.Object typeKey,
java.lang.String encodedString,
java.lang.String description)
- Specified by:
addBorderStyle
in interface StyleMap
removeRowContentStyle
public void removeRowContentStyle(java.lang.Object typeKey)
- Specified by:
removeRowContentStyle
in interface StyleMap
removeRowGapStyle
public void removeRowGapStyle(java.lang.Object typeKey)
- Specified by:
removeRowGapStyle
in interface StyleMap
removeColumnContentStyle
public void removeColumnContentStyle(java.lang.Object typeKey)
- Specified by:
removeColumnContentStyle
in interface StyleMap
removeColumnGapStyle
public void removeColumnGapStyle(java.lang.Object typeKey)
- Specified by:
removeColumnGapStyle
in interface StyleMap
removeBorderStyle
public void removeBorderStyle(java.lang.Object typeKey)
- Specified by:
removeBorderStyle
in interface StyleMap
renameRowContentStyle
public void renameRowContentStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
- Specified by:
renameRowContentStyle
in interface StyleMap
renameRowGapStyle
public void renameRowGapStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
- Specified by:
renameRowGapStyle
in interface StyleMap
renameColumnContentStyle
public void renameColumnContentStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
- Specified by:
renameColumnContentStyle
in interface StyleMap
renameColumnGapStyle
public void renameColumnGapStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
- Specified by:
renameColumnGapStyle
in interface StyleMap
renameBorderStyle
public void renameBorderStyle(java.lang.Object oldTypeKey,
java.lang.Object newTypeKey)
- Specified by:
renameBorderStyle
in interface StyleMap
getColumnContentStyle
public Style getColumnContentStyle(java.lang.Object typeKey)
- Specified by:
getColumnContentStyle
in interface StyleMap
getColumnGapStyle
public Style getColumnGapStyle(java.lang.Object typeKey)
- Specified by:
getColumnGapStyle
in interface StyleMap
getRowContentStyle
public Style getRowContentStyle(java.lang.Object typeKey)
- Specified by:
getRowContentStyle
in interface StyleMap
getRowGapStyle
public Style getRowGapStyle(java.lang.Object typeKey)
- Specified by:
getRowGapStyle
in interface StyleMap
getBorderStyle
public Style getBorderStyle(java.lang.Object typeKey)
- Specified by:
getBorderStyle
in interface StyleMap
isConfigurableRowStyle
public boolean isConfigurableRowStyle(java.lang.Object typeKey)
- Specified by:
isConfigurableRowStyle
in interface StyleMap
isConfigurableColumnStyle
public boolean isConfigurableColumnStyle(java.lang.Object typeKey)
- Specified by:
isConfigurableColumnStyle
in interface StyleMap
isConfigurableBorderStyle
public boolean isConfigurableBorderStyle(java.lang.Object typeKey)
- Specified by:
isConfigurableBorderStyle
in interface StyleMap
createPersistenceDelegate
public static java.beans.PersistenceDelegate createPersistenceDelegate()
initRowTypes
protected void initRowTypes()
initColumnTypes
protected void initColumnTypes()
initBorderTypes
protected void initBorderTypes()
createRowType
protected de.kleopatra.forms.description.jgoodies.RowStyle createRowType(java.lang.Object type,
RowSpec spec,
java.lang.String description)
createColumnType
protected de.kleopatra.forms.description.jgoodies.ColumnStyle createColumnType(java.lang.Object logicalType,
ColumnSpec spec,
java.lang.String description)
createBorderType
protected de.kleopatra.forms.description.jgoodies.BorderStyle createBorderType(java.lang.Object typeKey,
javax.swing.border.Border border,
java.lang.String description)
createBorderType
protected de.kleopatra.forms.description.jgoodies.BorderStyle createBorderType(java.lang.Object logicalType,
java.lang.String encoding,
java.lang.String description)
getRowContents
protected java.util.List getRowContents()
getRowGaps
protected java.util.List getRowGaps()
getColumnContents
protected java.util.List getColumnContents()
getColumnGaps
protected java.util.List getColumnGaps()
getBorders
protected java.util.List getBorders()
createList
protected java.util.List createList()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.