java.awt

Class ScrollPaneAdjustable

public class ScrollPaneAdjustable extends Object implements Adjustable, Serializable

Need this class since the serialization spec for ScrollPane uses it.

Since: 1.4

Method Summary
voidaddAdjustmentListener(AdjustmentListener listener)
AdjustmentListener[]getAdjustmentListeners()
intgetBlockIncrement()
intgetMaximum()
intgetMinimum()
intgetOrientation()
intgetUnitIncrement()
intgetValue()
booleangetValueIsAdjusting()
Returns true if the value is in the process of changing.
intgetVisibleAmount()
StringparamString()
voidremoveAdjustmentListener(AdjustmentListener listener)
voidsetBlockIncrement(int blockIncrement)
voidsetMaximum(int maximum)
This method should never be called.
voidsetMinimum(int minimum)
This method should never be called.
voidsetUnitIncrement(int unitIncrement)
voidsetValue(int value)
voidsetValueIsAdjusting(boolean valueIsAdjusting)
Sets the value of valueIsAdjusting.
voidsetVisibleAmount(int visibleAmount)
This method should never be called.
StringtoString()

Method Detail

addAdjustmentListener

public void addAdjustmentListener(AdjustmentListener listener)

getAdjustmentListeners

public AdjustmentListener[] getAdjustmentListeners()

getBlockIncrement

public int getBlockIncrement()

getMaximum

public int getMaximum()

getMinimum

public int getMinimum()

getOrientation

public int getOrientation()

getUnitIncrement

public int getUnitIncrement()

getValue

public int getValue()

getValueIsAdjusting

public boolean getValueIsAdjusting()
Returns true if the value is in the process of changing.

Since: 1.4

getVisibleAmount

public int getVisibleAmount()

paramString

public String paramString()

removeAdjustmentListener

public void removeAdjustmentListener(AdjustmentListener listener)

setBlockIncrement

public void setBlockIncrement(int blockIncrement)

setMaximum

public void setMaximum(int maximum)
This method should never be called.

Parameters: maximum The maximum value to be set.

Throws: AWTError Always throws this error when called.

setMinimum

public void setMinimum(int minimum)
This method should never be called.

Parameters: minimum The minimum value to be set.

Throws: AWTError Always throws this error when called.

setUnitIncrement

public void setUnitIncrement(int unitIncrement)

setValue

public void setValue(int value)

setValueIsAdjusting

public void setValueIsAdjusting(boolean valueIsAdjusting)
Sets the value of valueIsAdjusting.

Since: 1.4

setVisibleAmount

public void setVisibleAmount(int visibleAmount)
This method should never be called.

Parameters: visibleAmount The visible amount to be set.

Throws: AWTError Always throws this error when called.

toString

public String toString()