|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
com.guiseframework.component.AbstractComponent
com.guiseframework.component.AbstractCompositeComponent
com.guiseframework.component.AbstractMultipleCompositeComponent
com.guiseframework.component.AbstractArrayCompositeComponent
com.guiseframework.component.AbstractEnumCompositeComponent<ScrollControl.ScrollComponent>
com.guiseframework.component.ScrollControl
public class ScrollControl
A control that allows the user to scroll its contents
The control's contents are specified using setContent(Component).
| Nested Class Summary | |
|---|---|
protected static class |
ScrollControl.ScrollComponent
The enumeration of frame components. |
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractComponent |
|---|
AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>, AbstractComponent.AbstractFlyoverStrategy<S extends Component>, AbstractComponent.DefaultFlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Control |
|---|
Control.Status |
| Field Summary |
|---|
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.ContentComponent |
|---|
CONTENT_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Control |
|---|
STATUS_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Constructor Summary | |
|---|---|
ScrollControl()
Default constructor with no content component. |
|
ScrollControl(Component component)
Component constructor. |
|
| Method Summary | |
|---|---|
Component |
getContent()
|
protected Enableable |
getEnableable()
|
Control.Status |
getStatus()
|
boolean |
isEnabled()
|
void |
reset()
Resets the control to its default value. |
void |
setContent(Component newContent)
Sets the content child component. |
void |
setEnabled(boolean newEnabled)
Sets whether the control is enabled and and can receive user input. |
protected void |
setStatus(Control.Status newStatus)
Sets the status of the current user input. |
| Methods inherited from class com.guiseframework.component.AbstractEnumCompositeComponent |
|---|
getComponent, setComponent |
| Methods inherited from class com.guiseframework.component.AbstractArrayCompositeComponent |
|---|
getChildComponents, getChildList, getComponent, hasChildComponents, setComponent |
| Methods inherited from class com.guiseframework.component.AbstractMultipleCompositeComponent |
|---|
addComponent, removeComponent |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.component.CompositeComponent |
|---|
addCompositeComponentListener, getChildComponents, hasChildComponents, removeCompositeComponentListener |
| Constructor Detail |
|---|
public ScrollControl()
component - The single content child component, or null if this control should have no content child component.public ScrollControl(Component component)
component - The single child component, or null if this control should have no child component.| Method Detail |
|---|
protected Enableable getEnableable()
public Component getContent()
getContent in interface ContentComponentnull if this frame does not have a content child component.ScrollControl.ScrollComponent.CONTENT_COMPONENTpublic void setContent(Component newContent)
setContent in interface ContentComponentnewContent - The content child component, or null if this frame does not have a content child component.ScrollControl.ScrollComponent.CONTENT_COMPONENT,
ContentComponent.CONTENT_PROPERTYpublic Control.Status getStatus()
getStatus in interface Controlnull if there is no status to report.protected void setStatus(Control.Status newStatus)
newStatus - The new status of the current user input, or null if there is no status to report.Control.STATUS_PROPERTYpublic void reset()
reset in interface ControlAbstractComponent.setNotification(Notification)public boolean isEnabled()
isEnabled in interface Enableablepublic void setEnabled(boolean newEnabled)
Boolean.
setEnabled in interface EnableablenewEnabled - true if the control should indicate and accept user input.Enableable.ENABLED_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||