org.jgraph.layout
Class GEMLayoutSettings
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.jgraph.layout.GEMLayoutSettings
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, JGraphLayoutSettings, java.awt.MenuContainer, java.io.Serializable
- public class GEMLayoutSettings
- extends javax.swing.JPanel
- implements JGraphLayoutSettings
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary |
protected void |
action_LoadPreSets(int index)
|
void |
apply()
Apply the current settings to the layout that
created this object. |
protected boolean |
assertDouble(java.lang.String text,
java.lang.String name,
java.util.ArrayList errList)
|
protected boolean |
assertInteger(java.lang.String text,
java.lang.String name,
java.util.ArrayList errList)
|
protected boolean |
assertMinimum(java.lang.String value,
double minValue,
boolean include,
java.lang.String name,
java.util.ArrayList errList)
|
protected boolean |
assertMinimum(java.lang.String value,
int minValue,
boolean include,
java.lang.String name,
java.util.ArrayList errList)
|
protected boolean |
assertRange(java.lang.String value,
double minValue,
double maxValue,
boolean includeMinimum,
boolean includeMaximum,
java.lang.String name,
java.util.ArrayList errList)
|
protected boolean |
assertRange(java.lang.String value,
int minValue,
int maxValue,
boolean includeMinimum,
boolean includeMaximum,
java.lang.String name,
java.util.ArrayList errList)
|
protected void |
check(java.util.ArrayList errList)
Called by pressing the ok button. |
protected javax.swing.JPanel |
getAdditionalForceConfig()
|
protected javax.swing.JPanel |
getAdditionalForceLUConfig()
|
double |
getAlphaOsc()
|
double |
getAlphaRot()
|
boolean |
getAvoidOverlapping()
|
boolean |
getComputePermutation()
|
java.util.Properties |
getConfiguration()
|
boolean |
getEndPerAverage()
|
double |
getGravitation()
|
double |
getInitTemperature()
|
double |
getLayoutUpdateAlphaOsc()
|
double |
getLayoutUpdateAlphaRot()
|
boolean |
getLayoutUpdateAvoidOverlapping()
|
boolean |
getLayoutUpdateClusteringEnabled()
|
double |
getLayoutUpdateClusteringFactor()
|
double |
getLayoutUpdateClusteringForceScalingFactor()
|
double |
getLayoutUpdateClusteringInitTemperature()
|
boolean |
getLayoutUpdateComputePermutation()
|
int |
getLayoutUpdateDepth()
|
boolean |
getLayoutUpdateEnabled()
|
boolean |
getLayoutUpdateEndPerAverage()
|
double |
getLayoutUpdateGravitation()
|
double |
getLayoutUpdateInitTemperature()
|
double |
getLayoutUpdateMaxTemperature()
|
java.lang.String |
getLayoutUpdateMethod()
|
double |
getLayoutUpdateMethodPerimeterInitSize()
|
double |
getLayoutUpdateMethodPerimeterSizeInc()
|
double |
getLayoutUpdateMinTemperature()
|
boolean |
getLayoutUpdateOptimizationAlgorithmEnabled()
|
java.util.Properties |
getLayoutUpdateOptimizationConfiguration()
|
double |
getLayoutUpdateOverlapDetectionWidth()
|
double |
getLayoutUpdateOverlapPreferredDistance()
|
double |
getLayoutUpdatePreferredEdgeLength()
|
double |
getLayoutUpdateRandomImpulseRange()
|
double |
getLayoutUpdateSigmaOsc()
|
double |
getLayoutUpdateSigmaRot()
|
double |
getMaxTemperature()
|
double |
getMinTemperature()
|
boolean |
getOptimizationAlgorithmEnabled()
|
java.util.Properties |
getOptimizationConfiguration()
|
double |
getOverlapDetectionWidth()
|
double |
getOverlapPreferredDistance()
|
double |
getPreferredEdgeLength()
|
protected java.util.Properties |
getPresetConfig(int index)
|
protected java.util.Properties[] |
getPresetConfigs()
|
double |
getRandomImpulseRange()
|
double |
getSigmaOsc()
|
double |
getSigmaRot()
|
protected boolean |
isTrue(java.lang.String boolValue)
Transforms a string value in a boolean value. |
void |
revert()
(Re)read settings from layout algorithm. |
void |
setAlphaOsc(double alpha)
|
void |
setAlphaRot(double alpha)
|
void |
setAvoidOverlapping(boolean avoid)
|
void |
setComputePermutation(boolean isSelected)
|
void |
setConfiguration(java.util.Properties configuration)
|
void |
setEndPerAverage(boolean isSelected)
|
void |
setGravitation(double grav)
|
void |
setInitTemperature(double temperature)
|
void |
setLayoutUpdateAlphaOsc(double alpha)
|
void |
setLayoutUpdateAlphaRot(double alpha)
|
void |
setLayoutUpdateAvoidOverlapping(boolean avoid)
|
void |
setLayoutUpdateClusteringEnabled(boolean isEnabled)
|
void |
setLayoutUpdateClusteringFactor(double factor)
|
void |
setLayoutUpdateClusteringForceScalingFactor(double factor)
|
void |
setLayoutUpdateClusteringInitTemperature(double temp)
|
void |
setLayoutUpdateComputePermutation(boolean isSelected)
|
void |
setLayoutUpdateDepth(int depth)
|
void |
setLayoutUpdateEnabled(boolean isEnabled)
|
void |
setLayoutUpdateEndPerAverage(boolean computeAverage)
|
void |
setLayoutUpdateGravitation(double grav)
|
void |
setLayoutUpdateInitTemperature(double temperature)
|
void |
setLayoutUpdateMaxTemperature(double temperature)
|
void |
setLayoutUpdateMethod(java.lang.String key)
|
void |
setLayoutUpdateMethodPerimeterInitSize(double size)
|
void |
setLayoutUpdateMethodPerimeterSizeInc(double incValue)
|
void |
setLayoutUpdateMinTemperature(double temperature)
|
void |
setLayoutUpdateOptimizationAlgorithmEnabled(boolean enable)
|
void |
setLayoutUpdateOptimizationConfiguration(java.util.Properties config)
|
void |
setLayoutUpdateOverlapDetectionWidth(double width)
|
void |
setLayoutUpdateOverlapPreferredDistance(double distance)
|
void |
setLayoutUpdatePreferredEdgeLength(double length)
|
void |
setLayoutUpdateRandomImpulseRange(double range)
|
void |
setLayoutUpdateSigmaOsc(double sigma)
|
void |
setLayoutUpdateSigmaRot(double sigma)
|
void |
setMaxTemperature(double temperature)
|
void |
setMinTemperature(double temperature)
|
void |
setOptimizationAlgorithmEnabled(boolean enable)
|
void |
setOptimizationConfiguration(java.util.Properties config)
|
void |
setOverlapDetectionWidth(double width)
|
void |
setOverlapPreferredDistance(double distance)
|
void |
setPreferredEdgeLength(double length)
|
protected void |
setPresetConfigs(java.util.Properties[] preSets)
|
void |
setRandomImpulseRange(double range)
|
void |
setSigmaOsc(double sigma)
|
void |
setSigmaRot(double sigma)
|
protected void |
setToolTipText()
|
protected void |
switchPreferences(int index)
Changes the configuration of the This is one, of the array of
configurations, gained in the constructor or with
setPresetConfigs(Properties[]) . |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEY_TITLE
public static final java.lang.String KEY_TITLE
- See Also:
- Constant Field Values
KEY_CONFIG_NAME
public static final java.lang.String KEY_CONFIG_NAME
- See Also:
- Constant Field Values
KEY_INIT_TEMPERATURE
public static final java.lang.String KEY_INIT_TEMPERATURE
- See Also:
- Constant Field Values
KEY_MIN_TEMPERATURE
public static final java.lang.String KEY_MIN_TEMPERATURE
- See Also:
- Constant Field Values
KEY_MAX_TEMPERATURE
public static final java.lang.String KEY_MAX_TEMPERATURE
- See Also:
- Constant Field Values
KEY_PREF_EDGE_LENGTH
public static final java.lang.String KEY_PREF_EDGE_LENGTH
- See Also:
- Constant Field Values
KEY_GRAVITATION
public static final java.lang.String KEY_GRAVITATION
- See Also:
- Constant Field Values
KEY_RANDOM_IMPULSE_RANGE
public static final java.lang.String KEY_RANDOM_IMPULSE_RANGE
- See Also:
- Constant Field Values
KEY_COMPUTE_PERMUTATION
public static final java.lang.String KEY_COMPUTE_PERMUTATION
- See Also:
- Constant Field Values
KEY_END_CONDITION_AVERAGE
public static final java.lang.String KEY_END_CONDITION_AVERAGE
- See Also:
- Constant Field Values
KEY_AVOID_OVERLAPPING
public static final java.lang.String KEY_AVOID_OVERLAPPING
- See Also:
- Constant Field Values
KEY_OVERLAPPING_DETECTION_WIDTH
public static final java.lang.String KEY_OVERLAPPING_DETECTION_WIDTH
- See Also:
- Constant Field Values
KEY_OVERLAPPING_PREF_DISTANCE
public static final java.lang.String KEY_OVERLAPPING_PREF_DISTANCE
- See Also:
- Constant Field Values
KEY_ALPHA_OSC
public static final java.lang.String KEY_ALPHA_OSC
- See Also:
- Constant Field Values
KEY_ALPHA_ROT
public static final java.lang.String KEY_ALPHA_ROT
- See Also:
- Constant Field Values
KEY_SIGMA_OSC
public static final java.lang.String KEY_SIGMA_OSC
- See Also:
- Constant Field Values
KEY_SIGMA_ROT
public static final java.lang.String KEY_SIGMA_ROT
- See Also:
- Constant Field Values
KEY_OPTIMIZE_ALGORITHM_ENABLED
public static final java.lang.String KEY_OPTIMIZE_ALGORITHM_ENABLED
- See Also:
- Constant Field Values
KEY_OPTIMIZE_ALGORITHM_CONFIG
public static final java.lang.String KEY_OPTIMIZE_ALGORITHM_CONFIG
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_INIT_TEMPERATURE
public static final java.lang.String KEY_LAYOUT_UPDATE_INIT_TEMPERATURE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_MIN_TEMPERATURE
public static final java.lang.String KEY_LAYOUT_UPDATE_MIN_TEMPERATURE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_MAX_TEMPERATURE
public static final java.lang.String KEY_LAYOUT_UPDATE_MAX_TEMPERATURE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_PREF_EDGE_LENGTH
public static final java.lang.String KEY_LAYOUT_UPDATE_PREF_EDGE_LENGTH
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_GRAVITATION
public static final java.lang.String KEY_LAYOUT_UPDATE_GRAVITATION
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_RANDOM_IMPULSE_RANGE
public static final java.lang.String KEY_LAYOUT_UPDATE_RANDOM_IMPULSE_RANGE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_COMPUTE_PERMUTATION
public static final java.lang.String KEY_LAYOUT_UPDATE_COMPUTE_PERMUTATION
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_END_CONDITION_AVERAGE
public static final java.lang.String KEY_LAYOUT_UPDATE_END_CONDITION_AVERAGE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_AVOID_OVERLAPPING
public static final java.lang.String KEY_LAYOUT_UPDATE_AVOID_OVERLAPPING
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_OVERLAPPING_DETECTION_WIDTH
public static final java.lang.String KEY_LAYOUT_UPDATE_OVERLAPPING_DETECTION_WIDTH
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_OVERLAPPING_PREF_DISTANCE
public static final java.lang.String KEY_LAYOUT_UPDATE_OVERLAPPING_PREF_DISTANCE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_ALPHA_ROT
public static final java.lang.String KEY_LAYOUT_UPDATE_ALPHA_ROT
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_ALPHA_OSC
public static final java.lang.String KEY_LAYOUT_UPDATE_ALPHA_OSC
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_SIGMA_ROT
public static final java.lang.String KEY_LAYOUT_UPDATE_SIGMA_ROT
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_SIGMA_OSC
public static final java.lang.String KEY_LAYOUT_UPDATE_SIGMA_OSC
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_ENABLED
public static final java.lang.String KEY_LAYOUT_UPDATE_ENABLED
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_METHOD
public static final java.lang.String KEY_LAYOUT_UPDATE_METHOD
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_OPTIMIZE_ALGORITHM_ENABLED
public static final java.lang.String KEY_LAYOUT_UPDATE_OPTIMIZE_ALGORITHM_ENABLED
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_OPTIMIZE_ALGORITHM_CONFIG
public static final java.lang.String KEY_LAYOUT_UPDATE_OPTIMIZE_ALGORITHM_CONFIG
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_METHOD_NEIGHBORS_ONLY
public static final java.lang.String KEY_LAYOUT_UPDATE_METHOD_NEIGHBORS_ONLY
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_METHOD_PERIMETERS
public static final java.lang.String KEY_LAYOUT_UPDATE_METHOD_PERIMETERS
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_DEPTH
public static final java.lang.String KEY_LAYOUT_UPDATE_DEPTH
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_METHOD_PERIMETER_INIT_SIZE
public static final java.lang.String KEY_LAYOUT_UPDATE_METHOD_PERIMETER_INIT_SIZE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_METHOD_PERIMETER_SIZE_INC
public static final java.lang.String KEY_LAYOUT_UPDATE_METHOD_PERIMETER_SIZE_INC
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_CLUSTERING_ENABLED
public static final java.lang.String KEY_LAYOUT_UPDATE_CLUSTERING_ENABLED
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_CLUSTERING_INIT_TEMPERATURE
public static final java.lang.String KEY_LAYOUT_UPDATE_CLUSTERING_INIT_TEMPERATURE
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_CLUSTERING_FORCE_SCALING_FACTOR
public static final java.lang.String KEY_LAYOUT_UPDATE_CLUSTERING_FORCE_SCALING_FACTOR
- See Also:
- Constant Field Values
KEY_LAYOUT_UPDATE_CLUSTERING_FACTOR
public static final java.lang.String KEY_LAYOUT_UPDATE_CLUSTERING_FACTOR
- See Also:
- Constant Field Values
layout
protected GEMLayoutAlgorithm layout
GEMLayoutSettings
public GEMLayoutSettings(GEMLayoutAlgorithm layout)
- Creates new form GEMLayoutConfigurationDialog
revert
public void revert()
- Description copied from interface:
JGraphLayoutSettings
- (Re)read settings from layout algorithm.
- Specified by:
revert
in interface JGraphLayoutSettings
apply
public void apply()
- Description copied from interface:
JGraphLayoutSettings
- Apply the current settings to the layout that
created this object.
- Specified by:
apply
in interface JGraphLayoutSettings
setConfiguration
public void setConfiguration(java.util.Properties configuration)
getConfiguration
public java.util.Properties getConfiguration()
getPresetConfigs
protected java.util.Properties[] getPresetConfigs()
getPresetConfig
protected java.util.Properties getPresetConfig(int index)
setPresetConfigs
protected void setPresetConfigs(java.util.Properties[] preSets)
switchPreferences
protected void switchPreferences(int index)
- Changes the configuration of the This is one, of the array of
configurations, gained in the constructor or with
setPresetConfigs(Properties[])
. Therfore the index has to be
whithin the bounds of this array.
- Parameters:
index
- Index of the configuration set
isTrue
protected boolean isTrue(java.lang.String boolValue)
- Transforms a string value in a boolean value. The string has be "true" or
"false". Lower or upper case doesn't matter.
- Parameters:
boolValue
- A String, consisting of the word "true" or "false".
- Returns:
- The boolean expression of the string.
check
protected void check(java.util.ArrayList errList)
- Called by pressing the ok button. Checks all Textfields for their value
and produce a list of errors, while checking. If an error has appeared,
an error dialog is displayed, else the configuration dialog disappears.
action_LoadPreSets
protected void action_LoadPreSets(int index)
getAdditionalForceConfig
protected javax.swing.JPanel getAdditionalForceConfig()
getAdditionalForceLUConfig
protected javax.swing.JPanel getAdditionalForceLUConfig()
setToolTipText
protected void setToolTipText()
assertDouble
protected boolean assertDouble(java.lang.String text,
java.lang.String name,
java.util.ArrayList errList)
assertInteger
protected boolean assertInteger(java.lang.String text,
java.lang.String name,
java.util.ArrayList errList)
assertRange
protected boolean assertRange(java.lang.String value,
double minValue,
double maxValue,
boolean includeMinimum,
boolean includeMaximum,
java.lang.String name,
java.util.ArrayList errList)
assertRange
protected boolean assertRange(java.lang.String value,
int minValue,
int maxValue,
boolean includeMinimum,
boolean includeMaximum,
java.lang.String name,
java.util.ArrayList errList)
assertMinimum
protected boolean assertMinimum(java.lang.String value,
double minValue,
boolean include,
java.lang.String name,
java.util.ArrayList errList)
assertMinimum
protected boolean assertMinimum(java.lang.String value,
int minValue,
boolean include,
java.lang.String name,
java.util.ArrayList errList)
getInitTemperature
public double getInitTemperature()
setInitTemperature
public void setInitTemperature(double temperature)
getMinTemperature
public double getMinTemperature()
setMinTemperature
public void setMinTemperature(double temperature)
getMaxTemperature
public double getMaxTemperature()
setMaxTemperature
public void setMaxTemperature(double temperature)
getPreferredEdgeLength
public double getPreferredEdgeLength()
setPreferredEdgeLength
public void setPreferredEdgeLength(double length)
getGravitation
public double getGravitation()
setGravitation
public void setGravitation(double grav)
getRandomImpulseRange
public double getRandomImpulseRange()
setRandomImpulseRange
public void setRandomImpulseRange(double range)
getOverlapDetectionWidth
public double getOverlapDetectionWidth()
setOverlapDetectionWidth
public void setOverlapDetectionWidth(double width)
getOverlapPreferredDistance
public double getOverlapPreferredDistance()
setOverlapPreferredDistance
public void setOverlapPreferredDistance(double distance)
setAvoidOverlapping
public void setAvoidOverlapping(boolean avoid)
getAvoidOverlapping
public boolean getAvoidOverlapping()
getAlphaOsc
public double getAlphaOsc()
setAlphaOsc
public void setAlphaOsc(double alpha)
getAlphaRot
public double getAlphaRot()
setAlphaRot
public void setAlphaRot(double alpha)
getSigmaOsc
public double getSigmaOsc()
setSigmaOsc
public void setSigmaOsc(double sigma)
getSigmaRot
public double getSigmaRot()
setSigmaRot
public void setSigmaRot(double sigma)
getComputePermutation
public boolean getComputePermutation()
setComputePermutation
public void setComputePermutation(boolean isSelected)
getEndPerAverage
public boolean getEndPerAverage()
setEndPerAverage
public void setEndPerAverage(boolean isSelected)
getLayoutUpdateInitTemperature
public double getLayoutUpdateInitTemperature()
setLayoutUpdateInitTemperature
public void setLayoutUpdateInitTemperature(double temperature)
getLayoutUpdateMinTemperature
public double getLayoutUpdateMinTemperature()
setLayoutUpdateMinTemperature
public void setLayoutUpdateMinTemperature(double temperature)
getLayoutUpdateMaxTemperature
public double getLayoutUpdateMaxTemperature()
setLayoutUpdateMaxTemperature
public void setLayoutUpdateMaxTemperature(double temperature)
getLayoutUpdatePreferredEdgeLength
public double getLayoutUpdatePreferredEdgeLength()
setLayoutUpdatePreferredEdgeLength
public void setLayoutUpdatePreferredEdgeLength(double length)
getLayoutUpdateGravitation
public double getLayoutUpdateGravitation()
setLayoutUpdateGravitation
public void setLayoutUpdateGravitation(double grav)
getLayoutUpdateRandomImpulseRange
public double getLayoutUpdateRandomImpulseRange()
setLayoutUpdateRandomImpulseRange
public void setLayoutUpdateRandomImpulseRange(double range)
getLayoutUpdateOverlapDetectionWidth
public double getLayoutUpdateOverlapDetectionWidth()
setLayoutUpdateOverlapDetectionWidth
public void setLayoutUpdateOverlapDetectionWidth(double width)
getLayoutUpdateOverlapPreferredDistance
public double getLayoutUpdateOverlapPreferredDistance()
setLayoutUpdateOverlapPreferredDistance
public void setLayoutUpdateOverlapPreferredDistance(double distance)
setLayoutUpdateAvoidOverlapping
public void setLayoutUpdateAvoidOverlapping(boolean avoid)
getLayoutUpdateAvoidOverlapping
public boolean getLayoutUpdateAvoidOverlapping()
getLayoutUpdateAlphaOsc
public double getLayoutUpdateAlphaOsc()
setLayoutUpdateAlphaOsc
public void setLayoutUpdateAlphaOsc(double alpha)
getLayoutUpdateAlphaRot
public double getLayoutUpdateAlphaRot()
setLayoutUpdateAlphaRot
public void setLayoutUpdateAlphaRot(double alpha)
getLayoutUpdateSigmaOsc
public double getLayoutUpdateSigmaOsc()
setLayoutUpdateSigmaOsc
public void setLayoutUpdateSigmaOsc(double sigma)
getLayoutUpdateSigmaRot
public double getLayoutUpdateSigmaRot()
setLayoutUpdateSigmaRot
public void setLayoutUpdateSigmaRot(double sigma)
getLayoutUpdateComputePermutation
public boolean getLayoutUpdateComputePermutation()
setLayoutUpdateComputePermutation
public void setLayoutUpdateComputePermutation(boolean isSelected)
setLayoutUpdateEndPerAverage
public void setLayoutUpdateEndPerAverage(boolean computeAverage)
getLayoutUpdateEndPerAverage
public boolean getLayoutUpdateEndPerAverage()
setLayoutUpdateEnabled
public void setLayoutUpdateEnabled(boolean isEnabled)
getLayoutUpdateEnabled
public boolean getLayoutUpdateEnabled()
setLayoutUpdateMethod
public void setLayoutUpdateMethod(java.lang.String key)
getLayoutUpdateMethod
public java.lang.String getLayoutUpdateMethod()
setLayoutUpdateDepth
public void setLayoutUpdateDepth(int depth)
getLayoutUpdateDepth
public int getLayoutUpdateDepth()
setOptimizationAlgorithmEnabled
public void setOptimizationAlgorithmEnabled(boolean enable)
getOptimizationAlgorithmEnabled
public boolean getOptimizationAlgorithmEnabled()
getOptimizationConfiguration
public java.util.Properties getOptimizationConfiguration()
setOptimizationConfiguration
public void setOptimizationConfiguration(java.util.Properties config)
setLayoutUpdateOptimizationAlgorithmEnabled
public void setLayoutUpdateOptimizationAlgorithmEnabled(boolean enable)
getLayoutUpdateOptimizationAlgorithmEnabled
public boolean getLayoutUpdateOptimizationAlgorithmEnabled()
setLayoutUpdateOptimizationConfiguration
public void setLayoutUpdateOptimizationConfiguration(java.util.Properties config)
getLayoutUpdateOptimizationConfiguration
public java.util.Properties getLayoutUpdateOptimizationConfiguration()
setLayoutUpdateMethodPerimeterInitSize
public void setLayoutUpdateMethodPerimeterInitSize(double size)
getLayoutUpdateMethodPerimeterInitSize
public double getLayoutUpdateMethodPerimeterInitSize()
setLayoutUpdateMethodPerimeterSizeInc
public void setLayoutUpdateMethodPerimeterSizeInc(double incValue)
getLayoutUpdateMethodPerimeterSizeInc
public double getLayoutUpdateMethodPerimeterSizeInc()
setLayoutUpdateClusteringEnabled
public void setLayoutUpdateClusteringEnabled(boolean isEnabled)
getLayoutUpdateClusteringEnabled
public boolean getLayoutUpdateClusteringEnabled()
setLayoutUpdateClusteringInitTemperature
public void setLayoutUpdateClusteringInitTemperature(double temp)
getLayoutUpdateClusteringInitTemperature
public double getLayoutUpdateClusteringInitTemperature()
setLayoutUpdateClusteringForceScalingFactor
public void setLayoutUpdateClusteringForceScalingFactor(double factor)
getLayoutUpdateClusteringForceScalingFactor
public double getLayoutUpdateClusteringForceScalingFactor()
setLayoutUpdateClusteringFactor
public void setLayoutUpdateClusteringFactor(double factor)
getLayoutUpdateClusteringFactor
public double getLayoutUpdateClusteringFactor()