Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Adjustment

Class Adjustment

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Adjustment.Adjustment

Implemented interfaces:


public class

Adjustment



Adjustments are used by the scroll bars, scales, scrolled windows.
The same adjustment can be share by more then one widget to sinchronized them. Changind the Adjustment of a widget (a scale widget for example) will change the position of it's pointer

Constructor Summary
package protected (GtkObject* tkObject)
          
public (double value, double lower, double upper, double stepIncrement, double pageIncrement, double pageSize)
          Creates a new Adjustment

Methods Summary
void changed()
          changed
void valueChanged()
          valueChanged
void clampPage(double lower, double upper)
          clampPage
double getValue()
          Gets the adjustment value
void setValue(double value)
          Sets the adjustment value




package protected ctor(Adjustment)(GtkObject* tkObject)



public ctor(Adjustment)(double value, double lower, double upper, double stepIncrement, double pageIncrement, double pageSize)
Creates a new Adjustment

Parameters:
value -
lower -
upper -
stepIncrement -
pageIncrement -
pageSize -

changed

void changed()
changed

valueChanged

void valueChanged()
valueChanged

clampPage

void clampPage(double lower, double upper)
clampPage

Parameters:
lower -
upper -

getValue

double getValue()
Gets the adjustment value

Returns:
the adjustment value

setValue

void setValue(double value)
Sets the adjustment value

Parameters:
value - the new value