TWE 2.3-2 API

org.enhydra.jawe.components.graph
Class GraphSettings

java.lang.Object
  extended byorg.enhydra.jawe.JaWEComponentSettings
      extended byorg.enhydra.jawe.components.graph.GraphSettings
All Implemented Interfaces:
Settings

public class GraphSettings
extends JaWEComponentSettings

Author:
Miroslav Popov

Field Summary
static java.awt.Stroke DEPARTMENT_STROKE
           
static int DOWN
           
static int LEFT
           
static int RIGHT
           
static int UP
           
 
Fields inherited from class org.enhydra.jawe.JaWEComponentSettings
arm, componentAction, componentSettings, PROPERTYFILE_NAME, PROPERTYFILE_PATH, propertyMgr
 
Constructor Summary
GraphSettings()
           
 
Method Summary
 int getActivityHeight()
           
 javax.swing.ImageIcon getActivitySetSelectIcon()
           
 int getActivityWidth()
           
 java.awt.Color getBackgroundColor()
           
 java.awt.Color getBubbleColor()
           
 java.awt.Color getBubbleConectionColor()
           
 javax.swing.ImageIcon getBubbleEndIcon()
           
 javax.swing.ImageIcon getBubbleStartIcon()
           
 javax.swing.ImageIcon getCommonExpresionParticipantIcon()
           
 javax.swing.ImageIcon getDefaultActivityIcon()
           
 java.lang.String getDefaultTransitionStyle()
           
 java.awt.Color getEndActivityColor()
           
 javax.swing.ImageIcon getFreeTextParticipantIcon()
           
 java.lang.String getGraphClass()
           
 int getGraphFontSize()
           
 java.lang.String getGraphManager()
           
 java.lang.String getGraphMarqueeHandler()
           
 java.lang.String getGraphModelClass()
           
 java.lang.String getGraphObjectFactory()
           
 java.lang.String getGraphObjectRendererFactory()
           
 java.awt.Color getGridColor()
           
 int getGridSize()
           
 java.awt.Color getHandleColor()
           
 java.awt.Color getMarqueeColor()
           
 java.lang.String getMenuActionOrder(java.lang.String menuName)
           
 int getMinParHeight()
           
 int getMinParWidth()
           
 java.awt.Color getParticipantBorderColor()
           
 java.awt.Color getParticipantCommonExpressionColor()
           
 java.awt.Color getParticipantFreeTextExpressionColor()
           
 int getParticipantNameWidth()
           
 javax.swing.ImageIcon getParticipantsIcon()
           
 java.awt.Color getSelectedActivityColor()
           
 javax.swing.ImageIcon getSelectionIcon()
           
 int getShadowWidth()
           
 java.awt.Color getStartActivityColor()
           
 java.awt.Color getStartEndActivityColor()
           
 java.awt.Color getTextColor()
           
 int getTextPos()
           
 java.lang.String getToolbarActionOrder(java.lang.String toolbarName)
           
 java.lang.String historyManagerClass()
           
 int historySize()
           
 void init(JaWEComponent comp)
           
 boolean isNameWrappingEnabled()
           
 boolean isShadowEnabled()
           
 boolean isWordWrappingEnabled()
           
 void loadDefault(JaWEComponent comp, java.util.Properties properties)
           
protected  void loadDefaultMenusToolbarsAndActions(JaWEComponent comp)
           
 java.lang.String overviewClass()
           
 boolean performAutomaticLayoutOnInsertion()
           
 boolean shouldDrawBlockLines()
           
 boolean shouldDrawSubflowLines()
           
 boolean shouldShowGraphOverview()
           
 boolean shouldShowGrid()
           
 boolean shouldShowIcons()
           
 boolean shouldShowTransitionCondition()
           
 boolean shouldShowTransitionNameForCondition()
           
 boolean shouldUseBubbles()
           
 boolean useActivitySetChoiceButton()
           
 boolean useParticipantChoiceButton()
           
 
Methods inherited from class org.enhydra.jawe.JaWEComponentSettings
addAction, addSetting, adjustActions, changeActionState, clear, getAction, getActions, getLanguageDependentString, getMainMenuActionOrder, getPropertyMgr, getSetting, getSettingBoolean, getSettingDouble, getSettingInt, getSettingString, manageProperties, setPropertyMgr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPARTMENT_STROKE

public static final java.awt.Stroke DEPARTMENT_STROKE

UP

public static final int UP
See Also:
Constant Field Values

DOWN

public static final int DOWN
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values
Constructor Detail

GraphSettings

public GraphSettings()
Method Detail

init

public void init(JaWEComponent comp)
Overrides:
init in class JaWEComponentSettings

loadDefault

public void loadDefault(JaWEComponent comp,
                        java.util.Properties properties)
Specified by:
loadDefault in class JaWEComponentSettings

loadDefaultMenusToolbarsAndActions

protected void loadDefaultMenusToolbarsAndActions(JaWEComponent comp)

getMenuActionOrder

public java.lang.String getMenuActionOrder(java.lang.String menuName)
Overrides:
getMenuActionOrder in class JaWEComponentSettings

getToolbarActionOrder

public java.lang.String getToolbarActionOrder(java.lang.String toolbarName)
Overrides:
getToolbarActionOrder in class JaWEComponentSettings

shouldDrawBlockLines

public boolean shouldDrawBlockLines()

shouldDrawSubflowLines

public boolean shouldDrawSubflowLines()

isNameWrappingEnabled

public boolean isNameWrappingEnabled()

isWordWrappingEnabled

public boolean isWordWrappingEnabled()

shouldShowGrid

public boolean shouldShowGrid()

shouldShowIcons

public boolean shouldShowIcons()

isShadowEnabled

public boolean isShadowEnabled()

shouldShowTransitionCondition

public boolean shouldShowTransitionCondition()

shouldShowTransitionNameForCondition

public boolean shouldShowTransitionNameForCondition()

shouldUseBubbles

public boolean shouldUseBubbles()

useParticipantChoiceButton

public boolean useParticipantChoiceButton()

useActivitySetChoiceButton

public boolean useActivitySetChoiceButton()

shouldShowGraphOverview

public boolean shouldShowGraphOverview()

getGraphObjectFactory

public java.lang.String getGraphObjectFactory()

getGraphObjectRendererFactory

public java.lang.String getGraphObjectRendererFactory()

getGraphMarqueeHandler

public java.lang.String getGraphMarqueeHandler()

getGraphClass

public java.lang.String getGraphClass()

getGraphModelClass

public java.lang.String getGraphModelClass()

getGraphManager

public java.lang.String getGraphManager()

getDefaultTransitionStyle

public java.lang.String getDefaultTransitionStyle()

getDefaultActivityIcon

public javax.swing.ImageIcon getDefaultActivityIcon()

getBubbleStartIcon

public javax.swing.ImageIcon getBubbleStartIcon()

getBubbleEndIcon

public javax.swing.ImageIcon getBubbleEndIcon()

getFreeTextParticipantIcon

public javax.swing.ImageIcon getFreeTextParticipantIcon()

getCommonExpresionParticipantIcon

public javax.swing.ImageIcon getCommonExpresionParticipantIcon()

getParticipantsIcon

public javax.swing.ImageIcon getParticipantsIcon()

getActivitySetSelectIcon

public javax.swing.ImageIcon getActivitySetSelectIcon()

getSelectionIcon

public javax.swing.ImageIcon getSelectionIcon()

getGridSize

public int getGridSize()

getShadowWidth

public int getShadowWidth()

getTextPos

public int getTextPos()

getGraphFontSize

public int getGraphFontSize()

getActivityHeight

public int getActivityHeight()

getActivityWidth

public int getActivityWidth()

getMinParWidth

public int getMinParWidth()

getMinParHeight

public int getMinParHeight()

getParticipantNameWidth

public int getParticipantNameWidth()

getBubbleColor

public java.awt.Color getBubbleColor()

getBubbleConectionColor

public java.awt.Color getBubbleConectionColor()

getSelectedActivityColor

public java.awt.Color getSelectedActivityColor()

getStartActivityColor

public java.awt.Color getStartActivityColor()

getEndActivityColor

public java.awt.Color getEndActivityColor()

getStartEndActivityColor

public java.awt.Color getStartEndActivityColor()

getBackgroundColor

public java.awt.Color getBackgroundColor()

getGridColor

public java.awt.Color getGridColor()

getTextColor

public java.awt.Color getTextColor()

getParticipantBorderColor

public java.awt.Color getParticipantBorderColor()

getParticipantFreeTextExpressionColor

public java.awt.Color getParticipantFreeTextExpressionColor()

getParticipantCommonExpressionColor

public java.awt.Color getParticipantCommonExpressionColor()

getHandleColor

public java.awt.Color getHandleColor()

getMarqueeColor

public java.awt.Color getMarqueeColor()

historyManagerClass

public java.lang.String historyManagerClass()

historySize

public int historySize()

overviewClass

public java.lang.String overviewClass()

performAutomaticLayoutOnInsertion

public boolean performAutomaticLayoutOnInsertion()

TWE 2.3-2 API