de.kleopatra.forms.description.jgoodies
Class JGoodiesLine

java.lang.Object
  extended byde.kleopatra.forms.description.jgoodies.AbstractStylable
      extended byde.kleopatra.forms.description.jgoodies.JGoodiesLine
All Implemented Interfaces:
Line, Stylable
Direct Known Subclasses:
JGoodiesColumn, JGoodiesRow

public abstract class JGoodiesLine
extends AbstractStylable
implements Line

Wrapper of FormSpec as Line.

Version:
$Revision: 1.2 $ $Date: 2004/09/30 10:18:21 $
Author:
(C) 2003 Jeanette Winzenburg, Berlin

Field Summary
protected  java.lang.String DEL
           
protected  java.lang.Object groupID
           
 
Fields inherited from class de.kleopatra.forms.description.jgoodies.AbstractStylable
styleDelegate
 
Fields inherited from interface de.kleopatra.forms.description.Line
CUSTOM, DEFAULT_CONTENT, GLUE, MIN_CONTENT, PREF_CONTENT, RELATED_GAP, UNRELATED_GAP
 
Constructor Summary
JGoodiesLine()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
protected  void firePropertyChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
           
protected abstract  java.util.List getContentTypes()
           
protected abstract  java.util.List getGapTypes()
           
protected abstract  java.lang.Object getGlueType()
           
 java.lang.Object getGroupID()
          id of the line group.
protected  java.lang.String getGroupString()
           
protected  de.kleopatra.forms.description.jgoodies.LineStyle getLineType()
           
protected  java.lang.String getLongGroupString()
           
 java.lang.String getMediumDescription()
          hmmm.. needed in LineRenderer...
 int getPixelSize(java.awt.Component comp)
          helping the builder to set some size in a screen representation.
 java.util.List getStyles()
          Returns a list of all registered styles.
 boolean isConstant()
           
 boolean isGap()
           
 boolean isGlue()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void setGroupID(java.lang.Object groupID)
           
protected  void setStyle(Style style)
          pre: checkStyle.
 java.lang.String toString()
           
 
Methods inherited from class de.kleopatra.forms.description.jgoodies.AbstractStylable
checkStyle, createComparable, createCustomStyle, createPersistenceDelegate, createStyle, createStyle, findStyleByEncoding, findStyleByKey, getDefaultStyle, getDescription, getEncodedString, getLogicalType, getStyle, getType, getValidEncoding, isPredefinedStyle, setEncodedString, setLogicalType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.kleopatra.forms.description.Stylable
getStyle, getType, getValidEncoding, setType
 

Field Detail

DEL

protected final java.lang.String DEL
See Also:
Constant Field Values

groupID

protected java.lang.Object groupID
Constructor Detail

JGoodiesLine

public JGoodiesLine()
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:

getGroupID

public java.lang.Object getGroupID()
Description copied from interface: Line
id of the line group.

Specified by:
getGroupID in interface Line

setGroupID

public void setGroupID(java.lang.Object groupID)
Specified by:
setGroupID in interface Line

isConstant

public boolean isConstant()

getPixelSize

public int getPixelSize(java.awt.Component comp)
Description copied from interface: Line
helping the builder to set some size in a screen representation.

PENDING: should not be here.

Specified by:
getPixelSize in interface Line

isGlue

public boolean isGlue()
Specified by:
isGlue in interface Line

isGap

public boolean isGap()
Specified by:
isGap in interface Line

getMediumDescription

public java.lang.String getMediumDescription()
Description copied from interface: Line
hmmm.. needed in LineRenderer...

Specified by:
getMediumDescription in interface Line

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Specified by:
addPropertyChangeListener in interface Line

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Specified by:
removePropertyChangeListener in interface Line

toString

public java.lang.String toString()

firePropertyChange

protected void firePropertyChange(java.lang.String name,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)

getContentTypes

protected abstract java.util.List getContentTypes()

getGapTypes

protected abstract java.util.List getGapTypes()

getGlueType

protected abstract java.lang.Object getGlueType()

setStyle

protected void setStyle(Style style)
Description copied from class: AbstractStylable
pre: checkStyle.

Overrides:
setStyle in class AbstractStylable

getLineType

protected de.kleopatra.forms.description.jgoodies.LineStyle getLineType()

getGroupString

protected java.lang.String getGroupString()

getLongGroupString

protected java.lang.String getLongGroupString()


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