All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.Adjustable

public interface Adjustable
The interface for objects which have an adjustable numeric value contained within a bounded range of values.


Variable Index

 o HORIZONTAL
The horizontal orientation.
 o VERTICAL
The vertical orientation.

Method Index

 o addAdjustmentListener(AdjustmentListener)
Add a listener to recieve adjustment events when the value of the adjustable object changes.
 o getBlockIncrement()
Gets the block value increment for the adjustable object.
 o getMaximum()
Gets the maximum value of the adjustable object.
 o getMinimum()
Gets the minimum value of the adjustable object.
 o getOrientation()
Gets the orientation of the adjustable object.
 o getUnitIncrement()
Gets the unit value increment for the adjustable object.
 o getValue()
Gets the current value of the adjustable object.
 o getVisibleAmount()
Gets the length of the propertional indicator.
 o removeAdjustmentListener(AdjustmentListener)
Removes an adjustment listener.
 o setBlockIncrement(int)
Sets the block value increment for the adjustable object.
 o setMaximum(int)
Sets the maximum value of the adjustable object.
 o setMinimum(int)
Sets the minimum value of the adjustable object.
 o setUnitIncrement(int)
Sets the unit value increment for the adjustable object.
 o setValue(int)
Sets the current value of the adjustable object.
 o setVisibleAmount(int)
Sets the length of the proportionl indicator of the adjustable object.

Variables

 o HORIZONTAL
Properties Public Constant 
   HORIZONTAL=int 
The horizontal orientation.

 o VERTICAL
Properties Public Constant 
   VERTICAL=int 
The vertical orientation.

Methods

 o getOrientation
    method getOrientation() returns int public abstract    
Gets the orientation of the adjustable object.

 o setMinimum
    method setMinimum(min=int)  public abstract    
Sets the minimum value of the adjustable object.

Parameters:
min - the minimum value
 o getMinimum
    method getMinimum() returns int public abstract    
Gets the minimum value of the adjustable object.

 o setMaximum
    method setMaximum(max=int)  public abstract    
Sets the maximum value of the adjustable object.

Parameters:
max - the maximum value
 o getMaximum
    method getMaximum() returns int public abstract    
Gets the maximum value of the adjustable object.

 o setUnitIncrement
    method setUnitIncrement(u=int)  public abstract    
Sets the unit value increment for the adjustable object.

Parameters:
u - the unit increment
 o getUnitIncrement
    method getUnitIncrement() returns int public abstract    
Gets the unit value increment for the adjustable object.

 o setBlockIncrement
    method setBlockIncrement(b=int)  public abstract    
Sets the block value increment for the adjustable object.

Parameters:
b - the block increment
 o getBlockIncrement
    method getBlockIncrement() returns int public abstract    
Gets the block value increment for the adjustable object.

 o setVisibleAmount
    method setVisibleAmount(v=int)  public abstract    
Sets the length of the proportionl indicator of the adjustable object.

Parameters:
v - the length of the indicator
 o getVisibleAmount
    method getVisibleAmount() returns int public abstract    
Gets the length of the propertional indicator.

 o setValue
    method setValue(v=int)  public abstract    
Sets the current value of the adjustable object. This value must be within the range defined by the minimum and maximum values for this object.

Parameters:
v - the current value
 o getValue
    method getValue() returns int public abstract    
Gets the current value of the adjustable object.

 o addAdjustmentListener
    method addAdjustmentListener(l=AdjustmentListener)  public abstract    
Add a listener to recieve adjustment events when the value of the adjustable object changes.

Parameters:
l - the listener to recieve events
See Also:
AdjustmentEvent
 o removeAdjustmentListener
    method removeAdjustmentListener(l=AdjustmentListener)  public abstract    
Removes an adjustment listener.

Parameters:
l - the listener being removed
See Also:
AdjustmentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index