|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.positionable.AbstractComponentDelegate echopoint.positionable.ScrollableDelegate
ScrollableDelegate
is a simple delegate object
than can be used inside a component that implements
Scrollable.
Nested Class Summary |
Nested classes inherited from class echopoint.positionable.Scrollable |
Scrollable.NestedStyleInfo |
Field Summary |
Fields inherited from interface echopoint.positionable.Scrollable |
HEIGHT_CHANGED_PROPERTY, SCROLL_BAR_X_CHANGED_PROPERTY, SCROLL_BAR_Y_CHANGED_PROPERTY, SCROLLBAR_POLICY_CHANGED_PROPERTY, SCROLLBARS_ALWAYS, SCROLLBARS_AUTO, SCROLLBARS_CLIPHIDE, SCROLLBARS_NEVER, STYLE_HEIGHT, STYLE_SCROLL_BAR_POLICY, STYLE_WIDTH, UNDEFINED, undefinedSymbolic, WIDTH_CHANGED_PROPERTY |
Constructor Summary | |
ScrollableDelegate(nextapp.echo.Component delegatee)
|
Method Summary | |
void |
applyStyle(nextapp.echo.Style style)
|
int |
getHeight()
Returns the height of the component |
int |
getScrollBarPolicy()
Returns the ScrollBarPolicy in place This can be one of : SCOLLBARS_NONE SCOLLBARS_ALWAYS SCOLLBARS_AUTO |
int |
getScrollBarX()
Returns the position of the horizontal scroll bar, in pixels offset from the left of the component. |
int |
getScrollBarY()
Returns the position of the vertical scroll bar, in pixels offset from the top the component. |
int |
getWidth()
Returns the width of the component |
void |
setHeight(int newValue)
Sets the height of the component |
void |
setScrollBarPolicy(int newScrollBarPolicy)
Sets the scroll bar policy of the component This can be one of : SCOLLBARS_NONE SCOLLBARS_ALWAYS SCOLLBARS_AUTO |
void |
setScrollBarX(int newValue)
Sets the position of the horizontal scroll bar, in pixels offset from the left of the component. |
void |
setScrollBarY(int newValue)
Sets the position of the vertical scroll bar, in pixels offset from the top of the component. |
void |
setWidth(int newValue)
Set the width of the component |
Methods inherited from class echopoint.positionable.AbstractComponentDelegate |
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getDelegatee |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScrollableDelegate(nextapp.echo.Component delegatee)
Method Detail |
public void applyStyle(nextapp.echo.Style style)
applyStyle
in interface Scrollable
Scrollable.applyStyle(nextapp.echo.Style)
public int getHeight()
Scrollable
getHeight
in interface Scrollable
Scrollable.getHeight()
public int getScrollBarPolicy()
Scrollable
getScrollBarPolicy
in interface Scrollable
Scrollable.getScrollBarPolicy()
public int getScrollBarX()
Scrollable
getScrollBarX
in interface Scrollable
Scrollable.getScrollBarX()
public int getScrollBarY()
Scrollable
getScrollBarY
in interface Scrollable
Scrollable.getScrollBarY()
public int getWidth()
Scrollable
getWidth
in interface Scrollable
Scrollable.getWidth()
public void setHeight(int newValue)
Scrollable
setHeight
in interface Scrollable
Scrollable.setHeight(int)
public void setScrollBarPolicy(int newScrollBarPolicy)
Scrollable
setScrollBarPolicy
in interface Scrollable
Scrollable.setScrollBarPolicy(int)
public void setScrollBarX(int newValue)
Scrollable
setScrollBarX
in interface Scrollable
newValue
- The new position of the horizontal scroll bar, in pixels.Scrollable.setScrollBarX(int)
public void setScrollBarY(int newValue)
Scrollable
setScrollBarY
in interface Scrollable
newValue
- The new position of the vertical scroll bar, in pixels.Scrollable.setScrollBarY(int)
public void setWidth(int newValue)
Scrollable
setWidth
in interface Scrollable
Scrollable.setWidth(int)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |