treebolic.model
Class Settings

java.lang.Object
  extended by treebolic.model.Settings

public class Settings
extends java.lang.Object

Settings

Author:
Bernard Bou

Field Summary
 java.awt.Color theBackColor
          Background color
 java.lang.String theBackgroundImage
          Default background image
 java.lang.String theDefaultEdgeImage
          Default edge image
 java.lang.String theDefaultNodeImage
          Default node image
 java.lang.String theDefaultTreeEdgeImage
          Tree edge default image
 java.awt.Color theEdgeColor
          Edge default color
 java.lang.Integer theEdgeStyle
          Edge default style
 java.lang.Double theExpansion
          Expansion
 java.lang.String theFocus
          Focus
 java.lang.Boolean theFocusOnHoverFlag
          Whether hovering on node triggers gaining focus
 java.lang.String theFontFace
          Font face
 java.lang.Integer theFontSize
          Font size
 java.lang.Integer theFontSizeStep
          Font size decrement step
 java.awt.Color theForeColor
          Foreground color
 java.lang.Boolean theHasPopUpMenuFlag
          Whether popup menus are enabled
 java.lang.Boolean theHasStatusbarFlag
          Whether status bar is enabled
 java.lang.Boolean theHasToolbarFlag
          Whether toolbar is enabled
 java.lang.Boolean theHasToolTipFlag
          Whether tooltips are enabled
 java.lang.Boolean theHyperbolicEdgesFlag
          Whether edges are represented in a hyperbolic fashion
 java.util.List<MenuItem> theMenu
          Menu
 java.awt.Color theNodeBackColor
          Node default background color
 java.awt.Color theNodeForeColor
          Node default foreground color
 java.lang.String theOrientation
          Tree orientation
 java.lang.Boolean thePreserveOrientationFlag
          Whether orientation is preserved across transforms
 java.lang.Double theSweep
          Sweep
 java.lang.Boolean theToolTipDisplaysContentFlag
          Whether tooltips display contents
 java.awt.Color theTreeEdgeColor
          Tree edge default color
 java.lang.Integer theTreeEdgeStyle
          Tree edge default style
 java.lang.Double theXMoveTo
          Initial move to x position (0,1)
 java.lang.Double theXShift
          Painting shift on x
 java.lang.Double theYMoveTo
          Initial move to y position (0,1)
 java.lang.Double theYShift
          Painting shift on y
 
Constructor Summary
Settings()
          Constructor
 
Method Summary
 void load(java.util.Properties theseProperties)
          Load settings from properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theBackColor

public java.awt.Color theBackColor
Background color


theForeColor

public java.awt.Color theForeColor
Foreground color


theBackgroundImage

public java.lang.String theBackgroundImage
Default background image


theFontFace

public java.lang.String theFontFace
Font face


theFontSize

public java.lang.Integer theFontSize
Font size


theFontSizeStep

public java.lang.Integer theFontSizeStep
Font size decrement step


theOrientation

public java.lang.String theOrientation
Tree orientation


theExpansion

public java.lang.Double theExpansion
Expansion


theSweep

public java.lang.Double theSweep
Sweep


thePreserveOrientationFlag

public java.lang.Boolean thePreserveOrientationFlag
Whether orientation is preserved across transforms


theHyperbolicEdgesFlag

public java.lang.Boolean theHyperbolicEdgesFlag
Whether edges are represented in a hyperbolic fashion


theHasToolbarFlag

public java.lang.Boolean theHasToolbarFlag
Whether toolbar is enabled


theHasStatusbarFlag

public java.lang.Boolean theHasStatusbarFlag
Whether status bar is enabled


theHasPopUpMenuFlag

public java.lang.Boolean theHasPopUpMenuFlag
Whether popup menus are enabled


theHasToolTipFlag

public java.lang.Boolean theHasToolTipFlag
Whether tooltips are enabled


theToolTipDisplaysContentFlag

public java.lang.Boolean theToolTipDisplaysContentFlag
Whether tooltips display contents


theFocusOnHoverFlag

public java.lang.Boolean theFocusOnHoverFlag
Whether hovering on node triggers gaining focus


theFocus

public java.lang.String theFocus
Focus


theXMoveTo

public java.lang.Double theXMoveTo
Initial move to x position (0,1)


theYMoveTo

public java.lang.Double theYMoveTo
Initial move to y position (0,1)


theXShift

public java.lang.Double theXShift
Painting shift on x


theYShift

public java.lang.Double theYShift
Painting shift on y


theNodeBackColor

public java.awt.Color theNodeBackColor
Node default background color


theNodeForeColor

public java.awt.Color theNodeForeColor
Node default foreground color


theDefaultNodeImage

public java.lang.String theDefaultNodeImage
Default node image


theTreeEdgeColor

public java.awt.Color theTreeEdgeColor
Tree edge default color


theTreeEdgeStyle

public java.lang.Integer theTreeEdgeStyle
Tree edge default style


theDefaultTreeEdgeImage

public java.lang.String theDefaultTreeEdgeImage
Tree edge default image


theEdgeColor

public java.awt.Color theEdgeColor
Edge default color


theEdgeStyle

public java.lang.Integer theEdgeStyle
Edge default style


theDefaultEdgeImage

public java.lang.String theDefaultEdgeImage
Default edge image


theMenu

public java.util.List<MenuItem> theMenu
Menu

Constructor Detail

Settings

public Settings()
Constructor

Method Detail

load

public void load(java.util.Properties theseProperties)
          throws java.lang.Exception
Load settings from properties

Parameters:
theseProperties - properties
Throws:
java.lang.Exception