de.kleopatra.forms.description
Interface Stylable

All Known Subinterfaces:
Column, LayoutBorder, Line, Row
All Known Implementing Classes:
AbstractStylable, JGoodiesBorder, JGoodiesColumn, JGoodiesLine, JGoodiesRow

public interface Stylable

Object that is mutable by Style.

Version:
$Revision: 1.1.1.1 $ - $Date: 2004/05/17 15:03:43 $
Author:
(C) Jeanette Winzenburg, Berlin

Method Summary
 Style getStyle()
          returns the current style.
 java.util.List getStyles()
          Returns a list of all registered styles.
 java.lang.Object getType()
          get/setType for use in (visual) builders.
 java.lang.String getValidEncoding()
          legacy (?)
 void setType(java.lang.Object style)
          A lenient setter for Style.
 

Method Detail

getStyles

public java.util.List getStyles()
Returns a list of all registered styles.

Items of the List are guaranteed to be valid entries in setType.

Returns:

getStyle

public Style getStyle()
returns the current style.

Returns:

getType

public java.lang.Object getType()
get/setType for use in (visual) builders.

actually getType returns getStyle - but for convenient binding the return type has to be the same as the parameter type in the setter.

Returns:

setType

public void setType(java.lang.Object style)
A lenient setter for Style.

It's up the the concrete implemantation to define valid input types and formats. Minimally it must guarantee to accept all objects returned in the getStyles() and the output of getValidEncoding().

Parameters:
style -

getValidEncoding

public java.lang.String getValidEncoding()
legacy (?)

Returns:


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