pl.edu.agh.cast.model.visual.backward
Interface IDiagramSettings

All Superinterfaces:
IPropertyChangeProvider, Serializable
All Known Implementing Classes:
DiagramSettings

public interface IDiagramSettings
extends Serializable, IPropertyChangeProvider

Diagram settings.

Author:
AGH CAST Team

Method Summary
 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.
 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 interface pl.edu.agh.cast.data.model.property.IPropertyChangeProvider
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

isShowLegend

boolean isShowLegend()
Whether the diagram legend should be displayed.

Returns:
true if diagram legend should be displayed

setShowLegend

void setShowLegend(boolean showLegend)
Sets the flag indicating whether diagram legend should be displayed.

Parameters:
showLegend - flag indicating whether diagram legend should be displayed

getDisplayName

String getDisplayName()
Returns diagram display name.

Returns:
diagram display name

setDisplayName

void setDisplayName(String displayName)
Sets diagram display name.

Parameters:
displayName - diagram display name.

needsInitialLayout

boolean needsInitialLayout()
Whether the diagram needs to be initial laid out.

Returns:
true if diagram needs to be initial laid out

setNeedsInitialLayout

void setNeedsInitialLayout(boolean in)
Sets the flag indicating whether the diagram needs to be initial laid out.

Parameters:
in - flag indicating whether the diagram needs to be initial laid out

getEditorId

String getEditorId()
Returns the id of editor this diagram is displayed in.

Returns:
the id of editor this diagram is displayed in

setEditorId

void setEditorId(String id)
Sets the id of editor this diagram is displayed in.

Parameters:
id - the id of editor this diagram is displayed in

getDefaultLayoutManagerClass

String getDefaultLayoutManagerClass()
Gets the qualified name of diagram's layout manager class.

Returns:
LayoutManager class name

setDefaultLayoutManagerClass

void setDefaultLayoutManagerClass(String layoutManagerClass)
Sets layout manager class which model should be opened with by default.

Parameters:
layoutManagerClass - LayoutManager class name


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.