|
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 | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--oracle.dss.datautil.gui.panel.DefaultStandardPanel
A default standard panel. Used as the superclass for many of the CalcBuilder and QueryBuilder panels. If you want to add a custom panel, then you can extend DefaultStandardPanel
rather than implementing the entire StandardPanel
interface.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static int |
PANELSTATE_ENABLED Indicates whether this panel state is enabled. |
static int |
PANELSTATE_ISDIRTY Indicates whether this panel state is dirty. |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
DefaultStandardPanel() Constructor. |
Method Summary | |
void |
addPanelEventListener(PanelEventListener listener) Adds a listener for panel events. |
void |
cleanup() Cleans up any resources that were allocated by this panel. |
boolean |
firePanelEvent(java.util.EventObject panelEvent) Fires the supplied panel event to the registered listeners. |
BuilderContext |
getBuilderContext() Retrieves the BuilderContext object that is associated with this panel. |
java.awt.Component |
getComponent() Retrieves the component that is associated with this panel. |
java.awt.Component |
getContainer() Retrieves the container that is associated with this panel. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
abstract java.lang.String |
getId() Retrieves the identifier for this panel. |
java.awt.Image |
getImage() Retrieves the image for this panel. |
javax.swing.ImageIcon |
getImageIcon() Retrieves the image icon for this panel. |
java.lang.Object |
getPanelContent() Retrieves the content of this panel. |
boolean |
getPanelState(int nPanelState) Retrieves the value of the panel state. |
java.lang.String |
getTitle() Retrieves the title of this panel. |
void |
initializeMembers() Initializes the class members. |
boolean |
initUIContent() Initializes the user interface content of the panel. |
boolean |
isDirty() Retrieves whether the panel is dirty or not. |
boolean |
isInitializing() Indicates whether the view is marked as being in the process of being initialized. |
void |
removePanelEventListener(PanelEventListener listener) Removes a listener for the panel events. |
boolean |
setActive(boolean bIsActive) Specifies whether the panel is to be active or inactive. |
void |
setBuilderContext(BuilderContext builderContext) Specifies the BuilderContext instance for this panel. |
void |
setContainer(java.awt.Component container) Specifies the container that is associated with this panel. |
void |
setDirty(boolean bIsDirty) Specifies whether the panel is dirty or not. |
void |
setHelpContextID(java.lang.String helpContextId) Specifies the Help context ID for this panel. |
void |
setInitializing(boolean bInitializing) Specifies whether the view is to be marked as being in the process of being initialized. |
void |
setPanelContent(java.lang.Object panelContent) Specifies the content for this panel. |
void |
setPanelState(int nPanelState, boolean bValue) Specifies the value of a panel state. |
boolean |
updateData(boolean bUpdateUI) Updates data from the user interface component to the underlying data structure and vice versa. |
boolean |
validateContents(java.lang.Object hintValidate) Validates the contents of the panel. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PANELSTATE_ISDIRTY
false
.public static final int PANELSTATE_ENABLED
true
.Constructor Detail |
public DefaultStandardPanel()
Method Detail |
public void addPanelEventListener(PanelEventListener listener)
addPanelEventListener
in interface StandardPanel
listener
- The listener for the panel events.public void cleanup()
cleanup
in interface StandardPanel
public BuilderContext getBuilderContext()
BuilderContext
object that is associated with this panel.getBuilderContext
in interface StandardPanel
BuilderContext
object.public java.awt.Component getComponent()
getComponent
in interface StandardPanel
public java.awt.Component getContainer()
getContainer
in interface StandardPanel
public abstract java.lang.String getId()
getId
in interface StandardPanel
public java.awt.Image getImage()
getImage
in interface StandardPanel
public javax.swing.ImageIcon getImageIcon()
getImageIcon
in interface StandardPanel
public java.lang.Object getPanelContent()
getPanelContent
in interface StandardPanel
public java.lang.String getTitle()
getTitle
in interface StandardPanel
public boolean isInitializing()
true
if the view is marked as in the process of being initialized, false
otherwise.public void setInitializing(boolean bInitializing)
bInitializing
- true
if the view is to be marked as in the process of being initialized, false
otherwise.public java.lang.String getHelpContextID()
setHelpContextID(String)
. The Help context ID that is used when listening for the user event that requests the display of Help for this panel.getHelpContextID
in interface HelpContext
public void setHelpContextID(java.lang.String helpContextId)
setHelpContextID
in interface HelpContext
helpContextId
- The Help context ID for this panel.public void removePanelEventListener(PanelEventListener listener)
removePanelEventListener
in interface StandardPanel
listener
- The listener for the panel events.public boolean setActive(boolean bIsActive) throws DataUtilException
setActive
in interface StandardPanel
bIsActive
- true
if the panel is to be active; false
if the panel is to be inactive.true
if the operation was successful, false
if the operation was not successful.DataUtilException
- if the operation is unsuccessful.public void setBuilderContext(BuilderContext builderContext)
BuilderContext
instance for this panel.setBuilderContext
in interface StandardPanel
The
- BuilderContext
instance.public void setContainer(java.awt.Component container)
setContainer
in interface StandardPanel
container
- The container.public void setPanelContent(java.lang.Object panelContent)
setPanelContent
in interface StandardPanel
panelContent
- The panel content.public boolean validateContents(java.lang.Object hintValidate)
validateContents
in interface StandardPanel
hintValidate
- A hint object to help in the validation process.true
if the operation was successful, false
if the operation was not successful.public boolean firePanelEvent(java.util.EventObject panelEvent)
panelEvent
- The panel event to be fired.public boolean getPanelState(int nPanelState)
nPanelState
- The panel state whose value is to be checked.true
if the panel state was set; false
if the panel state was not set.public boolean isDirty()
true
if the panel is marked dirty; false
otherwise.public void initializeMembers()
public boolean initUIContent() throws DataUtilException
true
if the operation was successful; false
if the operation was not successful.DataUtilException
- if the operation is unsuccessful.public void setDirty(boolean bIsDirty)
bIsDirty
- true
if the panel needs to be marked dirty; false
if the panel does not need to be marked dirty.public void setPanelState(int nPanelState, boolean bValue)
nPanelState
- The panel state whose value is to be checked.bValue
- The value of the panel state. true
if the panel state is to be set; false
if the panel state is to be cleared.public boolean updateData(boolean bUpdateUI) throws DataUtilException
true if the operation was successful,
false if the operation was not successful.DataUtilException
- if the operation is unsuccessful.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |