Start changeSlider tag

The following is the basic syntax of the slider tag :

<SLIDER name=name orientation="horizontal"|"vertical">

where name identifies the text area programmatically.

The slider tag can be expanded with the following elements:
<SLIDER name=name orientation="horizontal"|"vertical">
	<LOCATION>location</LOCATION>
	<SIZE>size</SIZE>
	<DATACLASS>class_name</DATACLASS>
	<ATTRIBUTE>attribute_name</ATTRIBUTE>
	<MINVALUE>value</MINVALUE>
	<MAXVALUE>value</MAXVALUE>
	<MAJORTICKS>interval</MAJORTICKS>
	<MINORTICKS>interval</MINORTICKS>
	<ADJUST>class_name</ADJUST>
	<FLYOVER>helptext</FLYOVER>
	<HELPALIAS>component_name</HELPALIAS>
</SLIDER>
	
ATTRIBUTEVALUEDESCRIPTION
<LOCATION> location Expresses the x- and y-coordinates of the panel's location from the top left corner in logical units.

This tag is required.

<SIZE> size Expresses the width and height, respectively, of the component in logical units.

This tag is required.

<DATACLASS> class_name Supplies data displayed on the slider, using the DataBean interface.
<ATTRIBUTE> attribute_name Contains the data for the slider. If the dataclass tag is present, the attribute tag must be present.

GETTOR PROTOCOLS:
int get<attribute_name>()
where the return value is the integer setting for the slider. The value must be greater than or equal to minvalue and less than or equal to maxvalue.


SETTOR PROTOCOLS:
void set<attribute_name>(boolean selected)
where value is the current integer setting for the slider.
<MINVALUE> value Defines the lowest value on the slider.

This tag is required.

<MAXVALUE> value Defines the highest value on the slider.

This tag is required.

<MAJORTICKS> interval Marks the slider in major increments. When the tag is included, snap-to-ticks is automatically on.
<MINORTICKS> interval Sets unlabelled minor-markers on the slider. When the tag is included, snap-to-ticks is automatically on.
<ADJUST> class_name Allows the user to adjust the slider. The class must extend the EventHandler class and use the interface com.sun.java.swing.event.ChangeListener. The framework will automatically create an object of the specified class and call its stateChanged method.
<FLYOVER> helptext Should be displayed when context help is requested for this component.

Helptext defines the key for loading the text string from the resource bundle. If the string is not found, the helptext string will appear as it does in the Panel Definition Markup Language (PDML) source file.

<HELPALIAS> component_name Should be displayed when context help is requested for this component.
End change


[ Legal | AS/400 Glossary ]