pl.edu.agh.cast.model.visual
Class DiagramSettings

java.lang.Object
  extended by pl.edu.agh.cast.model.visual.DiagramSettings
All Implemented Interfaces:
java.io.Serializable, IPropertyChangeProvider, IDiagramSettings

public class DiagramSettings
extends java.lang.Object
implements IDiagramSettings

Schema diagram settings.

Author:
awos
See Also:
Serialized Form

Field Summary
static java.lang.String DISPLAY_NAME
           
static java.lang.String LEGEND_SHOWN
           
 
Constructor Summary
DiagramSettings()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Add a property change listener to the object
protected  void firePropertyChange(java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)
           
 java.lang.String getDefaultLayoutManagerClass()
          Get layout manager class.
 java.lang.String getDisplayName()
           
 java.lang.String getEditorId()
           
 boolean isShowLegend()
           
 boolean needsInitialLayout()
           
protected  java.lang.Object readResolve()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Remove a property change listener to the object
 void setDefaultLayoutManagerClass(java.lang.String layoutManagerClass)
          Set layout manager class which model should be opened with by default.
 void setDisplayName(java.lang.String displayName)
           
 void setEditorId(java.lang.String id)
           
 void setNeedsInitialLayout(boolean in)
           
 void setShowLegend(boolean showLegend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEGEND_SHOWN

public static final java.lang.String LEGEND_SHOWN
See Also:
Constant Field Values

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
See Also:
Constant Field Values
Constructor Detail

DiagramSettings

public DiagramSettings()
Method Detail

readResolve

protected java.lang.Object readResolve()

isShowLegend

public boolean isShowLegend()
Specified by:
isShowLegend in interface IDiagramSettings

setShowLegend

public void setShowLegend(boolean showLegend)
Specified by:
setShowLegend in interface IDiagramSettings

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface IDiagramSettings

setDisplayName

public void setDisplayName(java.lang.String displayName)
Specified by:
setDisplayName in interface IDiagramSettings

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Description copied from interface: IPropertyChangeProvider
Add a property change listener to the object

Specified by:
addPropertyChangeListener in interface IPropertyChangeProvider

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Description copied from interface: IPropertyChangeProvider
Remove a property change listener to the object

Specified by:
removePropertyChangeListener in interface IPropertyChangeProvider

firePropertyChange

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

needsInitialLayout

public boolean needsInitialLayout()
Specified by:
needsInitialLayout in interface IDiagramSettings

setNeedsInitialLayout

public void setNeedsInitialLayout(boolean in)
Specified by:
setNeedsInitialLayout in interface IDiagramSettings

setDefaultLayoutManagerClass

public void setDefaultLayoutManagerClass(java.lang.String layoutManagerClass)
Description copied from interface: IDiagramSettings
Set layout manager class which model should be opened with by default.

Specified by:
setDefaultLayoutManagerClass in interface IDiagramSettings

getDefaultLayoutManagerClass

public java.lang.String getDefaultLayoutManagerClass()
Description copied from interface: IDiagramSettings
Get layout manager class.

Specified by:
getDefaultLayoutManagerClass in interface IDiagramSettings
Returns:
LayoutManager class name.

getEditorId

public java.lang.String getEditorId()
Specified by:
getEditorId in interface IDiagramSettings

setEditorId

public void setEditorId(java.lang.String id)
Specified by:
setEditorId in interface IDiagramSettings


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.