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


oracle.dss.util.gui
Class BIFontPane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--oracle.bali.ewt.painter.PaintContextComponent
                          |
                          +--oracle.bali.ewt.LWComponent
                                |
                                +--oracle.bali.ewt.chooser.font.FontPane
                                      |
                                      +--oracle.dss.util.gui.BIFontPane
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, HelpContext, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.io.Serializable

public class BIFontPane
extends oracle.bali.ewt.chooser.font.FontPane
implements java.awt.event.ItemListener, HelpContext

Extending FontPane class to add text rotation buttons.

See Also:
Serialized Form

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

 

Field Summary
static int BUTTON_ROTATE_0
          The constant used to determine if the '0' degree button is displayed.
static int BUTTON_ROTATE_270
          The constant used to determine if the '270' degree button is displayed.
static int BUTTON_ROTATE_90
          The constant used to determine if the '90' degree button is displayed.
static int BUTTON_ROTATE_AUTO
          The constant used to determine if the automatic button is displayed.
static int ROTATE_0
          The constant used to determine if the '0' degree button is selected.
static int ROTATE_270
          The constant used to determine if the '270' degree button is selected.
static int ROTATE_90
          The constant used to determine if the '90' degree button is selected.
static int ROTATE_AUTO
          The constant used to determine if the automatic button is selected.
static java.lang.String TEXT_ROTATION
          Property name to listen for when the text rotation is changed.

 

Fields inherited from class oracle.bali.ewt.chooser.font.FontPane
BASELINE_STYLE_REGULAR, BASELINE_STYLE_SUBSCRIPT, BASELINE_STYLE_SUPERSCRIPT, BUTTON_ALIGNMENT_BOTTOM, BUTTON_ALIGNMENT_CENTER, BUTTON_ALIGNMENT_END, BUTTON_ALIGNMENT_FULL, BUTTON_ALIGNMENT_LEFT, BUTTON_ALIGNMENT_MIDDLE, BUTTON_ALIGNMENT_RIGHT, BUTTON_ALIGNMENT_START, BUTTON_ALIGNMENT_TOP, BUTTON_CANCEL, BUTTON_OK, BUTTON_STYLE_BOLD, BUTTON_STYLE_ITALIC, BUTTON_STYLE_STRIKETHROUGH, BUTTON_STYLE_SUBSCRIPT, BUTTON_STYLE_SUPERSCRIPT, BUTTON_STYLE_UNDERLINE, COLOR_COMPONENT_BACKGROUND, COLOR_COMPONENT_BORDER, COLOR_COMPONENT_FOREGROUND, DEFAULT_MAXIMUM_FONT_SIZE, HORIZONTAL_ALIGNMENT_CENTER, HORIZONTAL_ALIGNMENT_END, HORIZONTAL_ALIGNMENT_FULL, HORIZONTAL_ALIGNMENT_LEFT, HORIZONTAL_ALIGNMENT_RIGHT, HORIZONTAL_ALIGNMENT_START, PROPERTY_ACTUAL_FONT_SIZE_USED, PROPERTY_ALIGNMENT_BUTTON_MASK, PROPERTY_BORDER_COLOR, PROPERTY_COLOR_COMPONENT_MASK, PROPERTY_FONT_BACKGROUND_COLOR, PROPERTY_FONT_BASELINE_STYLE, PROPERTY_FONT_COLOR, PROPERTY_FONT_HORIZONTAL_ALIGNMENT, PROPERTY_FONT_NAME, PROPERTY_FONT_SIZE, PROPERTY_FONT_STYLE, PROPERTY_FONT_VERTICAL_ALIGNMENT, PROPERTY_FONT_WIDTH, PROPERTY_STYLE_BUTTON_MASK, STYLE_BOLD, STYLE_ITALIC, STYLE_STRIKETHROUGH, STYLE_UNDERLINE, VERTICAL_ALIGNMENT_BOTTOM, VERTICAL_ALIGNMENT_MIDDLE, VERTICAL_ALIGNMENT_TOP, WIDTH_CONDENSED, WIDTH_EXTENDED, WIDTH_NORMAL, WIDTH_SEMI_CONDENSED, WIDTH_SEMI_EXTENDED

 

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
BIFontPane()
          constructor

 

Method Summary
 java.lang.String getHelpContextID()
          Retrieves the Help context ID for this panel.
 int getTextRotation()
          return selected type of the text rotation
 void setHelpContextID(java.lang.String strHelpContextID)
          Sets the Help context ID for this panel.
 void setLocale(java.util.Locale loc)
          Override the method to update the resource bundle.
 void setRotationButtonMask(int buttonMask)
          Based on the buttonMask decide with buttons to display for text rotation
 void setTextRotation(int rotation)
          sets type of the text rotation

 

Methods inherited from class oracle.bali.ewt.chooser.font.FontPane
addNotify, getAccessibleContext, getAlignmentButtonMask, getBorderColor, getBorderColorChoice, getColorComponentMask, getCurrentFont, getExtraComponent, getFontBackgroundColor, getFontBackgroundColorChoice, getFontBaselineStyle, getFontColor, getFontColorChoice, getFontHorizontalAlignment, getFontName, getFontNames, getFontSize, getFontStyle, getFontVerticalAlignment, getFontWidth, getMaximumFontSize, getStyleButtonMask, isActualFontSizeUsed, isActualFontSizeVisible, isPreviewAreaVisible, isWidthVisible, setActualFontSizeUsed, setActualFontSizeVisible, setAlignmentButtonMask, setBorderColor, setColorComponentMask, setCurrentFont, setEnabled, setExtraComponent, setFontBackgroundColor, setFontBaselineStyle, setFontColor, setFontHorizontalAlignment, setFontName, setFontNames, setFontSize, setFontStyle, setFontVerticalAlignment, setFontWidth, setMaximumFontSize, setPreviewAreaVisible, setStyleButtonMask, setWidthVisible, showDialog, showDialog

 

Methods inherited from class oracle.bali.ewt.LWComponent
clipToParents, freezeRepaints, getActualAlignment, getActualReadingDirection, getAlignment, getBorderInsets, getDocumentSize, getFill, getPageBounds, getPrintPaintContext, isFocusTraversable, paintImmediateInterior, paintImmediateInterior, paintImmediately, printPage, repaint, repaintInterior, repaintInterior, setAlignment, setFill, unfreezeRepaints, updateUI

 

Methods inherited from class oracle.bali.ewt.painter.PaintContextComponent
getBorderContext, getPaintContext, getUIDefaults

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, 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, 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

 

Field Detail

TEXT_ROTATION

public static final java.lang.String TEXT_ROTATION
Property name to listen for when the text rotation is changed.

BUTTON_ROTATE_AUTO

public static final int BUTTON_ROTATE_AUTO
The constant used to determine if the automatic button is displayed.
See Also:
setRotationButtonMask(int)

BUTTON_ROTATE_0

public static final int BUTTON_ROTATE_0
The constant used to determine if the '0' degree button is displayed.
See Also:
setRotationButtonMask(int)

BUTTON_ROTATE_90

public static final int BUTTON_ROTATE_90
The constant used to determine if the '90' degree button is displayed.
See Also:
setRotationButtonMask(int)

BUTTON_ROTATE_270

public static final int BUTTON_ROTATE_270
The constant used to determine if the '270' degree button is displayed.
See Also:
setRotationButtonMask(int)

ROTATE_AUTO

public static final int ROTATE_AUTO
The constant used to determine if the automatic button is selected.

ROTATE_0

public static final int ROTATE_0
The constant used to determine if the '0' degree button is selected.

ROTATE_90

public static final int ROTATE_90
The constant used to determine if the '90' degree button is selected.

ROTATE_270

public static final int ROTATE_270
The constant used to determine if the '270' degree button is selected.
Constructor Detail

BIFontPane

public BIFontPane()
constructor
Method Detail

setRotationButtonMask

public void setRotationButtonMask(int buttonMask)
Based on the buttonMask decide with buttons to display for text rotation
Parameters:
buttonMask - integer representing buttonmask

getTextRotation

public int getTextRotation()
return selected type of the text rotation
Returns:
integer representing type of the text rotation

setTextRotation

public void setTextRotation(int rotation)
sets type of the text rotation

getHelpContextID

public java.lang.String getHelpContextID()
Retrieves the Help context ID for this panel.
Specified by:
getHelpContextID in interface HelpContext
Following copied from interface: oracle.dss.util.help.HelpContext
Returns:
String which represents the Help context ID.

setHelpContextID

public void setHelpContextID(java.lang.String strHelpContextID)
Sets the Help context ID for this panel.
Specified by:
setHelpContextID in interface HelpContext
Following copied from interface: oracle.dss.util.help.HelpContext
Parameters:
strHelpContextID - a String value that represents the Help context ID.

setLocale

public void setLocale(java.util.Locale loc)
Override the method to update the resource bundle.
Overrides:
setLocale in class oracle.bali.ewt.chooser.font.FontPane

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


Copyright © 2003, Oracle. All Rights Reserved.