|
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.gridView.gui.SamplePanel
The SamplePanel class that's used in combination with other panels (FontPanel, FormatGeneralPanel, HeaderFormatGeneralPanel, NumberFormatPanel, DatePanel and RulesPanel) to reflect the effect that changes to the above panels' attributes will have on the crosstab/table appearance. SamplePanel consists of a table with one column of data. The actual data in the sample depends on the type of panels that SamplePanel is associated with. SamplePanel can be associated with FontPanel, FormatGeneralPanel or HeaderFormatGeneralPanel, NumberFormatPanel or DatePanel, and RulesPanel. It cannot be simultaneously bound to HeaderFormatGeneralPanel and FormatGeneralPanel. If it's bound to HeaderFormatGeneralPanel, header data is used ("header1," "header2," etc.) Otherwise SamplePanel is bound to either DatePanel (than the contents of the SamplePanel reflect dates or to NumberFormatPanel (than SamplePanel contains numbers). SamplePanel has three constructors. One takes 4 parameters: FormatGeneralPanel, FontPanel, NumberFormatPanel, and RulesPanel. The second one takes 4 arguments: FormatGeneralPanel, FontPanel, DatePanel, and RulesPanel. The third one takes 3 parameters: HeaderFormatGeneralPanel, FontPanel, and RulesPanel. There shouldn't be a single constructor that takes all the above panels as arguments to force the user of this class not to use the incompatible panels together (e.g., DatePanel and NumberFormatPanel). The assumption here is that we can only edit homogeneous data. Depending on the constructor used, SamplePanel will determine the type of data that will populate the sample (dates, numbers or headers text).
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 | |
SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, DatePanel datePanel, RulesPanel rulesPanel) This constructor is used for populating the sample column with data composed of dates. | |
SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, NumberFormatPanel numberPanel, DatePanel datePanel, RulesPanel rulesPanel) This constructor is used for populating the sample column with data composed of dates. | |
SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, NumberFormatPanel numberPanel, RulesPanel rulesPanel) This constructor is used for populating the sample column with numerical data. | |
SamplePanel(HeaderFormatGeneralPanel headerGeneralPanel, FontPanel fontPanel, RulesPanel rulesPanel) This constructor is used for populating the sample column with textual data (for formatting headers). |
Method Summary | |
void |
cleanUp() Clean up memory and space |
java.awt.Dimension |
getPreferredSize() Return preferred size of this panel |
void |
setLocale(java.util.Locale loc) Sets locale of the Sample 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, 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, 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 |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Constructor Detail |
public SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, NumberFormatPanel numberPanel, RulesPanel rulesPanel)
public SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, NumberFormatPanel numberPanel, DatePanel datePanel, RulesPanel rulesPanel)
public SamplePanel(FormatGeneralPanel generalPanel, FontPanel fontPanel, DatePanel datePanel, RulesPanel rulesPanel)
public SamplePanel(HeaderFormatGeneralPanel headerGeneralPanel, FontPanel fontPanel, RulesPanel rulesPanel)
Method Detail |
public void setLocale(java.util.Locale loc)
setLocale
in class java.awt.Component
public void cleanUp()
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |