org.openfaces.component.util
Class ScrollPosition
java.lang.Object
UIComponentBase
org.openfaces.component.util.ScrollPosition
public class ScrollPosition
- extends UIComponentBase
The ScrollPosition component is a non-visual component that controls the scroll
position of the page or an associated component. By using it, you can specify the
position of the scroll when the page is loaded and save the scroll position between
page submissions.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
ScrollPosition
public ScrollPosition()
getFamily
public java.lang.String getFamily()
getValue
public java.awt.Point getValue()
setValue
public void setValue(java.awt.Point value)
getAutoSaveScrollPos
public boolean getAutoSaveScrollPos()
setAutoSaveScrollPos
public void setAutoSaveScrollPos(boolean autoSaveScrollPos)
getFor
public java.lang.String getFor()
setFor
public void setFor(java.lang.String aFor)
encodeBegin
public void encodeBegin(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
decode
public void decode(FacesContext context)
saveState
public java.lang.Object saveState(FacesContext context)
restoreState
public void restoreState(FacesContext context,
java.lang.Object state)
processUpdates
public void processUpdates(FacesContext context)
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.