|
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.FormatGeneralPanel
Defines the gridView FormatGeneral panel. End-users use the gridView FormatFormatGeneral panel to set format general attributes of table or crosstab
This class fires propertyChange
events for every property that is exposed in this panel.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static java.lang.String |
PROPERTY_BACKGROUND_COLOR Property: Background Color |
static java.lang.String |
PROPERTY_BOTTOM_LINE_COLOR Property: Bottom Line Color. |
static java.lang.String |
PROPERTY_BOTTOM_LINE_WIDTH Property: Bottom Line Width. |
static java.lang.String |
PROPERTY_DATA_BARS_COLOR Property: Data Bars Color. |
static java.lang.String |
PROPERTY_DATA_BARS_VISIBLE Property: Data Bars Visible. |
static java.lang.String |
PROPERTY_LEFT_LINE_COLOR Property: Left Line Color. |
static java.lang.String |
PROPERTY_LEFT_LINE_WIDTH Property: Left Line Width. |
static java.lang.String |
PROPERTY_OUTLINE_COLOR Property: Outline Color. |
static java.lang.String |
PROPERTY_OUTLINE_WIDTH Property: Outline Width. |
static java.lang.String |
PROPERTY_RIGHT_LINE_COLOR Property: Right Line Color. |
static java.lang.String |
PROPERTY_RIGHT_LINE_WIDTH Property: Right Line Width. |
static java.lang.String |
PROPERTY_TOP_LINE_COLOR Property: Top Line Color. |
static java.lang.String |
PROPERTY_TOP_LINE_WIDTH Property: Top Line Width. |
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 | |
FormatGeneralPanel(ViewStyle gridViewStyle) Constructor. |
Method Summary | |
boolean |
apply(ViewStyle gridViewStyle) Applies to the gridView the changes that have been made to this panel. |
void |
cleanUp() Clean up memory and space |
java.lang.String |
getApplicationName() Retrieves the name of the application that uses this panel. |
java.awt.Color |
getBackgroundColor() retrive current BackgroundColor |
java.awt.Color |
getBottomColor() retrive current BottomColor |
int |
getBottomStyle() retrive current BottomlineStyle |
int |
getBottomWidth() retrive current BottomWidth |
java.awt.Color |
getDataBarColor() retrive current DataBarColor |
ErrorHandler |
getErrorHandler() Retrieves the error handler that this FormatFormatGeneral uses. |
java.lang.String |
getFormatName() retrive current format name |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
java.awt.Color |
getLeftColor() retrive current LeftColor |
int |
getLeftStyle() retrive current LeftlineStyle |
int |
getLeftWidth() retrive current LeftWidth |
java.awt.Dimension |
getMinimumSize() Retrieves the minimum size of the Plot Area panel. |
java.awt.Color |
getOutlineColor() retrive current OutlineColor |
int |
getOutlineStyle() retrive current OutlineStyle |
int |
getOutlineWidth() retrive current OutlineWidth |
java.awt.Dimension |
getPreferredSize() Retrieves the size at which the Plot Area panel looks best. |
java.awt.Color |
getRightColor() retrive current RightColor |
int |
getRightStyle() retrive current RightStyle |
int |
getRightWidth() retrive current RightWidth |
java.awt.Color |
getTopColor() retrive current TopColor |
int |
getTopStyle() retrive current ToplineStyle |
int |
getTopWidth() retrive current TopWidth |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
boolean |
isShowDataBar() retrive current ShowDataBar |
void |
setApplicationName(java.lang.String name) Specifies the name of application that uses this panel. |
void |
setBackgroundColor(java.awt.Color color) Specifies the current BackgroundColor . |
void |
setBottomColor(java.awt.Color color) Specifies the current BottomColor . |
void |
setBottomStyle(int style) Specifies the current BottomlineStyle . |
void |
setBottomWidth(int width) Specifies the current BottomWidth . |
void |
setDataBarColor(java.awt.Color color) Specifies the current DataBarColor . |
void |
setErrorHandler(ErrorHandler eh) Specifies an error handler for this FormatFormatGeneral . |
void |
setFormatName(java.lang.String name) Specifies the current Format name. |
void |
setHelpContextID(java.lang.String strHelpContextID) Sets the Help context ID for this panel. |
void |
setHelpEnabled(boolean bValue) Specifies whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setLeftColor(java.awt.Color color) Specifies the current LeftColor . |
void |
setLeftStyle(int style) Specifies the current LeftlineStyle . |
void |
setLeftWidth(int width) Specifies the current LeftWidth . |
void |
setLocale(java.util.Locale loc) Specifies the current Locale that the gridView uses. |
void |
setOutlineColor(java.awt.Color color) Specifies the current OutlineColor . |
void |
setOutlineStyle(int style) Specifies the current OutlineStyle . |
void |
setOutlineWidth(int width) Specifies the current OutlineWidth . |
void |
setRightColor(java.awt.Color color) Specifies the current RightColor . |
void |
setRightStyle(int style) Specifies the current RightlineStyle . |
void |
setRightWidth(int width) Specifies the current RightWidth . |
void |
setShowDataBar(boolean trueOrFalse) Specifies the current ShowDataBar . |
void |
setTopColor(java.awt.Color color) Specifies the current TopColor . |
void |
setTopStyle(int style) Specifies the current ToplineStyle . |
void |
setTopWidth(int width) Specifies the current TopWidth . |
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, 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.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Field Detail |
public static final java.lang.String PROPERTY_BACKGROUND_COLOR
public static final java.lang.String PROPERTY_DATA_BARS_VISIBLE
apply
method of this panel sets the Visible
property of the object that represents Data Bars.public static final java.lang.String PROPERTY_DATA_BARS_COLOR
apply
method of this panel sets the Color
property of the object that represents Data Bars.public static final java.lang.String PROPERTY_OUTLINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents hOutline.public static final java.lang.String PROPERTY_OUTLINE_COLOR
apply
method of this panel sets the LineColor
property of the object that represents Outline.public static final java.lang.String PROPERTY_LEFT_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents Left lines.public static final java.lang.String PROPERTY_LEFT_LINE_COLOR
apply
method of this panel sets the LineColor
property of the object that represents Left Line.public static final java.lang.String PROPERTY_TOP_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents Top lines.public static final java.lang.String PROPERTY_TOP_LINE_COLOR
apply
method of this panel sets the LineColor
property of the object that represents Top Line.public static final java.lang.String PROPERTY_RIGHT_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents Right lines.public static final java.lang.String PROPERTY_RIGHT_LINE_COLOR
apply
method of this panel sets the LineColor
property of the object that represents Right Line.public static final java.lang.String PROPERTY_BOTTOM_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents Bottom lines.public static final java.lang.String PROPERTY_BOTTOM_LINE_COLOR
apply
method of this panel sets the LineColor
property of the object that represents Bottom Line.Constructor Detail |
public FormatGeneralPanel(ViewStyle gridViewStyle)
gridView
- The GridView to which this object belongs.Method Detail |
public void setErrorHandler(ErrorHandler eh)
FormatFormatGeneral
. If an error handler has been set, then this FormatFormatGeneral
reports error conditions to the handler. Otherwise, it prints the stack trace.eh
- The error handler that this panel should use.public ErrorHandler getErrorHandler()
FormatFormatGeneral
uses.null
if no error handler has been set.public java.lang.String getHelpContextID()
getHelpContextID
in interface HelpContext
public void setHelpContextID(java.lang.String strHelpContextID)
setHelpContextID
in interface HelpContext
oracle.dss.util.help.HelpContext
strHelpContextID
- a String
value that represents the Help context ID.public void setLocale(java.util.Locale loc)
Locale
that the gridView uses.setLocale
in class java.awt.Component
loc
- The current Locale
.public void setFormatName(java.lang.String name)
Format
name.name
- The current Format name.public java.lang.String getFormatName()
public void setBackgroundColor(java.awt.Color color)
BackgroundColor
.color
- The current BackgroundColor.public java.awt.Color getBackgroundColor()
public void setDataBarColor(java.awt.Color color)
DataBarColor
.color
- The current DataBarColor.public java.awt.Color getDataBarColor()
public void setShowDataBar(boolean trueOrFalse)
ShowDataBar
.trueOrFalse
- The current ShowDataBar.public boolean isShowDataBar()
public void setOutlineWidth(int width)
OutlineWidth
.width
- The current OutlineWidth.public int getOutlineWidth()
public void setOutlineStyle(int style)
OutlineStyle
.style
- The current OutlineStyle.public int getOutlineStyle()
public void setOutlineColor(java.awt.Color color)
OutlineColor
.color
- The current OutlineColor.public java.awt.Color getOutlineColor()
public void setTopWidth(int width)
TopWidth
.width
- The current TopWidth.public int getTopWidth()
public void setTopStyle(int style)
ToplineStyle
.style
- The current ToplineStyle.public int getTopStyle()
public void setLeftWidth(int width)
LeftWidth
.width
- The current LeftWidth.public int getLeftWidth()
public void setLeftStyle(int style)
LeftlineStyle
.style
- The current LeftlineStyle.public int getLeftStyle()
public void setBottomWidth(int width)
BottomWidth
.width
- The current BottomWidth.public int getBottomWidth()
public void setBottomStyle(int style)
BottomlineStyle
.style
- The current BottomlineStyle.public int getBottomStyle()
public void setRightWidth(int width)
RightWidth
.width
- The current RightWidth.public int getRightWidth()
public void setRightStyle(int style)
RightlineStyle
.style
- The current RightStyle.public int getRightStyle()
public void setTopColor(java.awt.Color color)
TopColor
.color
- The current TopColor.public java.awt.Color getTopColor()
public void setLeftColor(java.awt.Color color)
LeftColor
.color
- The current LeftColor.public java.awt.Color getLeftColor()
public void setBottomColor(java.awt.Color color)
BottomColor
.color
- The current BottomColor.public java.awt.Color getBottomColor()
public void setRightColor(java.awt.Color color)
RightColor
.color
- The current RightColor.public java.awt.Color getRightColor()
public boolean apply(ViewStyle gridViewStyle)
public java.awt.Dimension getPreferredSize()
Dimension
object. If no panel size has been specified, then the preferred size is the default size of the panel.getPreferredSize
in class javax.swing.JComponent
Dimension
object that specifies the size for the Plot Area panel.public void setApplicationName(java.lang.String name)
name
- The name to display in alerts that this panel produces. In localized versions, pass a localized String
.public java.lang.String getApplicationName()
public java.awt.Dimension getMinimumSize()
Dimension
object.getMinimumSize
in class javax.swing.JComponent
Dimension
object that specifies the smallest size that the panel can be made without truncating its components in the UI.public void setHelpEnabled(boolean bValue)
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would specify whether that Help button is displayed.
bValue
- true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would tell you whether that Help button is displayed.
true
if the Help button is hidden, false
if it is displayed.public void cleanUp()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |