JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid.beans
Class JCHiGridExternalDS

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.klg.jclass.higrid.HiGrid
                          |
                          +--com.klg.jclass.higrid.beans.JCHiGrid
                                |
                                +--com.klg.jclass.higrid.beans.JCHiGridExternalDS
All Implemented Interfaces:
ComponentListener, EventListener, ImageObserver, JCValidateListener, MenuContainer, Serializable

public class JCHiGridExternalDS
extends JCHiGrid

A Bean wrapper for JClass HiGrid. This is meant only for internal use by JClass HiGrid and is not meant to be used by applets or applications.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class com.klg.jclass.higrid.beans.JCHiGrid
applet, comp, conv, externalDS, label, metaDataCreator, name, tree
 
Fields inherited from class com.klg.jclass.higrid.HiGrid
adviseClearAllFormats, afterDetailsCellStyle, allowPopupMenu, allowRowSelection, allowSorting, autoEdit, autoTraverseCallback, batched, beep, beforeDetailsCellStyle, CANCEL_ROWS_ALL, CANCEL_ROWS_CURRENT, CANCEL_ROWS_SELECTED, columnSelectionHandler, connectionsVisible, controller, dataModelListener, defaultCursor, defaultSortable, DELETE_ROWS_CURRENT, DELETE_ROWS_SELECTED, EDIT_ENSURE_MINIMUM_SIZE, EDIT_ENSURE_PREFERRED_SIZE, EDIT_SIZE_TO_CELL, editable, editorBorder, editorHidden, EDITSTATUS_INDICATOR_CELL, errorHandler, extraWidth, FIRST_EDITABLE_COLUMN, folderIconStyle, footerCellStyle, HEADER_TIP_DISPLAY_ALWAYS, HEADER_TIP_DISPLAY_LIKE_REPEAT_HEADER, HEADER_TIP_DISPLAY_MINIMAL, headerCellStyle, headerTipDisplay, headerTipVisible, hiGridColumnSelectionListeners, hiGridErrorListeners, hiGridExpansionListeners, hiGridFormatNodeListeners, hiGridMoveCellListeners, hiGridPrintListeners, hiGridRepaintListeners, hiGridResizeCellListeners, hiGridRowSelectionListeners, hiGridSortTableListeners, hiGridTraverseListeners, hiGridUpdateListeners, hiGridValidateListeners, horizontalScrollbarConstraints, INITIAL_EDIT_STATUS_WIDTH, INITIAL_EXTRA_WIDTH, INITIAL_LEVEL_INDENT, INITIAL_NODE_WIDTH, lookupTable, MOVE_TO_ROW_HIGRID_FIRST, MOVE_TO_ROW_HIGRID_LAST, MOVE_TO_ROW_HIGRID_NEXT, MOVE_TO_ROW_HIGRID_PREVIOUS, MOVE_TO_ROW_PARENT, MOVE_TO_ROW_TABLE_FIRST, MOVE_TO_ROW_TABLE_LAST, MOVE_TO_ROW_TABLE_NEXT, MOVE_TO_ROW_TABLE_PREVIOUS, NODE_INDICATOR_CELL, NUMBER_OF_INDICATOR_CELLS, popupMenu, PRINT_AS_DISPLAYED, PRINT_AS_EXPANDED, PRINT_EXPAND_ALL, printFoldersAndConnections, printFormat, printGrid, printing, printMetaID, recordCellStyle, REQUERY_ROWS_ALL, REQUERY_ROWS_RECORD, REQUERY_ROWS_RECORD_AND_DETAILS, REQUERY_ROWS_SELECTED, REQUERY_ROWS_SELECTED_AND_DETAILS, ROW_SELECT_ANY, ROW_SELECT_IN_SAME_LEVEL, ROW_SELECT_IN_SAME_TABLE, rowHeightResizingAll, rowSelectionMode, scrollOnMoveEvent, SELECT_ROWS_ALL, SELECT_ROWS_ALL_IN_SAME_LEVEL, SELECT_ROWS_ALL_IN_SAME_TABLE, SELECT_ROWS_CURRENT, sortable, sortIconsVisible, trackCursor, UPDATE_ROWS_ALL, UPDATE_ROWS_CURRENT, UPDATE_ROWS_SELECTED, verticalScrollbarConstraints
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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
JCHiGridExternalDS()
           
JCHiGridExternalDS(Applet applet, String name)
          Creates a JCHiGridExternalDS, which reads parameters from the applet's HTML file.
JCHiGridExternalDS(int type)
          Creates a JCHiGridExternalDS with the data source type.
 
Method Summary
 com.klg.jclass.higrid.beans.ExternalGridProperties getExternalGridProperties()
          Gets ExternalGridProperties property.
 String getName()
          Gets the name of the Bean, as set in the constructor or by setName.
 void setExternalGridProperties(com.klg.jclass.higrid.beans.ExternalGridProperties comp)
          Sets ExternalGridProperties property.
 void setExternalGridProperties(String resource_name, ClassLoader cl)
          Sets the ExternalGridProperties property.
 void setName(String name)
          Sets the name of the Bean.
 
Methods inherited from class com.klg.jclass.higrid.beans.JCHiGrid
createGridProperties, createGridProperties, createMetaData, formatGrid, getAbout, getAppletContext, getAppletContext, getGridProperties, getLabel, getParam, getParameters, getParameters, getParameters, getVersion, isExternalDS, loadFormat, loadModelData, setAbout, setGridProperties, setGridProperties, setLabel, setVersion
 
Methods inherited from class com.klg.jclass.higrid.HiGrid
addHiGridColumnSelectionListener, addHiGridErrorListener, addHiGridExpansionListener, addHiGridFormatNodeListener, addHiGridMoveCellListener, addHiGridPrintListener, addHiGridRepaintListener, addHiGridResizeCellListener, addHiGridRowSelectionListener, addHiGridSortTableListener, addHiGridTraverseListener, addHiGridUpdateListener, addHiGridValidateListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addUnique, calculateWidth, cancelRow, cancelRows, collapseFolder, componentHidden, componentMoved, componentResized, componentShown, convertConstraints, createDefaultEditorBorder, createDefaultTrees, deleteRow, deleteRows, dispose, draw, expandFolder, finalize, fireHiGridColumnSelectionEvent, fireHiGridErrorEvent, fireHiGridExpansionEvent, fireHiGridFormatNodeEvent, fireHiGridMoveCellEvent, fireHiGridPrintEvent, fireHiGridRepaintEvent, fireHiGridResizeCellEvent, fireHiGridRowSelectionEvent, fireHiGridSortTableEvent, fireHiGridTraverseEvent, fireHiGridUpdateEvent, generateError, getAfterDetailsCellStyle, getAutoTraverseCallback, getBeforeDetailsCellStyle, getCellData, getCellPositionFromPoint, getCellStyle, getColumnSelectionHandler, getController, getCurrentCell, getCurrentCellPosition, getCurrentRowNode, getDataModel, getDataModelListener, getDefaultCursor, getDefaultEditorBorder, getDefaultSortable, getEditorBorder, getEditPopupMenu, getEditStatusWidth, getErrorHandler, getExtraWidth, getFolderIcon, getFolderIconStyle, getFooterCellStyle, getFormatTree, getFrame, getGridArea, getHeaderCellStyle, getHeaderTipDisplay, getHorizontalScrollableCellPositionFromPoint, getHorizontalScrollbar, getHorizontalScrollbarConstraints, getHorizontalScrollbarDisplay, getIndicatorIndex, getIndicatorIndex, getLookupTable, getMinimumSize, getNodeWidth, getPointFromCellPosition, getPointFromHorizontalScrollableCellPosition, getPrintColumnPageIndex, getPrintFormat, getPrintGrid, getPrintRowPageIndex, getRecordCellStyle, getRowIndex, getRowNode, getRowNode, getRowSelectionMode, getRowTree, getSelectedRows, getSortable, getTableRowNodes, getTopRowIndex, getTopRowNode, getUI, getUIClassID, getVerticalScrollbar, getVerticalScrollbarConstraints, getVerticalScrollbarDisplay, insertRow, isAllowPopupMenu, isAllowRowSelection, isAllowSorting, isAutoEdit, isBatched, isBeepOnInvalid, isConnectionsVisible, isDrawingFoldersAndConnections, isEditable, isEditorHidden, isFocusTraversable, isHeaderTipVisible, isLevelIndented, isPrintFoldersAndConnections, isPrinting, isPrintingSubsequentColumnPages, isRowHeightResizingAll, isRowtipVisible, isScrollOnMoveEvent, isSortIconsVisible, isTrackCursor, layoutGrid, makeCellPosition, makeValidateEvent, moveCellEditor, moveToRow, moveToRow, moveToRow, print, print, print, print, print, printPreview, printStackTrace, recalculateRowFormats, refresh, refresh, refresh, refresh, refresh, refreshCell, refreshChildrenRows, refreshEditStatus, refreshEditStatus, refreshGridArea, refreshGridArea, refreshGridArea, refreshRow, refreshRowAndBelow, refreshRows, refreshRowsWithoutEditor, refreshRowWithoutEditor, removeHiGridColumnSelectionListener, removeHiGridErrorListener, removeHiGridExpansionListener, removeHiGridFormatNodeListener, removeHiGridMoveCellListener, removeHiGridPrintListener, removeHiGridRepaintListener, removeHiGridResizeCellListener, removeHiGridRowSelectionListener, removeHiGridSortTableListener, removeHiGridTraverseListener, removeHiGridUpdateListener, removeHiGridValidateListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeOldReferences, requeryRow, requeryRows, resetDesignTimeGrid, resetRowSelection, resetRowSelection, resetRunTimeGrid, resetScrollbarConstraints, resetSortIndications, resetSortIndications, resetSortIndicationsInternal, selectRows, setAfterDetailsCellStyle, setAllowPopupMenu, setAllowRowSelection, setAllowSorting, setAutoEdit, setAutoTraverseCallback, setBackground, setBatched, setBeepOnInvalid, setBeforeDetailsCellStyle, setColumnSelectionHandler, setConnectionsVisible, setController, setDataModel, setDataModelListener, setDefaultCursor, setDefaultCursor, setEditable, setEditorBorder, setEditorHidden, setEditPopupMenu, setEditStatusWidth, setErrorHandler, setExtraWidth, setFolderIcon, setFolderIconStyle, setFooterCellStyle, setFormatTree, setGridArea, setHeaderCellStyle, setHeaderTipDisplay, setHeaderTipVisible, setHorizontalScrollbarConstraints, setHorizontalScrollbarDisplay, setLayout, setLevelIndented, setLookupTable, setNodeWidth, setPrintFoldersAndConnections, setPrintFormat, setPrintGrid, setPrinting, setRecordCellStyle, setRowHeightResizingAll, setRowSelectionMode, setRowtipVisible, setRowTree, setScrollOnMoveEvent, setSortable, setSortIconsVisible, setTopRowBookmark, setTopRowIndex, setTopRowNode, setTrackCursor, setUI, setVerticalScrollbarConstraints, setVerticalScrollbarDisplay, sortDataTable, sortDataTable, stateIsInvalid, toggleRowSelection, toggleRowSelection, updateRow, updateRows, updateUI, valueChangedBegin, valueChangedEnd, walkFormatTree, widthChanged
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCHiGridExternalDS

public JCHiGridExternalDS()

JCHiGridExternalDS

public JCHiGridExternalDS(int type)
Creates a JCHiGridExternalDS with the data source type.

Parameters:
type -

JCHiGridExternalDS

public JCHiGridExternalDS(Applet applet,
                          String name)
Creates a JCHiGridExternalDS, which reads parameters from the applet's HTML file.

Parameters:
applet - the applet whose PARAM tags are to be read
name - if this is not null, only parameters preceded by this name are read
See Also:
Applet.getParameter(java.lang.String)
Method Detail

getName

public String getName()
Gets the name of the Bean, as set in the constructor or by setName. If no name has been set, a 0-length String will be returned.

Overrides:
getName in class JCHiGrid
Returns:
See Also:
setName(java.lang.String)

setName

public void setName(String name)
Sets the name of the Bean.

Overrides:
setName in class JCHiGrid
Parameters:
name -

setExternalGridProperties

public void setExternalGridProperties(com.klg.jclass.higrid.beans.ExternalGridProperties comp)
                               throws DataModelException
Sets ExternalGridProperties property.

Parameters:
comp -
Throws:
DataModelException - If fails to create a meta data.

getExternalGridProperties

public com.klg.jclass.higrid.beans.ExternalGridProperties getExternalGridProperties()
Gets ExternalGridProperties property.

Returns:
See Also:
setExternalGridProperties(com.klg.jclass.higrid.beans.ExternalGridProperties)

setExternalGridProperties

public void setExternalGridProperties(String resource_name,
                                      ClassLoader cl)
                               throws DataModelException
Sets the ExternalGridProperties property.

Parameters:
resource_name - resource name relative to a class loader to the HiGrid Bean component
cl - class loader used to get the resource
Throws:
DataModelException - If fails to create a meta data.

Copyright © 2004 Quest Software Inc..
All rights reserved.