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


oracle.dss.crosstab
Class CrosstabDatabody

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.PivotGrid
                                                  |
                                                  +--oracle.dss.crosstab.CrosstabDatabody
All Implemented Interfaces:
javax.accessibility.Accessible, oracle.bali.ewt.dnd.Autoscroll, GridViewDatabody, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable, Styleable, ViewComponent

public class CrosstabDatabody
extends oracle.bali.ewt.pivot.PivotGrid
implements GridViewDatabody

The databody for a crosstab. The data appears in the databody.

See Also:
Serialized Form

Inner classes inherited from class oracle.bali.ewt.pivot.PivotGrid
oracle.bali.ewt.pivot.PivotGrid.PivotGridGrid, oracle.bali.ewt.pivot.PivotGrid.PivotGridHeader

 

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

 

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.
 java.lang.String getComponentName()
          Retrieves the name of this component.
 int getID()
          Retrieves the ID for this databody.
 ViewStyle getViewStyle()
          Retrieves the ViewStyle that specifies formatting for this databody.
 boolean isVisible()
          Indicates whether this databody is visible.
 void setCellFocus(ComponentInfo focusedCell)
          Sets the focus to a cell in this CrosstabDatabody.
 void setViewStyle(ViewStyle vs)
          Specifies the ViewStyle that is used to format this databody.
 void setVisible(boolean visible)
          Specifies whether this databody is visible.

 

Methods inherited from class oracle.bali.ewt.pivot.PivotGrid
dispose, getAppearanceManager, getMinimumSize, getModel, getPivotTable, getPreferredSize, getUIClassID, setAppearanceManager, setDrawRaised, setModel, updateUI

 

Methods inherited from class oracle.bali.ewt.table.SpreadTable
addEditListener, addMoveListener, addNotify, 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, removeNotify, removeResizeListener, requestFocus, selectAll, setCanvasOrigin, setColumnGeometryManager, setColumnHeaderHeight, setColumnHeaderVisible, setColumnVisible, setColumnVisibleIndex, setColumnWidth, setCornerComponent, setDefaultColumnWidth, setDefaultRowHeight, setEnabled, setFirstColumnOnScreen, setFirstRowOnScreen, setFocusCell, setHorizontalSeparatorPainter, setHorizontalSeparatorsVisible, setModels, setRowGeometryManager, 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, 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, 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.GridViewDatabody
getDefaultAppearance

 

Methods inherited from interface oracle.dss.dataView.ViewComponent
getBeanInfo

 

Method Detail

getID

public int getID()
Retrieves the ID for this databody.
Specified by:
getID in interface ViewComponent
Returns:
A constant, DATABODY, which identifies this as the databody component of the crosstab.

getComponentName

public java.lang.String getComponentName()
Retrieves the name of this component.
Specified by:
getComponentName in interface ViewComponent
Returns:
The name of this component.

setVisible

public void setVisible(boolean visible)
Specifies whether this databody is visible.
Overrides:
setVisible in class javax.swing.JComponent
Parameters:
visible - true to display this databody, false to hide it.

isVisible

public boolean isVisible()
Indicates whether this databody is visible.
Overrides:
isVisible in class java.awt.Component
Returns:
true if this databody is visible, false if it is not.

getViewStyle

public ViewStyle getViewStyle()
Retrieves the ViewStyle that specifies formatting for this databody.
Specified by:
getViewStyle in interface Styleable
Returns:
The ViewStyle for this databody.

setViewStyle

public void setViewStyle(ViewStyle vs)
Specifies the ViewStyle that is used to format this databody. This method creates a new ViewStyle, using the attribute settings from the specified ViewStyle.
Specified by:
setViewStyle in interface Styleable
Parameters:
vs - The ViewStyle for this databody.

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 a DataComponentInfo, and then call its getRow and getColumn methods.
Specified by:
getCellFocus in interface GridViewDatabody
Returns:
The ComponentInfo of the cell that has focus, or null if no cell has focus.
See Also:
DataComponentInfo

setCellFocus

public void setCellFocus(ComponentInfo focusedCell)
Sets the focus to a cell in this CrosstabDatabody.
Specified by:
setCellFocus in interface GridViewDatabody
Parameters:
focusedCell - A DataComponentInfo whose row and column values identify the cell that you want to receive focus.
See Also:
DataComponentInfo

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


Copyright © 2003, Oracle. All Rights Reserved.