apps.mathpadapp.mathtool
Class MathToolInitSettings

java.lang.Object
  extended by apps.mathpadapp.mathtool.MathToolInitSettings
All Implemented Interfaces:
java.io.Serializable

public class MathToolInitSettings
extends java.lang.Object
implements java.io.Serializable

The Class MathToolInitSettings.

See Also:
Serialized Form

Constructor Summary
MathToolInitSettings()
          Instantiates a new math tool init settings.
 
Method Summary
 float getAngle()
          Gets the angle.
 java.awt.Color getBackgroundColor()
          Gets the background color.
 int getCurrentPadIndex()
          Gets the current pad index.
 java.awt.Color getCurrentTextColor()
          Gets the current text color.
 java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> getDrawData()
          Gets the draw data.
 float getLineWidth()
          Gets the line width.
 float getLocationX()
          Gets the location x.
 float getLocationY()
          Gets the location y.
 int getNoOfPads()
          Gets the no of pads.
 float getOrder()
          Gets the order.
 float getScale()
          Gets the scale.
 MathTool.SeparatorState getSeparatorState()
          Gets the separator state.
 java.lang.String getTitle()
          Gets the title.
 MathTool.WritingState getWritingState()
          Gets the writing state.
 void setAngle(float rotationAngle)
          Sets the angle.
 void setBackgroundColor(java.awt.Color backgroundColor)
          Sets the background color.
 void setCurrentPadIndex(int currentPadIndex)
          Sets the current pad index.
 void setDrawData(java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> drawData)
          Sets the draw data.
 void setLineWidth(float currentLineWidth)
          Sets the line width.
 void setLocationX(float locationX)
          Sets the location x.
 void setLocationY(float locationY)
          Sets the location y.
 void setNoOfPads(int noOfPads)
          Sets the no of pads.
 void setOrder(float order)
          Sets the order.
 void setScale(float scale)
          Sets the scale.
 void setSeparatorState(MathTool.SeparatorState separatorState)
          Sets the separator state.
 void setTextColor(java.awt.Color currentTextColor)
          Sets the text color.
 void setTitle(java.lang.String title)
          Sets the title.
 void setWritingState(MathTool.WritingState initWritingState)
          Sets the writing state.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathToolInitSettings

public MathToolInitSettings()
Instantiates a new math tool init settings.

Method Detail

getAngle

public float getAngle()
Gets the angle.

Returns:
the angle

getBackgroundColor

public java.awt.Color getBackgroundColor()
Gets the background color.

Returns:
the background color

getCurrentPadIndex

public int getCurrentPadIndex()
Gets the current pad index.

Returns:
the current pad index

getCurrentTextColor

public java.awt.Color getCurrentTextColor()
Gets the current text color.

Returns:
the current text color

getDrawData

public java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> getDrawData()
Gets the draw data.

Returns:
the draw data

getLineWidth

public float getLineWidth()
Gets the line width.

Returns:
the line width

getLocationX

public float getLocationX()
Gets the location x.

Returns:
the location x

getLocationY

public float getLocationY()
Gets the location y.

Returns:
the location y

getNoOfPads

public int getNoOfPads()
Gets the no of pads.

Returns:
the no of pads

getOrder

public float getOrder()
Gets the order.

Returns:
the order

getScale

public float getScale()
Gets the scale.

Returns:
the scale

getSeparatorState

public MathTool.SeparatorState getSeparatorState()
Gets the separator state.

Returns:
the separator state

getTitle

public java.lang.String getTitle()
Gets the title.

Returns:
the title

getWritingState

public MathTool.WritingState getWritingState()
Gets the writing state.

Returns:
the writing state

setAngle

public void setAngle(float rotationAngle)
Sets the angle.

Parameters:
rotationAngle - the new angle

setBackgroundColor

public void setBackgroundColor(java.awt.Color backgroundColor)
Sets the background color.

Parameters:
backgroundColor - the new background color

setCurrentPadIndex

public void setCurrentPadIndex(int currentPadIndex)
Sets the current pad index.

Parameters:
currentPadIndex - the new current pad index

setDrawData

public void setDrawData(java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> drawData)
Sets the draw data.

Parameters:
drawData - the draw data

setLineWidth

public void setLineWidth(float currentLineWidth)
Sets the line width.

Parameters:
currentLineWidth - the new line width

setLocationX

public void setLocationX(float locationX)
Sets the location x.

Parameters:
locationX - the new location x

setLocationY

public void setLocationY(float locationY)
Sets the location y.

Parameters:
locationY - the new location y

setNoOfPads

public void setNoOfPads(int noOfPads)
Sets the no of pads.

Parameters:
noOfPads - the new no of pads

setOrder

public void setOrder(float order)
Sets the order.

Parameters:
order - the new order

setScale

public void setScale(float scale)
Sets the scale.

Parameters:
scale - the new scale

setSeparatorState

public void setSeparatorState(MathTool.SeparatorState separatorState)
Sets the separator state.

Parameters:
separatorState - the new separator state

setTextColor

public void setTextColor(java.awt.Color currentTextColor)
Sets the text color.

Parameters:
currentTextColor - the new text color

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the new title

setWritingState

public void setWritingState(MathTool.WritingState initWritingState)
Sets the writing state.

Parameters:
initWritingState - the new writing state