org.wingx
Class XPageScroller

java.lang.Object
  extended by org.wings.SComponent
      extended by org.wings.SContainer
          extended by org.wingx.XPageScroller
All Implemented Interfaces:
Adjustable, Serializable, Cloneable, Renderable

public class XPageScroller
extends SContainer
implements Adjustable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wings.SComponent
DONE_RENDERING, dynamicStyles, enabled, propertyChangeSupport, SELECTOR_ALL, START_RENDERING, visible, WHEN_FOCUSED_OR_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_FRAME
 
Fields inherited from interface java.awt.Adjustable
HORIZONTAL, NO_ORIENTATION, VERTICAL
 
Constructor Summary
XPageScroller()
           
 
Method Summary
 SComponent add(SComponent component)
          Adds a component to the container with null constraint at the end of the internal list.
 SComponent add(SComponent component, double weight)
           
 void addAdjustmentListener(AdjustmentListener adjustmentListener)
           
 int getBlockIncrement()
           
 int getMaximum()
           
 int getMinimum()
           
 SBoundedRangeModel getModel()
           
 int getOrientation()
           
 SPageScroller getPageScroller()
           
 int getUnitIncrement()
           
 int getValue()
           
 int getVisibleAmount()
           
 void normalize(int total)
           
 void removeAdjustmentListener(AdjustmentListener adjustmentListener)
           
 void reset(int total)
           
 void setBlockIncrement(int i)
           
 void setExtent(int value)
           
 void setMaximum(int i)
           
 void setMinimum(int i)
           
 void setModel(SBoundedRangeModel newModel)
           
 void setUnitIncrement(int i)
           
 void setValue(int i)
           
 void setVisibleAmount(int i)
           
 
Methods inherited from class org.wings.SContainer
add, add, add, addComponent, addComponent, addComponent, addComponent, addContainerListener, addNotify, clone, fireContainerEvent, getComponent, getComponentCount, getComponentList, getComponents, getConstraintAt, getConstraintList, getLayout, invite, inviteEachComponent, isShowingChildren, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setCG, setLayout, setParentFrame, updateCG
 
Methods inherited from class org.wings.SComponent
addComponentListener, addDynamicStyle, addEventListener, addParentFrameListener, addPropertyChangeListener, addPropertyChangeListener, addRenderListener, addScriptListener, addStyle, fireComponentChangeEvent, fireFinalEvents, fireKeyEvents, fireRenderEvent, getActionMap, getBackground, getBorder, getCG, getClientProperty, getComponentPopupMenu, getDynamicStyle, getDynamicStyles, getFocusTraversalIndex, getFont, getForeground, getHorizontalAlignment, getInputMap, getInputMap, getListenerCount, getListenerList, getListeners, getLowLevelEventId, getName, getParent, getParentFrame, getPreferredSize, getRequestURL, getResidesInForm, getScriptListenerList, getScriptListeners, getSession, getShowAsFormComponent, getStyle, getToolTipText, getVerticalAlignment, isDifferent, isEnabled, isFocusOwner, isRecursivelyVisible, isReloadForced, isUpdatePossible, isVisible, paramString, processComponentEvent, processKeyEvents, processLowLevelEvent, putClientProperty, reload, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, reloadIfChange, removeComponentListener, removeDynamicStyle, removeEventListener, removeParentFrameListener, removePropertyChangeListener, removePropertyChangeListener, removeRenderListener, removeScriptListener, removeStyle, requestFocus, scrollRectToVisible, setActionMap, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setBackground, setBorder, setCG, setComponentPopupMenu, setDynamicStyles, setEnabled, setFocusTraversalIndex, setFont, setForeground, setHorizontalAlignment, setInputMap, setInputMap, setName, setNameRaw, setParent, setPreferredSize, setReloadForced, setShowAsFormComponent, setStyle, setToolTipText, setVerticalAlignment, setVisible, toString, update, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPageScroller

public XPageScroller()
Method Detail

add

public SComponent add(SComponent component)
Description copied from class: SContainer
Adds a component to the container with null constraint at the end of the internal list.

Overrides:
add in class SContainer
Parameters:
component - the component to add
Returns:
the added component

add

public SComponent add(SComponent component,
                      double weight)

reset

public void reset(int total)

normalize

public void normalize(int total)

setUnitIncrement

public void setUnitIncrement(int i)
Specified by:
setUnitIncrement in interface Adjustable

setBlockIncrement

public void setBlockIncrement(int i)
Specified by:
setBlockIncrement in interface Adjustable

getUnitIncrement

public int getUnitIncrement()
Specified by:
getUnitIncrement in interface Adjustable

getBlockIncrement

public int getBlockIncrement()
Specified by:
getBlockIncrement in interface Adjustable

getValue

public int getValue()
Specified by:
getValue in interface Adjustable

setExtent

public void setExtent(int value)

getVisibleAmount

public int getVisibleAmount()
Specified by:
getVisibleAmount in interface Adjustable

setVisibleAmount

public void setVisibleAmount(int i)
Specified by:
setVisibleAmount in interface Adjustable

getMinimum

public int getMinimum()
Specified by:
getMinimum in interface Adjustable

setMinimum

public void setMinimum(int i)
Specified by:
setMinimum in interface Adjustable

getMaximum

public int getMaximum()
Specified by:
getMaximum in interface Adjustable

setMaximum

public void setMaximum(int i)
Specified by:
setMaximum in interface Adjustable

getOrientation

public int getOrientation()
Specified by:
getOrientation in interface Adjustable

setValue

public void setValue(int i)
Specified by:
setValue in interface Adjustable

addAdjustmentListener

public void addAdjustmentListener(AdjustmentListener adjustmentListener)
Specified by:
addAdjustmentListener in interface Adjustable

removeAdjustmentListener

public void removeAdjustmentListener(AdjustmentListener adjustmentListener)
Specified by:
removeAdjustmentListener in interface Adjustable

getPageScroller

public SPageScroller getPageScroller()

getModel

public SBoundedRangeModel getModel()

setModel

public void setModel(SBoundedRangeModel newModel)


wingS Swings ;-)