j2d.border
Class BorderBean

java.lang.Object
  extended by j2d.border.BorderBean
All Implemented Interfaces:
java.io.Serializable

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

This class demonstrates the use of the border operator. The user can interactively choose the image border dimensions and the border type.

See Also:
Serialized Form

Constructor Summary
BorderBean()
           
 
Method Summary
 int getBorderType()
           
 int getBottomValue()
           
 int getLeftValue()
           
 int getRightValue()
           
 int getTopValue()
           
static BorderBean restore()
           
 void save()
           
 void setBorderType(int borderType)
           
 void setBottomValue(int bottomValue)
           
 void setLeftValue(int leftValue)
           
 void setRightValue(int rightValue)
           
 void setTopValue(int topValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderBean

public BorderBean()
Method Detail

getTopValue

public int getTopValue()

setTopValue

public void setTopValue(int topValue)

getBottomValue

public int getBottomValue()

setBottomValue

public void setBottomValue(int bottomValue)

getLeftValue

public int getLeftValue()

setLeftValue

public void setLeftValue(int leftValue)

getRightValue

public int getRightValue()

setRightValue

public void setRightValue(int rightValue)

getBorderType

public int getBorderType()

setBorderType

public void setBorderType(int borderType)

save

public void save()

restore

public static BorderBean restore()
Returns:
null if error on restore.