de.kleopatra.forms.description
Interface LayoutBorder

All Superinterfaces:
Stylable
All Known Implementing Classes:
JGoodiesBorder

public interface LayoutBorder
extends Stylable

Border description for usage in LayoutDescription.

PENDING: needs cleanup ... encodedString is the property as persisted, type is the hack to get some rudimentary semantic description (provided by the LayoutFactory)

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

Field Summary
static java.lang.Object BUTTON_BAR_GAP
           
static java.lang.Object CUSTOM
           
static java.lang.Object DIALOG
           
static java.lang.Object DLU14
           
static java.lang.Object DLU2
           
static java.lang.Object NO_BORDER
           
static java.lang.Object[] PREDEFINED_TYPES
           
static java.lang.Object TABBED_DIALOG
           
 
Method Summary
 java.util.List getStyles()
          Returns a list of all registered styles.
 java.lang.Object getType()
          get/setType for use in (visual) builders.
 boolean isEnabled()
           
 void setType(java.lang.Object type)
          A lenient setter for Style.
 
Methods inherited from interface de.kleopatra.forms.description.Stylable
getStyle, getValidEncoding
 

Field Detail

NO_BORDER

public static final java.lang.Object NO_BORDER

DIALOG

public static final java.lang.Object DIALOG

TABBED_DIALOG

public static final java.lang.Object TABBED_DIALOG

BUTTON_BAR_GAP

public static final java.lang.Object BUTTON_BAR_GAP

DLU2

public static final java.lang.Object DLU2

DLU14

public static final java.lang.Object DLU14

CUSTOM

public static final java.lang.Object CUSTOM

PREDEFINED_TYPES

public static final java.lang.Object[] PREDEFINED_TYPES
Method Detail

getStyles

public java.util.List getStyles()
Description copied from interface: Stylable
Returns a list of all registered styles.

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

Specified by:
getStyles in interface Stylable
Returns:

setType

public void setType(java.lang.Object type)
Description copied from interface: Stylable
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().

Specified by:
setType in interface Stylable
Parameters:
type -

getType

public java.lang.Object getType()
Description copied from interface: Stylable
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.

Specified by:
getType in interface Stylable
Returns:

isEnabled

public boolean isEnabled()


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