xdat
Class UserPreferences

java.lang.Object
  extended by xdat.UserPreferences

public class UserPreferences
extends java.lang.Object

This class stores all user preference settings. When the user makes changes to settings such as default background color of charts or delimiting characters for data imports these settings are stored using the java Preferences API.


Field Summary
static int IMPORT_FROM_HOMEDIR
          Open file import browse dialog in the user's home directory by default.
static int IMPORT_FROM_LASTDIR
          Open file import browse dialog in the last opened directory by default.
static int IMPORT_FROM_USERDIR
          Open file import browse dialog in a userspecified directory by default.
static int LOCALE_DE
          German Locale for number formatting.
static int LOCALE_US
          US Locale for number formatting.
 
Constructor Summary
UserPreferences(java.lang.String versionString)
          Instantiates a new user preferences object.
 
Method Summary
 java.lang.String getCurrentDir()
          Gets the directory for the file browsing dialog.
 java.lang.String getDelimiter()
          Gets the delimiter for importing data.
 int getDirToImportFrom()
          Gets the dir to import from.
 java.lang.String getHomeDir()
          Gets the user home directory.
 java.lang.String getLastFile()
          Gets the last file.
 java.util.Locale getLocale()
          Returns the number format locale to be used for parsing data.
 java.lang.String getOtherDelimiter()
          Gets the character that is used as delimiter when importing data.
 java.awt.Color getParallelCoordinatesActiveDesignDefaultColor()
          Gets the active design default color for parallel coordinate charts.
 java.awt.Color getParallelCoordinatesAxisColor()
          Gets the axis color for parallel coordinate charts
 double getParallelCoordinatesAxisDefaultMax()
          Gets the axis default maximum value for parallel coordinate charts.
 double getParallelCoordinatesAxisDefaultMin()
          Gets the axis default minimum value for parallel coordinate charts .
 java.awt.Color getParallelCoordinatesAxisLabelFontColor()
          Gets the axis label font color for parallel coordinate charts.
 int getParallelCoordinatesAxisLabelFontSize()
          Gets the axis label font size for parallel coordinate charts.
 int getParallelCoordinatesAxisTicCount()
          Gets the axis tick count for parallel coordinate charts.
 java.awt.Color getParallelCoordinatesAxisTicLabelFontColor()
          Gets the axis tick label font color for parallel coordinate charts.
 int getParallelCoordinatesAxisTicLabelFontSize()
          Gets the axis tick label font size for parallel coordinate charts.
 java.lang.String getParallelCoordinatesAxisTicLabelFormat()
          Gets the axis tick label format for parallel coordinate charts.
 int getParallelCoordinatesAxisTicLength()
          Gets the axis tick length for parallel coordinate charts.
 int getParallelCoordinatesAxisWidth()
          Gets the width in pixels that is used by one axis on parallel coordinate charts.
 java.awt.Color getParallelCoordinatesDefaultBackgroundColor()
          Gets the default background color for parallel coordinate charts.
 int getParallelCoordinatesDesignIDFontSize()
          Gets the design id font size for parallel coordinate charts .
 int getParallelCoordinatesDesignLabelFontSize()
          Gets the design label font size for parallel coordinate charts.
 java.awt.Color getParallelCoordinatesFilterDefaultColor()
          Gets the filter default color for parallel coordinate charts.
 java.awt.Color getParallelCoordinatesFilteredDesignDefaultColor()
          Gets the filtered design default color for parallel coordinate charts.
 int getParallelCoordinatesFilterHeight()
          Gets the filter height for parallel coordinate charts.
 int getParallelCoordinatesFilterWidth()
          Gets the width of one half triangle that represents a filter in pixels.
 int getParallelCoordinatesLineThickness()
          Gets the line thickness for parallel coordinate charts.
 java.awt.Color getScatterChart2DActiveDesignColor()
          Gets the active design color for 2D scatter charts.
 int getScatterChart2DAxisTitleFontsizeX()
          Gets the x axis title font size for 2D Scatter Charts.
 int getScatterChart2DAxisTitleFontsizeY()
          Gets the y axis title font size for 2D Scatter Charts.
 java.awt.Color getScatterChart2DBackgroundColor()
          Gets the background color for 2D scatter charts.
 int getScatterChart2DDataPointSize()
          Gets the data point size for 2D Scatter Charts.
 int getScatterChart2DDisplayMode()
          Gets the display mode for 2D Scatter Charts.
 java.awt.Color getScatterChart2DForegroundColor()
          Gets the foreground color for 2D scatter charts.
 java.awt.Color getScatterChart2DSelectedDesignColor()
          Gets the selected design color for 2D scatter charts.
 int getScatterChart2DTicCountX()
          Gets the tic count for the x axis of 2D Scatter Charts.
 int getScatterChart2DTicCountY()
          Gets the tic count for the y axis of 2D Scatter Charts.
 int getScatterChart2DTicLabelFontsizeX()
          Gets the tic label font size for the x axis of 2D Scatter Charts.
 int getScatterChart2DTicLabelFontsizeY()
          Gets the tic label font size for the y axis of 2D Scatter Charts.
 java.lang.String getUserDir()
          Gets the user directory.
 boolean isFilterInverted()
          True, when filters are inverted.
 boolean isLastFileInitialised()
          Checks if the last file field has been initialised.
 boolean isLicenseAccepted()
          Returns true, when the user has accepted the license
 boolean isParallelCoordinatesAutoFitAxis()
          Checks if axes are autofitted on parallel coordinate charts .
 boolean isParallelCoordinatesAxisInverted()
          Checks whether axes are inverted on parallel coordinate charts .
 boolean isParallelCoordinatesShowDesignIDs()
          Checks if design id numbers are shown left to the left-most axis on parallel coordinate charts .
 boolean isParallelCoordinatesShowFilteredDesigns()
          Checks if filtered designs should be shown on parallel coordinate charts .
 boolean isParallelCoordinatesVerticallyOffsetAxisLabels()
          Checks if axis labels on parallel coordinate charts should be vertically offset.
 boolean isScatterChart2DAutofitX()
          Checks if the x-axis should be autofitted on 2D Scatter Charts.
 boolean isScatterChart2DAutofitY()
          Checks if the y-axis should be autofitted on 2D Scatter Charts.
 boolean isTreatConsecutiveAsOne()
          Checks if consecutive delimiters should be treated as one.
 void resetToDefault()
          Restores all default settings.
 void setDelimiter(java.lang.String delimiter)
          Sets the delimiter for importing data.
 void setDirToImportFrom(int dirToImportFrom)
          Sets the dir to import from.
 void setFilterInverted(boolean filterInverted)
          Specifies whether filters inverted on parallel coordinate charts .
 void setHomeDir(java.lang.String homeDir)
          Sets the home directory.
 void setLastFile(java.lang.String lastFileBrowsingDirectory)
          Sets the last file.
 void setLicenseAccepted(boolean licenseAccepted)
          Specifies whether the user has accepted the license.
 void setLocale(int locale)
          Sets the number format string to be used for both parsing data.
 void setOtherDelimiter(java.lang.String otherDelimiter)
          Sets the user-defined delimiter.
 void setParallelCoordinatesActiveDesignDefaultColor(java.awt.Color activeDesignDefaultColor)
          Sets the active design default color for parallel coordinate charts.
 void setParallelCoordinatesAutoFitAxis(boolean autoFitAxis)
          Specifies whether axes should be autofitted on parallel coordinate charts.
 void setParallelCoordinatesAxisColor(java.awt.Color axisColor)
          Sets the axis color for parallel coordinate charts.
 void setParallelCoordinatesAxisDefaultMax(double axisDefaultMax)
          Sets the axis default max for parallel coordinate charts.
 void setParallelCoordinatesAxisDefaultMin(double axisDefaultMin)
          Sets the axis default minimum value for parallel coordinate charts.
 void setParallelCoordinatesAxisInverted(boolean axisInverted)
          Specifies whether axes are inverted on parallel coordinate charts .
 void setParallelCoordinatesAxisLabelFontColor(java.awt.Color axisLabelFontColor)
          Sets the axis label font color for parallel coordinate charts.
 void setParallelCoordinatesAxisLabelFontSize(int axisLabelFontSize)
          Sets the axis label font size for parallel coordinate charts.
 void setParallelCoordinatesAxisTicCount(int axisTicCount)
          Sets the axis tick count for parallel coordinate charts.
 void setParallelCoordinatesAxisTicLabelFontColor(java.awt.Color axisTicLabelFontColor)
          Sets the axis tick label font color for parallel coordinate charts.
 void setParallelCoordinatesAxisTicLabelFontSize(int ticLabelFontSize)
          Sets the axis tick label font size for parallel coordinate charts.
 void setParallelCoordinatesAxisTicLabelFormat(java.lang.String axisTicLabelFormat)
          Sets the axis tick label format for parallel coordinate charts.
 void setParallelCoordinatesAxisTicLength(int axisTicLength)
          Sets the axis tick length for parallel coordinate charts.
 void setParallelCoordinatesAxisWidth(int axisWidth)
          Sets the axis width for parallel coordinate charts.
 void setParallelCoordinatesDefaultBackgroundColor(java.awt.Color backgroundColor)
          Sets the default background color for parallel coordinate charts.
 void setParallelCoordinatesDesignIDFontSize(int designIDFontSize)
          Sets the design id font size for parallel coordinate charts.
 void setParallelCoordinatesDesignLabelFontSize(int designLabelFontSize)
          Sets the design label font size for parallel coordinate charts.
 void setParallelCoordinatesFilterColor(java.awt.Color filterColor)
          Sets the filter color for parallel coordinate charts.
 void setParallelCoordinatesFilterHeight(int filterHeight)
          Sets the filter height for parallel coordinate charts.
 void setParallelCoordinatesFilterWidth(int filterWidth)
          Sets the filter width for parallel coordinate charts.
 void setParallelCoordinatesInactiveDesignDefaultColor(java.awt.Color inActiveDesignDefaultColor)
          Sets the in active design default color for parallel coordinate charts.
 void setParallelCoordinatesLineThickness(int lineThickness)
          Sets the line thickness for parallel coordinate charts.
 void setParallelCoordinatesShowDesignIDs(boolean showDesignIDs)
          Specifies whether design id numbers are shown left to the left-most axis on parallel coordinate charts .
 void setParallelCoordinatesShowFilteredDesigns(boolean showFilteredDesigns)
          Sets whether filtered designs should be shown on parallel coordinate charts .
 void setParallelCoordinatesVerticallyOffsetAxisLabels(boolean verticallyOffsetAxisLabels)
          Sets whether axis labels on parallel coordinate charts should be vertically offset.
 void setScatterChart2DActiveDesignColor(java.awt.Color scatterChart2DActiveDesignColor)
          Sets the active design color for 2D scatter charts.
 void setScatterChart2DAutofitX(boolean scatterChart2DAutofitX)
          Sets whether the x-axis should be autofitted on 2D Scatter Charts
 void setScatterChart2DAutofitY(boolean scatterChart2DAutofitY)
          Sets whether the y-axis should be autofitted on 2D Scatter Charts
 void setScatterChart2DAxisTitleFontsizeX(int scatterChart2DAxisTitleFontsizeX)
          Sets the x axis title font size for 2D Scatter Charts.
 void setScatterChart2DAxisTitleFontsizeY(int scatterChart2DAxisTitleFontsizeY)
          Sets the y axis title font size for 2D Scatter Charts.
 void setScatterChart2DBackgroundColor(java.awt.Color scatterChart2DBackgroundColor)
          Sets the background color for 2D scatter charts.
 void setScatterChart2DDataPointSize(int scatterChart2DDataPointSize)
          Sets the data point size for 2D Scatter Charts.
 void setScatterChart2DDisplayMode(int ScatterChart2DDisplayMode)
          Sets the display mode for 2D Scatter Charts.
 void setScatterChart2DForegroundColor(java.awt.Color scatterChart2DForegroundColor)
          Sets the foreground color for 2D scatter charts.
 void setScatterChart2DSelectedDesignColor(java.awt.Color scatterChart2DSelectedDesignColor)
          Sets the selected design color for 2D scatter charts.
 void setScatterChart2DTicCountX(int scatterChart2DTicCountX)
          Sets the tic count for the x axis of 2D Scatter Charts.
 void setScatterChart2DTicCountY(int scatterChart2DTicCountY)
          Sets the tic count for the y axis of 2D Scatter Charts.
 void setScatterChart2DTicLabelFontsizeX(int scatterChart2DTicLabelFontsizeX)
          Sets the tic label font size for the x axis of 2D Scatter Charts.
 void setScatterChart2DTicLabelFontsizeY(int scatterChart2DTicLabelFontsizeY)
          Sets the tic label font size for the y axis of 2D Scatter Charts.
 void setTreatConsecutiveAsOne(boolean treatConsecutiveAsOne)
          Sets whether consecutive delimiters should be treated as one.
 void setUserDir(java.lang.String userDir)
          Sets the user directory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPORT_FROM_HOMEDIR

public static final int IMPORT_FROM_HOMEDIR
Open file import browse dialog in the user's home directory by default.

See Also:
Constant Field Values

IMPORT_FROM_LASTDIR

public static final int IMPORT_FROM_LASTDIR
Open file import browse dialog in the last opened directory by default.

See Also:
Constant Field Values

IMPORT_FROM_USERDIR

public static final int IMPORT_FROM_USERDIR
Open file import browse dialog in a userspecified directory by default.

See Also:
Constant Field Values

LOCALE_US

public static final int LOCALE_US
US Locale for number formatting.

See Also:
Constant Field Values

LOCALE_DE

public static final int LOCALE_DE
German Locale for number formatting.

See Also:
Constant Field Values
Constructor Detail

UserPreferences

public UserPreferences(java.lang.String versionString)
Instantiates a new user preferences object.

Method Detail

isLicenseAccepted

public boolean isLicenseAccepted()
Returns true, when the user has accepted the license

Returns:
whether the license was accepted by the user

setLicenseAccepted

public void setLicenseAccepted(boolean licenseAccepted)
Specifies whether the user has accepted the license.

Parameters:
licenseAccepted - the flag that specifies whether the user has accepted the license

getScatterChart2DDisplayMode

public int getScatterChart2DDisplayMode()
Gets the display mode for 2D Scatter Charts.

Returns:
the display mode

setScatterChart2DDisplayMode

public void setScatterChart2DDisplayMode(int ScatterChart2DDisplayMode)
Sets the display mode for 2D Scatter Charts.

Parameters:
ScatterChart2DDisplayMode - the new display mode

isScatterChart2DAutofitX

public boolean isScatterChart2DAutofitX()
Checks if the x-axis should be autofitted on 2D Scatter Charts.

Returns:
true, if the x-axis should be autofitted on 2D Scatter Charts.

setScatterChart2DAutofitX

public void setScatterChart2DAutofitX(boolean scatterChart2DAutofitX)
Sets whether the x-axis should be autofitted on 2D Scatter Charts

Parameters:
scatterChart2DAutofitX - flag whether the x-axis should be autofitted on 2D Scatter Charts.

isScatterChart2DAutofitY

public boolean isScatterChart2DAutofitY()
Checks if the y-axis should be autofitted on 2D Scatter Charts.

Returns:
true, if the y-axis should be autofitted on 2D Scatter Charts.

setScatterChart2DAutofitY

public void setScatterChart2DAutofitY(boolean scatterChart2DAutofitY)
Sets whether the y-axis should be autofitted on 2D Scatter Charts

Parameters:
scatterChart2DAutofitY - flag whether the y-axis should be autofitted on 2D Scatter Charts.

getScatterChart2DAxisTitleFontsizeX

public int getScatterChart2DAxisTitleFontsizeX()
Gets the x axis title font size for 2D Scatter Charts.

Returns:
the x axis title font size for 2D Scatter Charts.

setScatterChart2DAxisTitleFontsizeX

public void setScatterChart2DAxisTitleFontsizeX(int scatterChart2DAxisTitleFontsizeX)
Sets the x axis title font size for 2D Scatter Charts.

Parameters:
scatterChart2DAxisTitleFontsizeX - the new x axis title font size for 2D Scatter Charts.

getScatterChart2DAxisTitleFontsizeY

public int getScatterChart2DAxisTitleFontsizeY()
Gets the y axis title font size for 2D Scatter Charts.

Returns:
the y axis title font size for 2D Scatter Charts.

setScatterChart2DAxisTitleFontsizeY

public void setScatterChart2DAxisTitleFontsizeY(int scatterChart2DAxisTitleFontsizeY)
Sets the y axis title font size for 2D Scatter Charts.

Parameters:
scatterChart2DAxisTitleFontsizeY - the new y axis title font size for 2D Scatter Charts.

getScatterChart2DTicCountX

public int getScatterChart2DTicCountX()
Gets the tic count for the x axis of 2D Scatter Charts.

Returns:
the tic count for the x axis of 2D Scatter Charts.

setScatterChart2DTicCountX

public void setScatterChart2DTicCountX(int scatterChart2DTicCountX)
Sets the tic count for the x axis of 2D Scatter Charts.

Parameters:
scatterChart2DTicCountX - the new tic count for the x axis of 2D Scatter Charts.

getScatterChart2DTicCountY

public int getScatterChart2DTicCountY()
Gets the tic count for the y axis of 2D Scatter Charts.

Returns:
the tic count for the y axis of 2D Scatter Charts.

setScatterChart2DTicCountY

public void setScatterChart2DTicCountY(int scatterChart2DTicCountY)
Sets the tic count for the y axis of 2D Scatter Charts.

Parameters:
scatterChart2DTicCountY - the new tic count for the y axis of 2D Scatter Charts.

getScatterChart2DTicLabelFontsizeX

public int getScatterChart2DTicLabelFontsizeX()
Gets the tic label font size for the x axis of 2D Scatter Charts.

Returns:
the tic label font size for the x axis of 2D Scatter Charts.

setScatterChart2DTicLabelFontsizeX

public void setScatterChart2DTicLabelFontsizeX(int scatterChart2DTicLabelFontsizeX)
Sets the tic label font size for the x axis of 2D Scatter Charts.

Parameters:
scatterChart2DTicLabelFontsizeX - the new tic label font size for the x axis of 2D Scatter Charts.

getScatterChart2DTicLabelFontsizeY

public int getScatterChart2DTicLabelFontsizeY()
Gets the tic label font size for the y axis of 2D Scatter Charts.

Returns:
the tic label font size for the y axis of 2D Scatter Charts.

setScatterChart2DTicLabelFontsizeY

public void setScatterChart2DTicLabelFontsizeY(int scatterChart2DTicLabelFontsizeY)
Sets the tic label font size for the y axis of 2D Scatter Charts.

Parameters:
scatterChart2DTicLabelFontsizeY - the new tic label font size for the y axis of 2D Scatter Charts.

getScatterChart2DDataPointSize

public int getScatterChart2DDataPointSize()
Gets the data point size for 2D Scatter Charts.

Returns:
the data point size for 2D Scatter Charts.

setScatterChart2DDataPointSize

public void setScatterChart2DDataPointSize(int scatterChart2DDataPointSize)
Sets the data point size for 2D Scatter Charts.

Parameters:
scatterChart2DDataPointSize - the new data point size for 2D Scatter Charts.

getScatterChart2DForegroundColor

public java.awt.Color getScatterChart2DForegroundColor()
Gets the foreground color for 2D scatter charts.

Returns:
the foreground color for 2D scatter charts.

setScatterChart2DForegroundColor

public void setScatterChart2DForegroundColor(java.awt.Color scatterChart2DForegroundColor)
Sets the foreground color for 2D scatter charts.

Parameters:
scatterChart2DForegroundColor - the new foreground color for 2D scatter charts.

getScatterChart2DBackgroundColor

public java.awt.Color getScatterChart2DBackgroundColor()
Gets the background color for 2D scatter charts.

Returns:
the background color for 2D scatter charts.

setScatterChart2DBackgroundColor

public void setScatterChart2DBackgroundColor(java.awt.Color scatterChart2DBackgroundColor)
Sets the background color for 2D scatter charts.

Parameters:
scatterChart2DBackgroundColor - the new background color for 2D scatter charts.

getScatterChart2DActiveDesignColor

public java.awt.Color getScatterChart2DActiveDesignColor()
Gets the active design color for 2D scatter charts.

Returns:
the active design color for 2D scatter charts.

setScatterChart2DActiveDesignColor

public void setScatterChart2DActiveDesignColor(java.awt.Color scatterChart2DActiveDesignColor)
Sets the active design color for 2D scatter charts.

Parameters:
scatterChart2DActiveDesignColor - the new active design color for 2D scatter charts.

getScatterChart2DSelectedDesignColor

public java.awt.Color getScatterChart2DSelectedDesignColor()
Gets the selected design color for 2D scatter charts.

Returns:
the selected design color for 2D scatter charts.

setScatterChart2DSelectedDesignColor

public void setScatterChart2DSelectedDesignColor(java.awt.Color scatterChart2DSelectedDesignColor)
Sets the selected design color for 2D scatter charts.

Parameters:
scatterChart2DSelectedDesignColor - the new selected design color for 2D scatter charts.

getParallelCoordinatesAxisColor

public java.awt.Color getParallelCoordinatesAxisColor()
Gets the axis color for parallel coordinate charts

Returns:
the axis color

setParallelCoordinatesAxisColor

public void setParallelCoordinatesAxisColor(java.awt.Color axisColor)
Sets the axis color for parallel coordinate charts.

Parameters:
axisColor - the new axis color

isParallelCoordinatesVerticallyOffsetAxisLabels

public boolean isParallelCoordinatesVerticallyOffsetAxisLabels()
Checks if axis labels on parallel coordinate charts should be vertically offset.

Returns:
true, if axis labels should be vertically offset

setParallelCoordinatesVerticallyOffsetAxisLabels

public void setParallelCoordinatesVerticallyOffsetAxisLabels(boolean verticallyOffsetAxisLabels)
Sets whether axis labels on parallel coordinate charts should be vertically offset.

Parameters:
verticallyOffsetAxisLabels - flag whether axis labels should be vertically offset

getParallelCoordinatesAxisLabelFontColor

public java.awt.Color getParallelCoordinatesAxisLabelFontColor()
Gets the axis label font color for parallel coordinate charts.

Returns:
the axis label font color

setParallelCoordinatesAxisLabelFontColor

public void setParallelCoordinatesAxisLabelFontColor(java.awt.Color axisLabelFontColor)
Sets the axis label font color for parallel coordinate charts.

Parameters:
axisLabelFontColor - the new axis label font color

getParallelCoordinatesAxisLabelFontSize

public int getParallelCoordinatesAxisLabelFontSize()
Gets the axis label font size for parallel coordinate charts.

Returns:
the axis label font size

setParallelCoordinatesAxisLabelFontSize

public void setParallelCoordinatesAxisLabelFontSize(int axisLabelFontSize)
Sets the axis label font size for parallel coordinate charts.

Parameters:
axisLabelFontSize - the new axis label font size

getParallelCoordinatesAxisTicCount

public int getParallelCoordinatesAxisTicCount()
Gets the axis tick count for parallel coordinate charts.

Returns:
the axis tick count

setParallelCoordinatesAxisTicCount

public void setParallelCoordinatesAxisTicCount(int axisTicCount)
Sets the axis tick count for parallel coordinate charts.

Parameters:
axisTicCount - the new axis tick count

getParallelCoordinatesAxisTicLabelFontColor

public java.awt.Color getParallelCoordinatesAxisTicLabelFontColor()
Gets the axis tick label font color for parallel coordinate charts.

Returns:
the axis tick label font color

setParallelCoordinatesAxisTicLabelFontColor

public void setParallelCoordinatesAxisTicLabelFontColor(java.awt.Color axisTicLabelFontColor)
Sets the axis tick label font color for parallel coordinate charts.

Parameters:
axisTicLabelFontColor - the new axis tick label font color

getParallelCoordinatesAxisTicLabelFormat

public java.lang.String getParallelCoordinatesAxisTicLabelFormat()
Gets the axis tick label format for parallel coordinate charts.

Returns:
the axis tick label format

setParallelCoordinatesAxisTicLabelFormat

public void setParallelCoordinatesAxisTicLabelFormat(java.lang.String axisTicLabelFormat)
Sets the axis tick label format for parallel coordinate charts.

Parameters:
axisTicLabelFormat - the new axis tick label format

getParallelCoordinatesAxisTicLength

public int getParallelCoordinatesAxisTicLength()
Gets the axis tick length for parallel coordinate charts.

Returns:
the axis tick length

setParallelCoordinatesAxisTicLength

public void setParallelCoordinatesAxisTicLength(int axisTicLength)
Sets the axis tick length for parallel coordinate charts.

Parameters:
axisTicLength - the new axis tick length

getParallelCoordinatesAxisWidth

public int getParallelCoordinatesAxisWidth()
Gets the width in pixels that is used by one axis on parallel coordinate charts. This setting is used to define the axis spacing. The distance of two axes is defined by the sum of their respective widths, divided by two.

Returns:
the axis width

setParallelCoordinatesAxisWidth

public void setParallelCoordinatesAxisWidth(int axisWidth)
Sets the axis width for parallel coordinate charts.

Parameters:
axisWidth - the new axis width

getParallelCoordinatesFilterDefaultColor

public java.awt.Color getParallelCoordinatesFilterDefaultColor()
Gets the filter default color for parallel coordinate charts.

Returns:
the filter default color

setParallelCoordinatesFilterColor

public void setParallelCoordinatesFilterColor(java.awt.Color filterColor)
Sets the filter color for parallel coordinate charts.

Parameters:
filterColor - the new filter color

getParallelCoordinatesFilterHeight

public int getParallelCoordinatesFilterHeight()
Gets the filter height for parallel coordinate charts.

Returns:
the filter height

setParallelCoordinatesFilterHeight

public void setParallelCoordinatesFilterHeight(int filterHeight)
Sets the filter height for parallel coordinate charts.

Parameters:
filterHeight - the new filter height

getParallelCoordinatesFilterWidth

public int getParallelCoordinatesFilterWidth()
Gets the width of one half triangle that represents a filter in pixels. In other words, the filter triangle will be twice as large as the value entered here.

Returns:
the filter width

setParallelCoordinatesFilterWidth

public void setParallelCoordinatesFilterWidth(int filterWidth)
Sets the filter width for parallel coordinate charts.

Parameters:
filterWidth - the new filter width

getParallelCoordinatesAxisTicLabelFontSize

public int getParallelCoordinatesAxisTicLabelFontSize()
Gets the axis tick label font size for parallel coordinate charts.

Returns:
the axis tick label font size

setParallelCoordinatesAxisTicLabelFontSize

public void setParallelCoordinatesAxisTicLabelFontSize(int ticLabelFontSize)
Sets the axis tick label font size for parallel coordinate charts.

Parameters:
ticLabelFontSize - the new axis tick label font size

getParallelCoordinatesDesignLabelFontSize

public int getParallelCoordinatesDesignLabelFontSize()
Gets the design label font size for parallel coordinate charts.

Returns:
the design label font size

setParallelCoordinatesDesignLabelFontSize

public void setParallelCoordinatesDesignLabelFontSize(int designLabelFontSize)
Sets the design label font size for parallel coordinate charts.

Parameters:
designLabelFontSize - the new design label font size

getParallelCoordinatesLineThickness

public int getParallelCoordinatesLineThickness()
Gets the line thickness for parallel coordinate charts.

Returns:
the line thickness

setParallelCoordinatesLineThickness

public void setParallelCoordinatesLineThickness(int lineThickness)
Sets the line thickness for parallel coordinate charts.

Parameters:
lineThickness - the new line thickness

isParallelCoordinatesShowFilteredDesigns

public boolean isParallelCoordinatesShowFilteredDesigns()
Checks if filtered designs should be shown on parallel coordinate charts .

Returns:
true, if filtered designs are shown

setParallelCoordinatesShowFilteredDesigns

public void setParallelCoordinatesShowFilteredDesigns(boolean showFilteredDesigns)
Sets whether filtered designs should be shown on parallel coordinate charts .

Parameters:
showFilteredDesigns - flag to set whether filtered designs should be shown.

getParallelCoordinatesActiveDesignDefaultColor

public java.awt.Color getParallelCoordinatesActiveDesignDefaultColor()
Gets the active design default color for parallel coordinate charts.

Returns:
the active design default color

setParallelCoordinatesActiveDesignDefaultColor

public void setParallelCoordinatesActiveDesignDefaultColor(java.awt.Color activeDesignDefaultColor)
Sets the active design default color for parallel coordinate charts.

Parameters:
activeDesignDefaultColor - the new active design default color

getParallelCoordinatesFilteredDesignDefaultColor

public java.awt.Color getParallelCoordinatesFilteredDesignDefaultColor()
Gets the filtered design default color for parallel coordinate charts.

Returns:
the filtered design default color

setParallelCoordinatesInactiveDesignDefaultColor

public void setParallelCoordinatesInactiveDesignDefaultColor(java.awt.Color inActiveDesignDefaultColor)
Sets the in active design default color for parallel coordinate charts.

Parameters:
inActiveDesignDefaultColor - the new in active design default color

isParallelCoordinatesShowDesignIDs

public boolean isParallelCoordinatesShowDesignIDs()
Checks if design id numbers are shown left to the left-most axis on parallel coordinate charts .

Returns:
whether design id numbers are shown left to the left-most axis.

setParallelCoordinatesShowDesignIDs

public void setParallelCoordinatesShowDesignIDs(boolean showDesignIDs)
Specifies whether design id numbers are shown left to the left-most axis on parallel coordinate charts .

Parameters:
showDesignIDs - specifies whether design id numbers are shown left to the left-most axis.

getParallelCoordinatesDesignIDFontSize

public int getParallelCoordinatesDesignIDFontSize()
Gets the design id font size for parallel coordinate charts .

Returns:
the design id font size

setParallelCoordinatesDesignIDFontSize

public void setParallelCoordinatesDesignIDFontSize(int designIDFontSize)
Sets the design id font size for parallel coordinate charts.

Parameters:
designIDFontSize - the new design id font size

getParallelCoordinatesDefaultBackgroundColor

public java.awt.Color getParallelCoordinatesDefaultBackgroundColor()
Gets the default background color for parallel coordinate charts.

Returns:
the default background color

setParallelCoordinatesDefaultBackgroundColor

public void setParallelCoordinatesDefaultBackgroundColor(java.awt.Color backgroundColor)
Sets the default background color for parallel coordinate charts.

Parameters:
backgroundColor - the new default background color

isFilterInverted

public boolean isFilterInverted()
True, when filters are inverted. This means that designs between the filters are shown on parallel coordinate charts, while designs above the top filter and below the bottom filter are not.

Returns:
true, if filters are inverted.

setFilterInverted

public void setFilterInverted(boolean filterInverted)
Specifies whether filters inverted on parallel coordinate charts .

Parameters:
filterInverted - Specifies whether filters inverted.

isParallelCoordinatesAxisInverted

public boolean isParallelCoordinatesAxisInverted()
Checks whether axes are inverted on parallel coordinate charts .

Returns:
true, if axes are inverted

setParallelCoordinatesAxisInverted

public void setParallelCoordinatesAxisInverted(boolean axisInverted)
Specifies whether axes are inverted on parallel coordinate charts .

Parameters:
axisInverted - Specifies whether axes are inverted.

isParallelCoordinatesAutoFitAxis

public boolean isParallelCoordinatesAutoFitAxis()
Checks if axes are autofitted on parallel coordinate charts .

Returns:
true, if axes are autofitted.

setParallelCoordinatesAutoFitAxis

public void setParallelCoordinatesAutoFitAxis(boolean autoFitAxis)
Specifies whether axes should be autofitted on parallel coordinate charts.

Parameters:
autoFitAxis - Specifies whether axes should be autofitted.

getParallelCoordinatesAxisDefaultMin

public double getParallelCoordinatesAxisDefaultMin()
Gets the axis default minimum value for parallel coordinate charts .

Returns:
the axis default minimum value

setParallelCoordinatesAxisDefaultMin

public void setParallelCoordinatesAxisDefaultMin(double axisDefaultMin)
Sets the axis default minimum value for parallel coordinate charts.

Parameters:
axisDefaultMin - the new axis default minimum value

getParallelCoordinatesAxisDefaultMax

public double getParallelCoordinatesAxisDefaultMax()
Gets the axis default maximum value for parallel coordinate charts.

Returns:
the axis default maximum value

setParallelCoordinatesAxisDefaultMax

public void setParallelCoordinatesAxisDefaultMax(double axisDefaultMax)
Sets the axis default max for parallel coordinate charts.

Parameters:
axisDefaultMax - the new axis default max

getDirToImportFrom

public int getDirToImportFrom()
Gets the dir to import from.

Returns:
the dir to import from

setDirToImportFrom

public void setDirToImportFrom(int dirToImportFrom)
Sets the dir to import from.

Parameters:
dirToImportFrom - the new dir to import from

getLastFile

public java.lang.String getLastFile()
Gets the last file.

Returns:
the last file

setLastFile

public void setLastFile(java.lang.String lastFileBrowsingDirectory)
Sets the last file.

Parameters:
lastFileBrowsingDirectory - the new last file

isLastFileInitialised

public boolean isLastFileInitialised()
Checks if the last file field has been initialised.

Returns:
true, if is last file field has been initialised

getHomeDir

public java.lang.String getHomeDir()
Gets the user home directory.

Returns:
the user home directory

setHomeDir

public void setHomeDir(java.lang.String homeDir)
Sets the home directory.

Parameters:
homeDir - the new home directory

getUserDir

public java.lang.String getUserDir()
Gets the user directory.

Returns:
the user directory

setUserDir

public void setUserDir(java.lang.String userDir)
Sets the user directory.

Parameters:
userDir - the new user directory

getCurrentDir

public java.lang.String getCurrentDir()
Gets the directory for the file browsing dialog.

Returns:
the current directory based on the user preferences.

getDelimiter

public java.lang.String getDelimiter()
Gets the delimiter for importing data.

Returns:
the delimiter

setDelimiter

public void setDelimiter(java.lang.String delimiter)
Sets the delimiter for importing data.

Parameters:
delimiter - the new delimiter

isTreatConsecutiveAsOne

public boolean isTreatConsecutiveAsOne()
Checks if consecutive delimiters should be treated as one.

Returns:
true, if consecutive delimiters should be treated as one

setTreatConsecutiveAsOne

public void setTreatConsecutiveAsOne(boolean treatConsecutiveAsOne)
Sets whether consecutive delimiters should be treated as one.

Parameters:
treatConsecutiveAsOne - flag for treating consecutive delimiters as one

getOtherDelimiter

public java.lang.String getOtherDelimiter()
Gets the character that is used as delimiter when importing data. Only used to store this information internally.

Returns:
the user-defined delimiter

setOtherDelimiter

public void setOtherDelimiter(java.lang.String otherDelimiter)
Sets the user-defined delimiter.

Parameters:
otherDelimiter - the user-defined delimiter

getLocale

public java.util.Locale getLocale()
Returns the number format locale to be used for parsing data.

Returns:
the locale

setLocale

public void setLocale(int locale)
Sets the number format string to be used for both parsing data.

Parameters:
locale - the Number Format locale

resetToDefault

public void resetToDefault()
Restores all default settings.