de.softpro.signdocmobile.foundations
Class PenSetting

java.lang.Object
  extended by de.softpro.signdocmobile.foundations.PenSetting
All Implemented Interfaces:
java.io.Serializable

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

PenSetting This is the class that manages the pen settings.

The PenSetting class provides the following functions for developers.

See Also:
Serialized Form

Constructor Summary
PenSetting()
           
 
Method Summary
 int getPenColor()
          This is the method that returns the color of the pen.
 int getPenWidth()
          This is the method that returns the thickness of the pen
 void setPenColor(int color)
          This is the method that sets the color of the pen.
 void setPenWidth(int penWidth)
          This is the method that sets the thickness of the pen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PenSetting

public PenSetting()
Method Detail

setPenColor

public void setPenColor(int color)
This is the method that sets the color of the pen.

Parameters:
color - The pen color - A 24 bit RGB color value.

getPenColor

public int getPenColor()
This is the method that returns the color of the pen.

Returns:
The pen color - A 24 bit RGB color value.

setPenWidth

public void setPenWidth(int penWidth)
This is the method that sets the thickness of the pen.

Parameters:
penWidth - width - The pen thickness, positive integer

getPenWidth

public int getPenWidth()
This is the method that returns the thickness of the pen

Returns:
The pen thickness.