Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataView.gui
Class FontUnderLineTool

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.AbstractButton
                          |
                          +--javax.swing.JToggleButton
                                |
                                +--oracle.dss.dataView.gui.FontUnderLineTool
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, DataviewTool, DataviewToolbarRollover, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants

public class FontUnderLineTool
extends javax.swing.JToggleButton
implements DataviewToolbarRollover, DataviewTool, java.awt.event.ActionListener

Defines the font underline tool in a toolbar. The font underline tool specifies whether the text of a selected object in a UIDataview is underlined.

See Also:
ToolBar, DataviewFontAttribute, GridViewAttribute, Serialized Form

Inner classes inherited from class javax.swing.JToggleButton
javax.swing.JToggleButton.ToggleButtonModel

 

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Field Summary
static int FS_BOLD
          Font style: bold.
static int FS_BOLD_ITALIC_UNDERLINE
          Font style: bold italic underline.
static int FS_BOLD_UNDERLINE
          Font style: bold underline.
static int FS_ITALIC
          Font style: italic.
static int FS_ITALIC_BOLD
          Font style: bold italic.
static int FS_ITALIC_UNDERLINE
          Font style: italic underline.
static int FS_PLAIN
          Font style: plain.
static int FS_UNDERLINE
          Font style: underline.
static java.lang.String PROPERTY_FONT_UNDERLINE
          Property: Font underline.

 

Fields inherited from class javax.swing.AbstractButton
BORDER_PAINTED_CHANGED_PROPERTY, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTY

 

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

 

Constructor Summary
FontUnderLineTool()
          Constructor.

 

Method Summary
 void cleanUp()
          Cleans up any memory or resources that the tool uses.
 boolean isRolloverIconEnabled()
          Indicates whether a larger version of a toolbar icon appears when the mouse is over the icon.
 void selectedAction(ControllerEvent e, UIDataview currentDataView, ToolBar toolBar)
          Sets the state of the tool to reflect the properties of the object that is currently selected.
 void setLocale(java.util.Locale loc)
          Specifies the locale for this tool.
 void setRolloverIconEnabled(boolean bEnabled)
          Specifies whether to display a larger version of a toolbar icon when the mouse is over the icon.
 void update()
          Updates the state of the tool to reflect the properties of the currently selected object.

 

Methods inherited from class javax.swing.JToggleButton
getAccessibleContext, getUIClassID, updateUI

 

Methods inherited from class javax.swing.AbstractButton
addActionListener, addChangeListener, addItemListener, doClick, doClick, getAction, getActionCommand, getDisabledIcon, getDisabledSelectedIcon, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getLabel, getMargin, getMnemonic, getModel, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, isBorderPainted, isContentAreaFilled, isFocusPainted, isFocusTraversable, isRolloverEnabled, isSelected, removeActionListener, removeChangeListener, removeItemListener, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setEnabled, setFocusPainted, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setLabel, setMargin, setMnemonic, setMnemonic, setModel, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPosition

 

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, 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, 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.ActionListener
actionPerformed

 

Field Detail

PROPERTY_FONT_UNDERLINE

public static final java.lang.String PROPERTY_FONT_UNDERLINE
Property: Font underline. Use this constant when listening for changes in this tool.

FS_PLAIN

public static final int FS_PLAIN
Font style: plain.

FS_ITALIC

public static final int FS_ITALIC
Font style: italic.

FS_BOLD

public static final int FS_BOLD
Font style: bold.

FS_ITALIC_BOLD

public static final int FS_ITALIC_BOLD
Font style: bold italic.

FS_UNDERLINE

public static final int FS_UNDERLINE
Font style: underline.

FS_ITALIC_UNDERLINE

public static final int FS_ITALIC_UNDERLINE
Font style: italic underline.

FS_BOLD_UNDERLINE

public static final int FS_BOLD_UNDERLINE
Font style: bold underline.

FS_BOLD_ITALIC_UNDERLINE

public static final int FS_BOLD_ITALIC_UNDERLINE
Font style: bold italic underline.
Constructor Detail

FontUnderLineTool

public FontUnderLineTool()
Constructor.
Method Detail

setLocale

public void setLocale(java.util.Locale loc)
Specifies the locale for this tool.
Overrides:
setLocale in class java.awt.Component
Parameters:
loc - The locale for this tool to use.

selectedAction

public void selectedAction(ControllerEvent e,
UIDataview currentDataView,
ToolBar toolBar)
Sets the state of the tool to reflect the properties of the object that is currently selected.
Specified by:
selectedAction in interface DataviewTool
Parameters:
e - The event that describes the selection.
currentDataView - The current UIDataview.
toolBar - The ToolBar to which this tool belongs.

update

public void update()
Updates the state of the tool to reflect the properties of the currently selected object.
Specified by:
update in interface DataviewTool

cleanUp

public void cleanUp()
Cleans up any memory or resources that the tool uses.
Specified by:
cleanUp in interface DataviewTool

setRolloverIconEnabled

public void setRolloverIconEnabled(boolean bEnabled)
Specifies whether to display a larger version of a toolbar icon when the mouse is over the icon. By default, this tool uses a raised or lowered look.
Specified by:
setRolloverIconEnabled in interface DataviewToolbarRollover
Parameters:
bEnabled - true to use larger icons, false to use a raised or lowered look instead.

isRolloverIconEnabled

public boolean isRolloverIconEnabled()
Indicates whether a larger version of a toolbar icon appears when the mouse is over the icon.
Specified by:
isRolloverIconEnabled in interface DataviewToolbarRollover
Returns:
true if a larger icon appears when the mouse is over a tool icon, false if a raised or lowered look appears instead.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.