|
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.queryBuilder.ShuttlePanel
This class handles the Shuttle panel in the QueryBuilder.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
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 | |
ShuttlePanel(QueryBuilder queryBuilder) Constructor that creates the ShuttlePanel based on the settings of the QueryBuilder 's properties. | |
ShuttlePanel(QueryBuilder queryBuilder, java.awt.LayoutManager layoutManager) Constructor that creates the ShuttlePanel based on the settings of the QueryBuilder 's properties and on the LayoutManager . |
Method Summary | |
void |
clearSelection() Clears the selection from the shuttle component. |
void |
fireFocusEvent(java.awt.event.FocusEvent e) Dispatches a focus event to all listeners. |
void |
fireMouseEvent(java.awt.event.MouseEvent e) Dispatches a mouse event to all listeners. |
java.lang.Object[] |
getAllItems() Retrieves the array of all items from the shuttle component. |
java.awt.Component |
getComponent() Retrieves the component that is associated with the ShuttlePanel . |
java.lang.String |
getHelpContextId() Retrieves the Help context ID 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[] |
getSelectedItems() Retrieves an array of selected items from the shuttle component. |
java.lang.String |
getTitle() Retrieves the title of this panel. |
void |
insertItems(java.lang.Object[] newItems) Inserts an array of items into the shuttle component. |
boolean |
isSelectableItemPresent() Indicates to the shuttle if any items that are suitable for shuttling are present. |
void |
registerFocusListener(java.awt.event.FocusListener listener) Adds classes that want to be notified when a particular component in the ShuttlePanel gains focus. |
void |
registerMouseListener(java.awt.event.MouseListener listener) Adds classes that want to be notified when a particular component in the ShuttlePanel generates a mouse event. |
void |
removeAllItems() Removes all the items from the shuttle component. |
void |
removeSelectedItems() Removes the selected items from the shuttle component. |
boolean |
setActive(boolean bIsActive) Specifies whether the component is active or inactive. |
void |
setAvailable(boolean blnAvailable) Specifies whether the panel is available. |
void |
unregisterFocusListener(java.awt.event.FocusListener listener) Removes classes that do not want to be notified when a particular component in the ShuttlePanel gains focus. |
void |
unregisterMouseListener(java.awt.event.MouseListener listener) Removes classes that do not want to be notified when a particular component in the ShuttlePanel generates a mouse event. |
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 |
Constructor Detail |
public ShuttlePanel(QueryBuilder queryBuilder, java.awt.LayoutManager layoutManager)
ShuttlePanel
based on the settings of the QueryBuilder
's properties and on the LayoutManager
.queryBuilder
- A reference to the parent QueryBuilder
bean.layoutManager
- The LayoutManager
that is used for the panel.public ShuttlePanel(QueryBuilder queryBuilder)
ShuttlePanel
based on the settings of the QueryBuilder
's properties.queryBuilder
- A reference to the parent QueryBuilder
bean.Method Detail |
public void setAvailable(boolean blnAvailable)
blnAvailable
- true
if the panel is available, false
if the panel is not available.public void registerFocusListener(java.awt.event.FocusListener listener)
ShuttlePanel
gains focus.listener
- The listener that waits for the panel to gain focus.public void unregisterFocusListener(java.awt.event.FocusListener listener)
ShuttlePanel
gains focus.listener
- The listener that waits for the panel to gain focus.public void registerMouseListener(java.awt.event.MouseListener listener)
ShuttlePanel
generates a mouse event.listener
- The listener that waits for the panel to generate an event.public void unregisterMouseListener(java.awt.event.MouseListener listener)
ShuttlePanel
generates a mouse event.listener
- The listener that waits for the panel to generate an event.public void fireFocusEvent(java.awt.event.FocusEvent e)
e
- The event to dispatch.public void fireMouseEvent(java.awt.event.MouseEvent e)
e
- The event to dispatch.public java.awt.Component getComponent()
ShuttlePanel
.public java.lang.String getHelpContextId()
public java.lang.Object[] getSelectedItems()
public java.lang.Object[] getAllItems()
public void insertItems(java.lang.Object[] newItems)
newItems
- The array of items to be inserted.public void removeSelectedItems()
public void removeAllItems()
public void clearSelection()
public boolean isSelectableItemPresent()
true
if items to shuttle are available, false
if no items are available for shuttling.public javax.swing.ImageIcon getImageIcon()
public java.awt.Image getImage()
public java.lang.String getTitle()
public boolean setActive(boolean bIsActive)
bIsActive
- true
if the component is active, false
if the component is inactive.true
if the operation was successful, false
otherwise.public boolean validateContents(java.lang.Object hintValidate)
hintValidate
- A hint object to help in the validation process.true
if the operation was successful, false
if the operation was not successful.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |