|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScrollModelInterface
ScrollModelInterface consolidates properties associated with the scrollbars that can appear on interactive charts when the graph matrix is too large to display in the available chart component area.
Field Summary | |
---|---|
static java.lang.String |
HORIZONTAL_SCROLL_BAR_POLICY_PROPERTY
|
static java.lang.String |
POSITION_PROPERTY
|
static int |
SCROLLBAR_AS_NEEDED
The scrollbar display policy. |
static int |
SCROLLBAR_NEVER
The scrollbar display policy. |
static java.lang.String |
VERTICAL_SCROLL_BAR_POLICY_PROPERTY
|
Method Summary | |
---|---|
int |
getHorizontalScrollBarPolicy()
Returns the horizontal scroll bar policy value. |
java.awt.Point |
getScrollPosition()
Returns the horizontal and vertical (x and y respectivly) scrollbar position values |
int |
getVerticalScrollBarPolicy()
Returns the vertical scroll bar policy value. |
void |
setHorizontalScrollBarPolicy(int newPolicy)
The policy will determine when the horizontal scroll bar may appear. |
void |
setScrollPosition(java.awt.Point newPosition)
Scrolls the horizontal and vertical scrollbar to the specified (x and y respectivly) position. |
void |
setVerticalScrollBarPolicy(int newPolicy)
The policy will determine when the vertical scroll bar may appear. |
void |
translateScrollPosition(java.awt.Point deltaPosition)
Scrolls the horizontal and vertical scrollbar by the specifies (x and y respectively) amounts. |
Field Detail |
---|
static final int SCROLLBAR_AS_NEEDED
setVerticalScrollBarPolicy(int)
,
setHorizontalScrollBarPolicy(int)
,
Constant Field Valuesstatic final int SCROLLBAR_NEVER
setVerticalScrollBarPolicy(int)
,
setHorizontalScrollBarPolicy(int)
,
Constant Field Valuesstatic final java.lang.String VERTICAL_SCROLL_BAR_POLICY_PROPERTY
static final java.lang.String HORIZONTAL_SCROLL_BAR_POLICY_PROPERTY
static final java.lang.String POSITION_PROPERTY
Method Detail |
---|
void setVerticalScrollBarPolicy(int newPolicy)
Valid values:
newPolicy
- when to scrollgetVerticalScrollBarPolicy()
int getVerticalScrollBarPolicy()
Valid values:
setVerticalScrollBarPolicy(int)
void setHorizontalScrollBarPolicy(int newPolicy)
Valid values:
newPolicy
- specify how scrolling is to used.getHorizontalScrollBarPolicy()
int getHorizontalScrollBarPolicy()
Valid values:
setHorizontalScrollBarPolicy(int)
void setScrollPosition(java.awt.Point newPosition)
newPosition
- set scroll positiongetScrollPosition()
java.awt.Point getScrollPosition()
setScrollPosition(java.awt.Point)
void translateScrollPosition(java.awt.Point deltaPosition)
deltaPosition
- amount to scrollsetScrollPosition(java.awt.Point)
,
getScrollPosition()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |