|
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 | +--oracle.dss.queryBuilder.StepTreeShuttlePanel
This class handles the StepTreeShuttle panel in the QueryBuilder. This class is a superclass of the ConditionsPanel
class. This class is the graphical user interface that list steps in a tree-like structure and allows shuttling.
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 | |
StepTreeShuttlePanel(QueryBuilder queryBuilder, java.lang.String currentDimension, boolean isSelected) Constructor that creates the StepTreeShuttlePanel based on the settings of the QueryBuilder 's properties. |
Method Summary | |
void |
clearSelection() Clears the selection on the tree. |
java.lang.Object[] |
getAllItems() Retrieves the array of all items from the shuttle component. |
java.lang.String |
getCurrentDimension() Retrieves the current dimension. |
java.lang.Object[] |
getSelectedItems() Retrieves an array of Step objects that are selected on this panel. |
Step |
getSelectedStep() Retrieves the currently selected step. |
javax.swing.JTree |
getTree() Retrieves the JTree that is contained in this panel. |
void |
insertItems(java.lang.Object[] newItems) Inserts an array of Step objects into the tree. |
boolean |
isSelectableItemPresent() Indicates to the shuttle if any items that are suitable for shuttling are present. |
void |
moveSelectedNode(boolean moveUp) Moves the currently selected node up or down. |
void |
removeAllItems() Removes all the nodes in the tree. |
void |
removeSelectedItems() Removes the selected nodes from the tree. |
void |
resizeMainPnlToFitVisible() Resizes the width of the editor for the steps, when the splitter is resized. |
boolean |
setActive(boolean isActive) Specifies whether the component is active or inactive. |
void |
setCurrentDimension(java.lang.String newDimension) Specifies the current dimension. |
void |
setEnabled(boolean isEnabled) Specifies whether to enable the editing of the steps. |
Methods inherited from class oracle.dss.queryBuilder.ShuttlePanel |
fireFocusEvent, fireMouseEvent, getComponent, getHelpContextId, getImage, getImageIcon, getTitle, registerFocusListener, registerMouseListener, setAvailable, unregisterFocusListener, unregisterMouseListener, validateContents |
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, 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 StepTreeShuttlePanel(QueryBuilder queryBuilder, java.lang.String currentDimension, boolean isSelected)
StepTreeShuttlePanel
based on the settings of the QueryBuilder
's properties.queryBuilder
- A reference to the parent QueryBuilder
bean.currentDimension
- The dimension for which the steps are displayedisSelected
- true
if this panel is on the Selected side of the shuttle, false
if this panel is on the Available side.Method Detail |
public void resizeMainPnlToFitVisible()
public void setCurrentDimension(java.lang.String newDimension)
newDimension
- The unique name of the dimension.public java.lang.String getCurrentDimension()
public void setEnabled(boolean isEnabled)
setEnabled
in class javax.swing.JComponent
isEnabled
- true
if editing is enabled, false
is editing is disabled.public Step getSelectedStep()
Step
objectpublic java.lang.Object[] getSelectedItems()
Step
objects that are selected on this panel.getSelectedItems
in class ShuttlePanel
Step
objects.public java.lang.Object[] getAllItems()
getAllItems
in class ShuttlePanel
public void insertItems(java.lang.Object[] newItems)
Step
objects into the tree. If items in the array are not steps, then they are ignored.insertItems
in class ShuttlePanel
newItems
- The array of Step
objects to be inserted.public void removeSelectedItems()
removeSelectedItems
in class ShuttlePanel
public void removeAllItems()
removeAllItems
in class ShuttlePanel
public void clearSelection()
clearSelection
in class ShuttlePanel
public javax.swing.JTree getTree()
JTree
that is contained in this panel.JTree
component.public void moveSelectedNode(boolean moveUp)
moveUp
- true
if the node should move up, false
if the node should move down.public boolean setActive(boolean isActive)
setActive
in class ShuttlePanel
isActive
- true
if the component is active, false
if the component is inactive.true
if the operation was successful, false
otherwise.public boolean isSelectableItemPresent()
isSelectableItemPresent
in class ShuttlePanel
true
if items to shuttle are available, false
if no items are available for shuttling.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |