|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.helsinki.dacopan.ui.SettingsMSC
public class SettingsMSC
Layer-specific settings for MSC.
Constructor Summary | |
---|---|
SettingsMSC(Host leftHost,
Host rightHost,
Layer layer,
VariableDefinition[] variablesCenter,
VariableDefinition[] variablesColumns)
Creates a new instance of SettingsMSC |
|
SettingsMSC(SettingsMSC settingsMSC)
Creates a copy instance of SettingsMSC |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a true clone of this SettingsMSC object. |
float |
getEndTime()
Getter for property endTime. |
int |
getFontSize()
Get Font Size. |
Layer |
getLayer()
Getter for property layer. |
Host |
getLeftHost()
Getter for property leftHost. |
int |
getMaxStepping()
Getter for maxStepping. |
int |
getMinStepping()
Setter for property minStepping |
int |
getProgressSpeed()
|
Host |
getRightHost()
Getter for property rightHost. |
int |
getScaleMode()
Returns the scale mode |
int |
getScaleMultiplier()
|
static int |
getScaleMultiplier(int mode)
|
java.lang.String |
getScaleMultiplierUnit()
|
static java.lang.String |
getScaleMultiplierUnit(int mode)
|
boolean |
getScenarioAutoPlay()
|
float |
getStartTime()
Getter for property startTime. |
float |
getTimeScale()
returns the time scale for the animation |
VariableDefinition[] |
getVariablesCenter()
Getter for property variablesCenter. |
VariableDefinition[] |
getVariablesColumns()
Getter for property variablesColumns. |
int |
getVisualScale()
Getter for property visualScale. |
boolean |
isLinearMode()
|
void |
setAllFields(SettingsMSC newSettings)
Copies all the values of the parameter object to the current object. |
void |
setEndTime(float newEndTime)
Setter for property endTime. |
void |
setFontSize(int newFontSize)
Setter for property fontSize |
void |
setLayer(Layer layer)
Set the layer for current settingMSC (used when applying global settings). |
void |
setLinearMode(boolean linearMode)
|
void |
setMaxStepping(int newMaxStepping)
Setter for property minStepping |
void |
setMinStepping(int newMinStepping)
Setter for property minStepping |
void |
setProgressSpeed(int newProgressSpeed)
Set the animation progress speed. |
void |
setScaleMode(int value)
Sets the scale mode |
void |
setScenarioAutoPlay(boolean value)
|
void |
setStartTime(float newStartTime)
Setter for property startTime. |
void |
setTimeScale(float timeScale)
Sets the time scale for the animation. |
void |
setVariablesCenter(VariableDefinition[] variablesCenter)
Setter for property variablesCenter. |
void |
setVariablesColumns(VariableDefinition[] variablesColumns)
Setter for property variablesColumns. |
void |
setVisualScale(int visualScale)
Setter for property visualScale. |
boolean |
showTimeStamps()
|
boolean |
switchShowTimeStamps()
switches showing of timestamps |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_VISUAL_SCALE
public static final int MAX_VISUAL_SCALE
public static final int MIN_VISUAL_SCALE
public static final int VISUAL_SCALE_SLIDER_STEP
public static final int MAX_SHOW_VARIABLES
public static final int MAX_SHOW_HEADER_FIELDS
public static final int DEFAULT_SCALE_MODE
public static final int SCALE_MODE_SECONDS
public static final int SCALE_MODE_DSECONDS
public static final int SCALE_MODE_CSECONDS
public static final int SCALE_MODE_MILLISECONDS
public static final java.lang.String SCALE_MODE_MILLISECONDS_UNIT
public static final java.lang.String SCALE_MODE_SECONDS_UNIT
public static final java.lang.String SCALE_MODE_DSECONDS_UNIT
public static final java.lang.String SCALE_MODE_CSECONDS_UNIT
public static final float DEFAULT_TIME_SCALE
public static final float MAX_TIME_SCALE
public static final float MIN_TIME_SCALE
public static final int DEFAULT_FONT_SIZE
public static final int MIN_FONT_SIZE
public static final int MAX_FONT_SIZE
public static final int DEFAULT_MIN_STEPPING
public static final int MAX_MIN_STEPPING
public static final int DEFAULT_MAX_STEPPING
public static final int MAX_MAX_STEPPING
public static final int DEFAULT_PROGRESS_SPEED
public static final int MIN_PROGRESS_SPEED
public static final int MAX_PROGRESS_SPEED
protected float timeScale
protected boolean linearMode
Constructor Detail |
---|
public SettingsMSC(Host leftHost, Host rightHost, Layer layer, VariableDefinition[] variablesCenter, VariableDefinition[] variablesColumns)
public SettingsMSC(SettingsMSC settingsMSC)
Method Detail |
---|
public Host getLeftHost()
public Host getRightHost()
public Layer getLayer()
public int getScaleMode()
public void setScaleMode(int value)
public float getTimeScale()
public void setTimeScale(float timeScale)
public int getVisualScale()
public void setVisualScale(int visualScale)
visualScale
- New value of property visualScale.public VariableDefinition[] getVariablesCenter()
public void setVariablesCenter(VariableDefinition[] variablesCenter)
variablesCenter
- New value of property variablesCenter.public VariableDefinition[] getVariablesColumns()
public void setVariablesColumns(VariableDefinition[] variablesColumns)
variablesColumns
- New value of property variablesColumns.public float getStartTime()
public void setStartTime(float newStartTime)
startTime
- New value of property startTime.public float getEndTime()
public void setScenarioAutoPlay(boolean value)
value
- public boolean getScenarioAutoPlay()
public int getScaleMultiplier()
public static int getScaleMultiplier(int mode)
mode
-
public java.lang.String getScaleMultiplierUnit()
public static java.lang.String getScaleMultiplierUnit(int mode)
mode
-
public void setEndTime(float newEndTime)
endTime
- New value of property endTime.public void setMinStepping(int newMinStepping)
public int getMinStepping()
public void setMaxStepping(int newMaxStepping)
public int getMaxStepping()
public void setFontSize(int newFontSize)
public int getFontSize()
public void setLayer(Layer layer)
layer
- New layer.public void setProgressSpeed(int newProgressSpeed)
newProgressSpeed
- The new progress speed.public int getProgressSpeed()
public java.lang.Object clone()
clone
in class java.lang.Object
public void setAllFields(SettingsMSC newSettings)
newSettings
- The source of the new fields.public boolean showTimeStamps()
public boolean switchShowTimeStamps()
public boolean isLinearMode()
public void setLinearMode(boolean linearMode)
linearMode
- The linearMode to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |