de.kleopatra.forms.description.jgoodies
Class JGoodiesBorder

java.lang.Object
  extended byde.kleopatra.forms.description.jgoodies.AbstractStylable
      extended byde.kleopatra.forms.description.jgoodies.JGoodiesBorder
All Implemented Interfaces:
LayoutBorder, Stylable

public final class JGoodiesBorder
extends AbstractStylable
implements LayoutBorder

Implementation of LayoutBorder for JGoodies Forms.

NOTE: this class is public and has public constructors as an implementation side-effect, only. Don't instantiate/access dirctly from code.

Version:
$Revision: 1.1.1.1 $ - $Date: 2004/06/04 10:03:48 $
Author:
(C) Jeanette Winzenburg, Berlin

Field Summary
 
Fields inherited from class de.kleopatra.forms.description.jgoodies.AbstractStylable
styleDelegate
 
Fields inherited from interface de.kleopatra.forms.description.LayoutBorder
BUTTON_BAR_GAP, CUSTOM, DIALOG, DLU14, DLU2, NO_BORDER, PREDEFINED_TYPES, TABBED_DIALOG
 
Constructor Summary
JGoodiesBorder()
           
JGoodiesBorder(de.kleopatra.forms.description.jgoodies.BorderStyle logicalType)
           
 
Method Summary
protected  boolean checkStyle(java.lang.Object style)
           
protected  java.lang.Object createComparable(java.lang.String encoded)
           
protected  Style createCustomStyle(java.lang.String encodedString)
           
protected  Style createStyle(Style current, java.lang.Object newTypeKey)
           
protected  Style getDefaultStyle()
           
 Borders.EmptyBorder getEmptyBorder()
           
 java.util.List getStyles()
          Returns a list of all registered styles.
 boolean isEnabled()
           
protected  boolean isPredefinedStyle(java.lang.Object typeKey)
           
 
Methods inherited from class de.kleopatra.forms.description.jgoodies.AbstractStylable
createPersistenceDelegate, createStyle, findStyleByEncoding, findStyleByKey, getDescription, getEncodedString, getLogicalType, getStyle, getType, getValidEncoding, setEncodedString, setLogicalType, setStyle, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.kleopatra.forms.description.LayoutBorder
getType, setType
 
Methods inherited from interface de.kleopatra.forms.description.Stylable
getStyle, getValidEncoding
 

Constructor Detail

JGoodiesBorder

public JGoodiesBorder()

JGoodiesBorder

public JGoodiesBorder(de.kleopatra.forms.description.jgoodies.BorderStyle logicalType)
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 LayoutBorder

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface LayoutBorder

getEmptyBorder

public Borders.EmptyBorder getEmptyBorder()

isPredefinedStyle

protected boolean isPredefinedStyle(java.lang.Object typeKey)
Specified by:
isPredefinedStyle in class AbstractStylable

createCustomStyle

protected Style createCustomStyle(java.lang.String encodedString)
Specified by:
createCustomStyle in class AbstractStylable

createStyle

protected Style createStyle(Style current,
                            java.lang.Object newTypeKey)
Specified by:
createStyle in class AbstractStylable

getDefaultStyle

protected Style getDefaultStyle()
Specified by:
getDefaultStyle in class AbstractStylable

checkStyle

protected boolean checkStyle(java.lang.Object style)
Specified by:
checkStyle in class AbstractStylable

createComparable

protected java.lang.Object createComparable(java.lang.String encoded)
Specified by:
createComparable in class AbstractStylable


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