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


oracle.dss.table
Class TableHeader

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--oracle.bali.ewt.painter.PaintContextComponent
                          |
                          +--oracle.bali.ewt.LWComponent
                                |
                                +--oracle.bali.ewt.scrolling.ScrollableComponent
                                      |
                                      +--oracle.bali.ewt.header.Header
                                            |
                                            +--oracle.dss.table.TableHeader
All Implemented Interfaces:
javax.accessibility.Accessible, oracle.bali.ewt.dnd.Autoscroll, GridViewHeader, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable, Styleable, ViewComponent
Direct Known Subclasses:
ColHeader, RowHeader

public abstract class TableHeader
extends oracle.bali.ewt.header.Header
implements GridViewHeader

A header in a table. Headers display information about the data that is displayed in the table.

See Also:
Serialized Form

Inner classes inherited from class oracle.bali.ewt.header.Header
oracle.bali.ewt.header.Header.AccessibleHeader

 

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

 

Fields inherited from class oracle.bali.ewt.header.Header
DISPLAY_FOCUS_ITEM, KEY_APPEARANCE, KEY_DRAW_RAISED, PROPERTY_FOCUS_ITEM, PROPERTY_GEOMETRY_MANAGER, PROPERTY_MODEL, PROPERTY_SELECTION, PROPERTY_SELECTION_MANAGER

 

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

 

Method Summary
 ComponentInfo getCellFocus()
          Retrieves information about the cell that currently has focus.
 ViewStyle getViewStyle()
          Retrieves the ViewStyle that specifies formatting for this header.
 boolean isHorizontal()
          Indicates whether this is a header for columns or for rows.
 void setCellFocus(ComponentInfo focusedCell)
          Specifies the cell that has focus in this TableHeader.
 void setViewStyle(ViewStyle vs)
          Specifies the ViewStyle that is used to format this header.

 

Methods inherited from class oracle.bali.ewt.header.Header
addMoveListener, addNotify, addResizeListener, createToolTip, deselectAll, dispose, fireCancelableEvent, fireEvent, getAccessibleContext, getAccessibleHeader, getAppearance, getArmedItem, getCanMoveItems, getCanResizeItems, getDefaultItemSize, getDefaultPainter, getDrawRaised, getDrawSelected, getFirstItemBorderPainter, getFirstItemOnScreen, getFocusItem, getGeometryManager, getHeaderItemBorderPainter, getHeaderKeyHandler, getHeaderSelectionManager, getItemAppearance, getItemAt, getItemCount, getItemInputHandler, getItemPaintContext, getItemPosition, getItemSize, getItemVisibleIndex, getLastItemBorderPainter, getMinimumSize, getModel, getNextVisibleItem, getOnScreenItemCount, getOrientation, getPainter, getPreferredHeaderSize, getPreferredScrollableViewportSize, getPreviousVisibleItem, getScrollByItem, getSelection, getToolTipManager, getToolTipText, getUIClassID, isFirstEdge, isFocusTraversable, isHScrollable, isItemMovable, isItemOnScreen, isItemResizable, isItemVisible, isLastEdge, isVScrollable, paintItem, printPage, removeMoveListener, removeNotify, removeResizeListener, reshape, selectAll, setAppearance, setArmedItem, setCanMoveItems, setCanResizeItems, setCanvasOrigin, setCanvasSize, setDefaultItemSize, setDefaultPainter, setDrawRaised, setDrawSelected, setFirstEdge, setFirstItemBorderPainter, setFirstItemOnScreen, setFocusItem, setGeometryManager, setHeaderItemBorderPainter, setHeaderKeyHandler, setHeaderSelectionManager, setItemAppearance, setItemInputHandler, setItemMovable, setItemSize, setItemVisible, setItemVisibleIndex, setLastEdge, setLastItemBorderPainter, setModel, setPainter, setPreferredHeaderSize, setScrollByItem, setSelection, setToolTipManager, updateUI

 

Methods inherited from class oracle.bali.ewt.scrolling.ScrollableComponent
autoscroll, clipCanvasToParents, convertCanvasToOuter, convertInnerToOuterSize, convertInnerToOuterSize, convertInteriorToOuter, convertOuterToCanvas, convertOuterToInterior, getAutoscrollInsets, getCanvasBounds, getCanvasGraphics, getCanvasHeight, getCanvasOrigin, getCanvasOriginX, getCanvasOriginY, getCanvasSize, getCanvasWidth, getDocumentSize, getInnerBounds, getInnerHeight, getInnerOrigin, getInnerSize, getInnerWidth, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getViewport, invalidateCanvas, layout, paintImmediateCanvas, repaintCanvas, setCanvasBounds, setPreferredSize

 

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

 

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, 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, getTopLevelAncestor, 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, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, 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, 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, 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.gridView.GridViewHeader
getDefaultAppearance

 

Methods inherited from interface oracle.dss.dataView.ViewComponent
getBeanInfo, getComponentName, getID

 

Method Detail

getViewStyle

public ViewStyle getViewStyle()
Retrieves the ViewStyle that specifies formatting for this header.
Specified by:
getViewStyle in interface Styleable
Following copied from interface: oracle.dss.dataView.managers.Styleable
Returns:
A ViewStyle for this object, or null if no ViewStyle has been explicitly set for this object.

setViewStyle

public void setViewStyle(ViewStyle vs)
Specifies the ViewStyle that is used to format this header.
Specified by:
setViewStyle in interface Styleable
Parameters:
vs - The ViewStyle for this header.

isHorizontal

public boolean isHorizontal()
Indicates whether this is a header for columns or for rows.
Returns:
true if this header is a column header, false if this header is a row header.

getCellFocus

public ComponentInfo getCellFocus()
Retrieves information about the cell that currently has focus. To get the location of the cell, cast the ComponentInfo that this method returns to an EdgeComponentInfo, and then call its getEdge, getDepth and getIndex methods.
Specified by:
getCellFocus in interface GridViewHeader
Returns:
The ComponentInfo of the cell that has focus, or null if no cell has focus.
See Also:
EdgeComponentInfo

setCellFocus

public void setCellFocus(ComponentInfo focusedCell)
Specifies the cell that has focus in this TableHeader.
Specified by:
setCellFocus in interface GridViewHeader
Parameters:
focusedCell - An EdgeComponentInfo whose depth value identifies the cell that you want to receive focus.
See Also:
EdgeComponentInfo

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


Copyright © 2003, Oracle. All Rights Reserved.