|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.model.visual.backward.DiagramSettings
public class DiagramSettings
Schema diagram settings.
Field Summary | |
---|---|
static String |
DISPLAY_NAME
Name of the Diagram display name changed event. |
static String |
LEGEND_SHOWN
Name of the Show diagram legend changed event. |
Constructor Summary | |
---|---|
DiagramSettings()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener to the object. |
protected void |
firePropertyChange(String property,
Object oldValue,
Object newValue)
Notifies about property change. |
String |
getDefaultLayoutManagerClass()
Gets the qualified name of diagram's layout manager class. |
String |
getDisplayName()
Returns diagram display name. |
String |
getEditorId()
Returns the id of editor this diagram is displayed in. |
boolean |
isShowLegend()
Whether the diagram legend should be displayed. |
boolean |
needsInitialLayout()
Whether the diagram needs to be initial laid out. |
protected Object |
readResolve()
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener to the object. |
void |
setDefaultLayoutManagerClass(String layoutManagerClass)
Sets layout manager class which model should be opened with by default. |
void |
setDisplayName(String displayName)
Sets diagram display name. |
void |
setEditorId(String id)
Sets the id of editor this diagram is displayed in. |
void |
setNeedsInitialLayout(boolean in)
Sets the flag indicating whether the diagram needs to be initial laid out. |
void |
setShowLegend(boolean showLegend)
Sets the flag indicating whether diagram legend should be displayed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LEGEND_SHOWN
public static final String DISPLAY_NAME
Constructor Detail |
---|
public DiagramSettings()
Method Detail |
---|
protected Object readResolve()
public boolean isShowLegend()
IDiagramSettings
isShowLegend
in interface IDiagramSettings
true
if diagram legend should be displayedpublic void setShowLegend(boolean showLegend)
setShowLegend
in interface IDiagramSettings
showLegend
- flag indicating whether diagram legend should be displayedIDiagramSettings.setShowLegend(boolean)
public String getDisplayName()
getDisplayName
in interface IDiagramSettings
IDiagramSettings.getDisplayName()
public void setDisplayName(String displayName)
setDisplayName
in interface IDiagramSettings
displayName
- diagram display name.IDiagramSettings.setDisplayName(java.lang.String)
public boolean needsInitialLayout()
needsInitialLayout
in interface IDiagramSettings
true
if diagram needs to be initial laid outIDiagramSettings.needsInitialLayout()
public void setNeedsInitialLayout(boolean in)
setNeedsInitialLayout
in interface IDiagramSettings
in
- flag indicating whether the diagram needs to be initial laid outIDiagramSettings.setNeedsInitialLayout(boolean)
public void setDefaultLayoutManagerClass(String layoutManagerClass)
setDefaultLayoutManagerClass
in interface IDiagramSettings
layoutManagerClass
- LayoutManager
class nameIDiagramSettings.setDefaultLayoutManagerClass(java.lang.String)
public String getDefaultLayoutManagerClass()
getDefaultLayoutManagerClass
in interface IDiagramSettings
LayoutManager
class nameIDiagramSettings.getDefaultLayoutManagerClass()
public String getEditorId()
getEditorId
in interface IDiagramSettings
IDiagramSettings.getEditorId()
public void setEditorId(String id)
setEditorId
in interface IDiagramSettings
id
- the id of editor this diagram is displayed inIDiagramSettings.setEditorId(java.lang.String)
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in interface IPropertyChangeProvider
l
- property change listenerIPropertyChangeProvider.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in interface IPropertyChangeProvider
l
- property change listener#removePropertyChangeListener(java.beans.PropertyChangeListener)
protected void firePropertyChange(String property, Object oldValue, Object newValue)
property
- name of the propertyoldValue
- old value of the propertynewValue
- new value of the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |