|
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.BaseThinBeanUI | +--oracle.dss.thin.beans.tools.BaseViewTool
Base class for all the ViewTools. The BaseViewTool provides default implementation for methods of the ViewTool interface.
ViewTool
, ViewToolListener
, ViewToolEvent
Fields inherited from interface oracle.dss.thin.beans.ThinBeanUI |
EVENT_HANDLED, EVENT_NOT_HANDLED, EVENT_RESPONSE_DONE |
Constructor Summary | |
BaseViewTool() Constructor. | |
BaseViewTool(ThinDataviewCommon view) Constructor, taking a View as a parameter. |
Method Summary | |
void |
addViewToolListener(ViewToolListener l) Registers a listener for the ViewToolEvent s |
java.lang.String |
getDestination() Returns the destination URL for the tool. |
java.lang.String |
getDisplayName() Retrieves the name used to display this tool on the ViewToolbar |
java.lang.String |
getToolbarName() Returns the thin bean name of the toolbar this tools belongs to When the tool belongs to a toolbar, all the events generated by this tool will be handled by the toolbar. |
ThinDataviewCommon |
getView() Retrieves the view modified by this ViewTool . |
boolean |
isEnabled() Indicates whether the tool's link appears on the toolbar. |
boolean |
isVisible() Indicates whether the tool's controls are visible in the ViewToolbar |
void |
removeViewToolListener(ViewToolListener l) Unregisters a listener for the ViewToolEvent s |
void |
setDestination(java.lang.String destination) Specifies the destination URL for the tool. |
void |
setDisplayName(java.lang.String name) Sets the name used to display this tool on the ViewToolbar |
void |
setEnabled(boolean enabled) Specifies whether the tool's link appears on the toolbar. |
void |
setToolbarName(java.lang.String toolbarName) Specifies the thin bean name of the toolbar this tools belongs to When the tool belongs to a toolbar, all the events generated by this tool will be handled by the toolbar. |
void |
setView(ThinDataviewCommon view) Specifies the view modified by this ViewTool . |
void |
setVisible(boolean visible) Specifies whether the tool's controls are visible in the ViewToolbar |
Methods inherited from class oracle.dss.thin.beans.BaseThinBeanUI |
addErrorHandler, checkpointState, generateOnClickSubmit, getCheckpointState, getEventTarget, getLocale, getState, getThinBeanName, removeErrorHandler, setBaseState, setCheckpointState, setEventTarget, setLocale, setState, setThinBeanName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.thin.beans.tools.ViewTool |
getContentUINode |
Methods inherited from interface oracle.dss.thin.beans.ThinBeanUI |
getEventTarget, getLocale, handleEvent, setEventTarget, setLocale |
Methods inherited from interface oracle.dss.thin.beans.ThinBean |
getState, getThinBeanName, setBaseState, setState, setThinBeanName |
Constructor Detail |
public BaseViewTool()
public BaseViewTool(ThinDataviewCommon view)
view
- The ThinDataviewCommon implementationMethod Detail |
public void setView(ThinDataviewCommon view)
ViewTool
.setView
in interface ViewTool
a
- view implementing interface ThinDataviewCommon
public ThinDataviewCommon getView()
ViewTool
.getView
in interface ViewTool
ThinDataviewCommon
public void addViewToolListener(ViewToolListener l)
ViewToolEvent
saddViewToolListener
in interface ViewTool
l
- The listener to add.ViewToolEvent
public void removeViewToolListener(ViewToolListener l)
ViewToolEvent
sremoveViewToolListener
in interface ViewTool
l
- The listener to remove.ViewTypeChangedEvent
public java.lang.String getDisplayName()
getDisplayName
in interface ViewTool
ViewToolbar
public void setDisplayName(java.lang.String name)
setDisplayName
in interface ViewTool
display
- nameViewToolbar
public boolean isVisible()
isVisible
in interface ViewTool
true
if visibleViewToolbar
public void setVisible(boolean visible)
setVisible
in interface ViewTool
visible
- true
if the controls should be visible false
otherwiseViewToolbar
public boolean isEnabled()
isEnabled
in interface ViewTool
true
if enabled, false
otherwiseViewToolbar
public void setEnabled(boolean enabled)
setEnabled
in interface ViewTool
true
- if enabled, false
otherwiseViewToolbar
public java.lang.String getDestination()
getDestination
in interface ViewTool
ViewToolbar
public void setDestination(java.lang.String destination)
setDestination
in interface ViewTool
destination
- URLViewToolbar
public java.lang.String getToolbarName()
getToolbarName
in interface ViewTool
ViewToolbar
public void setToolbarName(java.lang.String toolbarName)
setToolbarName
in interface ViewTool
toolbarName
- the thin bean name of the toolbarViewToolbar
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |