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


oracle.dss.crosstab
Class CrosstabPivotHeader

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.table.SpreadTable
                                            |
                                            +--oracle.bali.ewt.pivot.PivotHeader
                                                  |
                                                  +--oracle.dss.crosstab.CrosstabPivotHeader
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:
ColPivotHeader, RowPivotHeader

public abstract class CrosstabPivotHeader
extends oracle.bali.ewt.pivot.PivotHeader
implements GridViewHeader

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

See Also:
Serialized Form

Inner classes inherited from class oracle.bali.ewt.pivot.PivotHeader
oracle.bali.ewt.pivot.PivotHeader.PivotHeaderGrid, oracle.bali.ewt.pivot.PivotHeader.PivotHeaderHeader

 

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

 

Field Summary
static int MAX_DIMENSIONS
          The maximum number of dimensions that can be displayed in this crosstab.

 

Fields inherited from class oracle.bali.ewt.pivot.PivotHeader
KEY_HORIZONTAL, KEY_OUTLINE

 

Fields inherited from class oracle.bali.ewt.table.SpreadTable
DISPLAY_COLUMN_HEADERS, DISPLAY_ROW_HEADERS, DUPLICATE_COLUMN_HEADERS, DUPLICATE_ROW_HEADERS, PRINT_RAISED, PROPERTY_FOCUSCELL, PROPERTY_SELECTION

 

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.
 int getColumnCount()
          Retrieves the number of columns in this header.
 int getRowCount()
          Retrieves the number of rows in this header.
 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)
          Sets the focus to a cell in this CrosstabPivotHeader.
 void setViewStyle(ViewStyle vs)
          Specifies the ViewStyle that is used to format this header.

 

Methods inherited from class oracle.bali.ewt.pivot.PivotHeader
addNotify, dispose, getAppearanceManager, getAxisLabelModel, getAxisLabelPainter, getDefaultPainter, getInputHandler, getKeepHeaderCellsVisible, getMinimumSize, getModel, getOrientation, getPivotHeaderUI, getPivotTable, getPreferredSize, getUIClassID, isAxisLabelsVisible, isGridFocusTraversable, isLevelResizable, isOutline, layoutCanvas, paintOverChildren, removeNotify, setAppearanceManager, setAxisLabelModel, setAxisLabelPainter, setAxisLabelsVisible, setColumnGeometryManager, setDefaultPainter, setDrawRaised, setEnabled, setGridFocusTraversable, setInputHandler, setKeepHeaderCellsVisible, setLevelResizable, setModel, setOutline, setRowGeometryManager, updateUI

 

Methods inherited from class oracle.bali.ewt.table.SpreadTable
addEditListener, addMoveListener, addResizeListener, deselectAll, fireCancelableCellEvent, fireCancelableColumnEvent, fireCancelableRowEvent, fireCellEvent, fireColumnEvent, firePropertyChange, fireRowEvent, fireVetoableChange, getAccessibleContext, getColumnGeometryManager, getColumnHeader, getColumnHeaderHeight, getColumnWidth, getCornerComponent, getDefaultColumnWidth, getDefaultRowHeight, getDocumentSize, getDrawRaised, getFirstColumnOnScreen, getFirstRowOnScreen, getFocusCell, getGrid, getHorizontalSeparatorPainter, getHorizontalSeparatorsVisible, getOnScreenColumnCount, getOnScreenRowCount, getPageBounds, getPreferredScrollableViewportSize, getRowGeometryManager, getRowHeader, getRowHeaderWidth, getRowHeight, getScrollByColumn, getScrollByRow, getSelection, getVerticalSeparatorPainter, getVerticalSeparatorsVisible, isColumnHeaderVisible, isColumnVisible, isFocusTraversable, isHScrollable, isRowHeaderVisible, isRowVisible, isVScrollable, printPage, removeEditListener, removeMoveListener, removeResizeListener, requestFocus, selectAll, setCanvasOrigin, setColumnHeaderHeight, setColumnHeaderVisible, setColumnVisible, setColumnVisibleIndex, setColumnWidth, setCornerComponent, setDefaultColumnWidth, setDefaultRowHeight, setFirstColumnOnScreen, setFirstRowOnScreen, setFocusCell, setHorizontalSeparatorPainter, setHorizontalSeparatorsVisible, setModels, setRowHeaderVisible, setRowHeaderWidth, setRowHeight, setRowVisible, setRowVisibleIndex, setScrollByColumn, setScrollByRow, setSelection, setVerticalSeparatorPainter, setVerticalSeparatorsVisible

 

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, getInnerBounds, getInnerHeight, getInnerOrigin, getInnerSize, getInnerWidth, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getViewport, invalidateCanvas, layout, paintImmediateCanvas, repaintCanvas, setCanvasBounds, setCanvasSize, setPreferredSize

 

Methods inherited from class oracle.bali.ewt.LWComponent
clipToParents, freezeRepaints, getActualAlignment, getActualReadingDirection, getAlignment, getBorderInsets, getFill, 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, 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, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, 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

 

Field Detail

MAX_DIMENSIONS

public static final int MAX_DIMENSIONS
The maximum number of dimensions that can be displayed in this crosstab.
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.

getColumnCount

public int getColumnCount()
Retrieves the number of columns in this header.
Returns:
The number of columns.

getRowCount

public int getRowCount()
Retrieves the number of rows in this header.
Returns:
The number of rows.

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)
Sets the focus to a cell in this CrosstabPivotHeader.
Specified by:
setCellFocus in interface GridViewHeader
Parameters:
focusedCell - An EdgeComponentInfo whose depth and index values identify 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.