|
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.JLabel | +--oracle.dss.dataView.BaseTitle
The title component for a data view.
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 javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NORTH, NORTH_EAST, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
java.awt.Font |
getFont() Retrieves a Font object for the title. |
java.lang.String |
getFontName() get font name |
int |
getFontSize() get font size |
int |
getHorizontalAlignment() Retrieves the horizontal alignment for the font within its rectangle. |
java.lang.String |
getText() Returns the parsed text for a string that includes variables. |
java.lang.String |
getUnParseText() Retrieves the unparsed text for the title. |
boolean |
isFocusTraversable() Indicates whether this component can receive the focus. |
boolean |
isFontBold() is font bold? |
boolean |
isFontItalic() is font italic? |
boolean |
isUnderline() Indicates whether the text is underlined with one line. |
boolean |
isVisible() Indicates whether the title is visible. |
void |
setBackground(java.awt.Color bg) Specifies the background color of this component. |
void |
setFont(java.awt.Font f) Specifies a Font object for the title. |
void |
setFontBold(boolean bold) specifies wheather the font is bold. |
void |
setFontItalic(boolean italic) specifies wheather the font is italic. |
void |
setFontName(java.lang.String name) specifies the font name. |
void |
setFontSize(int size) specifies the font size. |
void |
setForeground(java.awt.Color fg) Specifies the foreground color of this component. |
void |
setHorizontalAlignment(int alignment) Specifies the horizontal alignment for the font within its rectangle. |
void |
setText(java.lang.String t) Specifies the parsed text for a String that includes variables. |
void |
setUnderline(boolean underline) Specifies whether the text is underlined with one line. |
void |
setVisible(boolean b) Specifies whether the title is visible. |
Methods inherited from class javax.swing.JLabel |
getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setUI, setVerticalAlignment, setVerticalTextPosition, 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, 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, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, 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, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, 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 |
Methods inherited from interface oracle.dss.dataView.DataviewTitles |
getBackground, getForeground |
Methods inherited from interface oracle.dss.dataView.ViewComponent |
getBeanInfo, getComponentName, getID |
Method Detail |
public boolean isFocusTraversable()
isFocusTraversable
in class javax.swing.JComponent
true
if this component can receive the focus.public void setVisible(boolean b)
setVisible
in interface Titles
setVisible
in class javax.swing.JComponent
b
- true
to make the title visible, false
to make the title invisible.public boolean isVisible()
isVisible
in interface Titles
isVisible
in class java.awt.Component
true
if it is visible, false
if it is invisible.public void setText(java.lang.String t)
String
that includes variables.setText
in interface Titles
setText
in class javax.swing.JLabel
t
- The parsed text for a String
that includes variables. If you pass an empty string, then this method logs an error with the error handler and does not change the text.public java.lang.String getText()
getText
in interface Titles
getText
in class javax.swing.JLabel
public java.lang.String getUnParseText()
getUnParseText
in interface Titles
public void setBackground(java.awt.Color bg)
setBackground
in interface DataviewTitles
setBackground
in class javax.swing.JComponent
oracle.dss.dataView.DataviewTitles
bg
- The background color for this title.public void setForeground(java.awt.Color fg)
setForeground
in interface DataviewTitles
setForeground
in class javax.swing.JComponent
oracle.dss.dataView.DataviewTitles
fg
- The foreground color for this title.public void setFont(java.awt.Font f)
Font
object for the title. A Font
object is the awt
object with attributes such as name, style, and absolute size.setFont
in interface FontAttribute
setFont
in class javax.swing.JComponent
f
- A Font
object for the title.public java.awt.Font getFont()
Font
object for the title. A Font
object is the awt
object with attributes such as name, style, and absolute size.getFont
in interface FontAttribute
getFont
in class java.awt.Component
Font
object for the title.public int getFontSize()
public void setFontSize(int size)
size
- of the fontpublic java.lang.String getFontName()
public void setFontName(java.lang.String name)
name
- of the fontpublic boolean isFontBold()
public void setFontBold(boolean bold)
bold
- true
to set the font to bold false
to prevent the font to be bold.public boolean isFontItalic()
public void setFontItalic(boolean italic)
italic
- true
to set the font to italic false
to prevent the font to be italic.public void setUnderline(boolean underline)
setUnderline
in interface DataviewTitles
underline
- true
to underline the text with one line, false
to prevent the text from being underlined with one line.public boolean isUnderline()
isUnderline
in interface DataviewTitles
true
if the text is underlined with one line, false
if the text is not underlined with one line.public void setHorizontalAlignment(int alignment)
setHorizontalAlignment
in interface HorizontalAlignment
setHorizontalAlignment
in class javax.swing.JLabel
alignment
- A swing
constant that represents the horizontal alignment of the font within its rectangle. Valid constants are SwingConstants.RIGHT
, SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.LEADING
. The SwingConstants
class is defined in the javax.swing
package.public int getHorizontalAlignment()
SwingConstants.RIGHT
, SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.LEADING
. The SwingConstants
class is defined in the javax.swing
package.getHorizontalAlignment
in interface HorizontalAlignment
getHorizontalAlignment
in class javax.swing.JLabel
swing
constant that represents the horizontal alignment of the font within its rectangle.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |