|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.thin.beans.dataView.PagingControl
The paging control for the thin presentation.
Method Summary | |
java.lang.String |
getComponentName() Retrieves the name of the paging control. |
int |
getID() Retrieves the ID for the paging control. |
ViewStyle |
getViewStyle() Retrieves the ViewStyle that specifies the format of the items in the paging control. |
int |
getWidth() Retrieves the number of page items that appear on a line. |
boolean |
isAutosubmit() Indicates whether changes in this PagingControl are automatically submitted to the data source. |
boolean |
isEnabled() Indicates whether this PagingControl is enabled. |
boolean |
isVisible() Indicates whether this PagingControl is visible. |
void |
setAutosubmit(boolean autosubmit) Specifies whether changes in this PagingControl are automatically submitted to the data source. |
void |
setEnabled(boolean enabled) Specifies whether this PagingControl is enabled. |
void |
setViewStyle(ViewStyle vs) Specifies the ViewStyle that specifies the format of the items in the paging control. |
void |
setVisible(boolean visible) Specifies whether this PagingControl is visible. |
void |
setWidth(int width) Specifies the number of page items to display in a line. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.dataView.ViewComponent |
getBeanInfo |
Method Detail |
public int getID()
getID
in interface ViewComponent
public java.lang.String getComponentName()
getComponentName
in interface ViewComponent
public ViewStyle getViewStyle()
ViewStyle
that specifies the format of the items in the paging control.
Note: Before you apply oracle.dss.dataView.CSSStyleDefaults
to the view, the ViewStyle
that this method returns does not have the default values that the paging control actually uses. The paging control gets its values from the cascading style sheet. The only ViewStyle
properties that the paging control uses are those that have been explicitly set. To find whether a property has been explicitly set, call the isPropertyUsed
method. For example, if isBackgroundUsed
returns true
, then the Background
property has been explicitly set, and the paging control will use the Background
value over the value in the CSS file.
getViewStyle
in interface Styleable
ViewStyle
that specifies formatting for the page items.ThinGridView.applyCSSStyleDefaults(oracle.dss.dataView.CSSStyleDefaults)
public void setViewStyle(ViewStyle vs)
ViewStyle
that specifies the format of the items in the paging control.setViewStyle
in interface Styleable
vs
- The ViewStyle
to use for formatting the page items.public void setEnabled(boolean enabled)
PagingControl
is enabled. When a PagingControl
is disabled, it is visible, but users cannot operate on the PagingControl
.enabled
- true
to enable this PagingControl
, false
to disable it.public boolean isEnabled()
PagingControl
is enabled. When a PagingControl
is disabled, it is visible, but users cannot operate on the PagingControl
.true
if the PagingControl
is enabled, false
if the PagingControl
is disabled.public void setVisible(boolean visible)
PagingControl
is visible. If you make this PagingControl
visible, then you must also define a Find Member dialog and connect it to the thin presentation that goes with this paging control.visible
- true
to display this PagingControl
, false
to not display it.FindMember
public boolean isVisible()
PagingControl
is visible.true
if the PagingControl
is visible, false
if the PagingControl
is visible.public void setAutosubmit(boolean autosubmit)
PagingControl
are automatically submitted to the data source. By default, Autosubmit
is false
.autosubmit
- true
to enable automatic submission of changes, false
to disable automatic submission.public boolean isAutosubmit()
PagingControl
are automatically submitted to the data source.true
if automatic submission is enabled, false
if it is not.public void setWidth(int width)
PagingControl
has more page items than the value that you specify in this method, then the extra page items appear on a new line. By default, this property is set to 3.width
- The number of page items to display in a line. To display all page items on the same line, pass 0.public int getWidth()
PagingControl
displays more page items than the value that this method returns, then the extra page items wrap to a new line.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |