de.kleopatra.forms.description
Interface StyleMap

All Known Implementing Classes:
JGoodiesStyleMap

public interface StyleMap

Handler (Factory?) that keeps track of available Styles.

It guarantees to create and return Styles that can be set to Stylables of the same context. A Style as such is immutable but can be modified by adding/removing/renaming in the StyleMap if the map marks it as configurable.

Implementations should make it impossible to modify the default types (as given by the Forms LayoutStyle/FormFactory, f.i.). If clients want to change the base types they need to provide a custom LayoutStyle.

Known issues:

NOTE: this api is unstable ... need some experience about what's really needed.

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 encoding, 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)
           
 Style getBorderStyle(java.lang.Object typeKey)
           
 java.util.List getBorderStyles()
           
 Style getColumnContentStyle(java.lang.Object typeKey)
           
 java.util.List getColumnContentStyles()
           
 Style getColumnGapStyle(java.lang.Object typeKey)
           
 java.util.List getColumnGapStyles()
           
 Style getColumnGlueStyle()
           
 Style getRowContentStyle(java.lang.Object typeKey)
           
 java.util.List getRowContentStyles()
           
 Style getRowGapStyle(java.lang.Object typeKey)
           
 java.util.List getRowGapStyles()
           
 Style getRowGlueStyle()
           
 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)
           
 

Method Detail

getRowContentStyles

public java.util.List getRowContentStyles()

getRowGapStyles

public java.util.List getRowGapStyles()

getRowGlueStyle

public Style getRowGlueStyle()

getColumnContentStyles

public java.util.List getColumnContentStyles()

getColumnGapStyles

public java.util.List getColumnGapStyles()

getColumnGlueStyle

public Style getColumnGlueStyle()

getBorderStyles

public java.util.List getBorderStyles()

getColumnContentStyle

public Style getColumnContentStyle(java.lang.Object typeKey)

getColumnGapStyle

public Style getColumnGapStyle(java.lang.Object typeKey)

getRowContentStyle

public Style getRowContentStyle(java.lang.Object typeKey)

getRowGapStyle

public Style getRowGapStyle(java.lang.Object typeKey)

getBorderStyle

public Style getBorderStyle(java.lang.Object typeKey)

isConfigurableRowStyle

public boolean isConfigurableRowStyle(java.lang.Object typeKey)

isConfigurableColumnStyle

public boolean isConfigurableColumnStyle(java.lang.Object typeKey)

isConfigurableBorderStyle

public boolean isConfigurableBorderStyle(java.lang.Object typeKey)

renameColumnContentStyle

public void renameColumnContentStyle(java.lang.Object oldTypeKey,
                                     java.lang.Object newTypeKey)

renameColumnGapStyle

public void renameColumnGapStyle(java.lang.Object oldTypeKey,
                                 java.lang.Object newTypeKey)

renameBorderStyle

public void renameBorderStyle(java.lang.Object oldTypeKey,
                              java.lang.Object newTypeKey)

renameRowContentStyle

public void renameRowContentStyle(java.lang.Object oldTypeKey,
                                  java.lang.Object newTypeKey)

renameRowGapStyle

public void renameRowGapStyle(java.lang.Object oldTypeKey,
                              java.lang.Object newTypeKey)

addRowContentStyle

public void addRowContentStyle(java.lang.Object typeKey,
                               java.lang.String encodedString,
                               java.lang.String description)

addRowGapStyle

public void addRowGapStyle(java.lang.Object typeKey,
                           java.lang.String encodedString,
                           java.lang.String description)

addColumnContentStyle

public void addColumnContentStyle(java.lang.Object typeKey,
                                  java.lang.String encodedString,
                                  java.lang.String description)

addColumnGapStyle

public void addColumnGapStyle(java.lang.Object typeKey,
                              java.lang.String encodedString,
                              java.lang.String description)

addBorderStyle

public void addBorderStyle(java.lang.Object typeKey,
                           java.lang.String encoding,
                           java.lang.String description)

removeRowContentStyle

public void removeRowContentStyle(java.lang.Object typeKey)

removeRowGapStyle

public void removeRowGapStyle(java.lang.Object typeKey)

removeColumnContentStyle

public void removeColumnContentStyle(java.lang.Object typeKey)

removeColumnGapStyle

public void removeColumnGapStyle(java.lang.Object typeKey)

removeBorderStyle

public void removeBorderStyle(java.lang.Object typeKey)


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.