java::awt::Adjustable Class Reference

Inheritance diagram for java::awt::Adjustable:

Inheritance graph
java::awt::Scrollbarjava::lang::Interfacejava::lang::Object
[legend]
Collaboration diagram for java::awt::Adjustable:

Collaboration graph
java::lang::Interfacejava::lang::Object
[legend]

List of all members.


Detailed Description

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

Version:
1.15 01/23/03
Author:
Amy Fowler

Tim Prinzing


Public Types

enum  ADJUSTABLE_ORIENTATION { HORIZONTAL = 0, VERTICAL, NO_ORIENTATION }

Public Member Functions

virtual jint getOrientation () const =0
 Gets the orientation of the adjustable object.
virtual void setMinimum (jint min)=0
 Sets the minimum value of the adjustable object.
virtual jint getMinimum () const =0
 Gets the minimum value of the adjustable object.
virtual void setMaximum (jint max)=0
 Sets the maximum value of the adjustable object.
virtual jint getMaximum () const =0
 Gets the maximum value of the adjustable object.
virtual void setUnitIncrement (jint u)=0
 Sets the unit value increment for the adjustable object.
virtual jint getUnitIncrement () const =0
 Gets the unit value increment for the adjustable object.
virtual void setBlockIncrement (jint b)=0
 Sets the block value increment for the adjustable object.
virtual jint getBlockIncrement () const =0
 Gets the block value increment for the adjustable object.
virtual void setVisibleAmount (jint v)=0
 Sets the length of the proportional indicator of the adjustable object.
virtual jint getVisibleAmount () const =0
 Gets the length of the proportional indicator.
virtual void setValue (jint v)=0
 Sets the current value of the adjustable object.
virtual jint getValue () const =0
 Gets the current value of the adjustable object.

Member Enumeration Documentation

enum java::awt::Adjustable::ADJUSTABLE_ORIENTATION

Enumerator:
HORIZONTAL  Indicates that the Adjustable has horizontal orientation.
VERTICAL  Indicates that the Adjustable has vertical orientation.
NO_ORIENTATION  Indicates that the Adjustable has no orientation.


Member Function Documentation

virtual jint java::awt::Adjustable::getOrientation (  )  const [pure virtual]

Gets the orientation of the adjustable object.

Returns:
the orientation of the adjustable object; either HORIZONTAL, VERTICAL, or NO_ORIENTATION

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setMinimum ( jint  min  )  [pure virtual]

Sets the minimum value of the adjustable object.

Parameters:
min the minimum value

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getMinimum (  )  const [pure virtual]

Gets the minimum value of the adjustable object.

Returns:
the minimum value of the adjustable object

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setMaximum ( jint  max  )  [pure virtual]

Sets the maximum value of the adjustable object.

Parameters:
max the maximum value

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getMaximum (  )  const [pure virtual]

Gets the maximum value of the adjustable object.

Returns:
the maximum value of the adjustable object

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setUnitIncrement ( jint  u  )  [pure virtual]

Sets the unit value increment for the adjustable object.

Parameters:
u the unit increment

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getUnitIncrement (  )  const [pure virtual]

Gets the unit value increment for the adjustable object.

Returns:
the unit value increment for the adjustable object

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setBlockIncrement ( jint  b  )  [pure virtual]

Sets the block value increment for the adjustable object.

Parameters:
b the block increment

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getBlockIncrement (  )  const [pure virtual]

Gets the block value increment for the adjustable object.

Returns:
the block value increment for the adjustable object

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setVisibleAmount ( jint  v  )  [pure virtual]

Sets the length of the proportional indicator of the adjustable object.

Parameters:
v the length of the indicator

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getVisibleAmount (  )  const [pure virtual]

Gets the length of the proportional indicator.

Returns:
the length of the proportional indicator

Implemented in java::awt::Scrollbar.

virtual void java::awt::Adjustable::setValue ( jint  v  )  [pure virtual]

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

Implemented in java::awt::Scrollbar.

virtual jint java::awt::Adjustable::getValue (  )  const [pure virtual]

Gets the current value of the adjustable object.

Returns:
the current value of the adjustable object

Implemented in java::awt::Scrollbar.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:55:49 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3