JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid.beans
Class JCHiGrid

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

public class JCHiGrid
extends HiGrid

A Bean wrapper for HiGrid. This is meant only for internal use by 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
protected  Applet applet
          The parent applet.
protected  com.klg.jclass.higrid.beans.GridProperties comp
          Bean component.
protected static com.klg.jclass.util.JCTypeConverter conv
           
protected  boolean externalDS
          External DS indication.
protected  String label
          label property for the bean
protected  com.klg.jclass.datasource.beans.MetaDataCreator metaDataCreator
          Creator to construct a meta data.
protected  String name
          Name of the Bean.
protected  com.klg.jclass.higrid.HiGridData tree
          Data model of the higrid Bean.
 
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
JCHiGrid()
          Creates a JCHiGrid with the default JDBC data source type and uses an internal datasource.
JCHiGrid(Applet applet, String name)
          Creates a JCHiGrid, which reads parameters from the applet's HTML file.
JCHiGrid(int type, boolean externalDS)
          Creates a JCHiGrid with the indicated data source type that uses an internal or external datasource.
 
Method Summary
protected  com.klg.jclass.higrid.beans.GridProperties createGridProperties(int type, boolean externalDS)
          Creates a GridProperties or a ExternalGridProperties.
protected  com.klg.jclass.higrid.beans.GridProperties createGridProperties(String resource_name, ClassLoader cl)
          Creates a GridProperties or a ExternalGridProperties.
protected  void createMetaData()
          Creates meta data for the tree data Bean.
protected  void formatGrid()
           
 String getAbout()
          Gets the About property.
 AppletContext getAppletContext()
          Gets the context for the Bean's applet.
static AppletContext getAppletContext(Applet applet)
          Gets the context for the Bean's applet.
 com.klg.jclass.higrid.beans.GridProperties getGridProperties()
          Gets the GridProperties property.
 String getLabel()
          Returns the value of the label property.
 String getName()
          Gets the name of the Bean, as set in the constructor or by setName.
protected  String getParam(String param)
          Gets a parameter for this data Bean.
protected  void getParameters()
          Reads the parameter values from the HTML page using the data Bean's applet.
 void getParameters(Applet applet)
          Reads the parameter values from the HTML page using the specified applet.
 void getParameters(Applet applet, String file)
          Reads the parameter values from the file.
 String getVersion()
          Gets the value of the Version property.
 boolean isExternalDS()
          Gets the externalDS indication.
protected  void loadFormat(com.klg.jclass.datasource.DataSourceTreeNode node, com.klg.jclass.higrid.FormatNode fn)
          Helper method to load format into a node in JClass HiGrid.
protected  void loadModelData(com.klg.jclass.datasource.DataSourceTreeNode node, com.klg.jclass.datasource.MetaDataModel meta_parent)
          Helper method called recursively to create meta data.
 void setAbout(String s)
          About property is read-only.
 void setGridProperties(com.klg.jclass.higrid.beans.GridProperties comp)
          Sets the GridProperties property.
 void setGridProperties(String resource_name, ClassLoader cl)
          Sets the GridProperties property.
 void setLabel(String label)
          Sets the label property.
 void setName(String name)
          Sets the name of the Bean.
 void setVersion(String s)
          Version property is read-only.
 
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
 

Field Detail

applet

protected transient Applet applet
The parent applet.


metaDataCreator

protected com.klg.jclass.datasource.beans.MetaDataCreator metaDataCreator
Creator to construct a meta data.


name

protected String name
Name of the Bean.


externalDS

protected boolean externalDS
External DS indication.


comp

protected com.klg.jclass.higrid.beans.GridProperties comp
Bean component.


tree

protected com.klg.jclass.higrid.HiGridData tree
Data model of the higrid Bean.


label

protected String label
label property for the bean


conv

protected static com.klg.jclass.util.JCTypeConverter conv
Constructor Detail

JCHiGrid

public JCHiGrid()
Creates a JCHiGrid with the default JDBC data source type and uses an internal datasource.


JCHiGrid

public JCHiGrid(int type,
                boolean externalDS)
Creates a JCHiGrid with the indicated data source type that uses an internal or external datasource.

Parameters:
type - the datasource type
externalDS - indicates if it uses an external datasource or not

JCHiGrid

public JCHiGrid(Applet applet,
                String name)
Creates a JCHiGrid, 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

createGridProperties

protected com.klg.jclass.higrid.beans.GridProperties createGridProperties(int type,
                                                                          boolean externalDS)
Creates a GridProperties or a ExternalGridProperties.

Parameters:
type - the datasource type
externalDS - indicates if it uses an external datasource or not
Returns:

createGridProperties

protected com.klg.jclass.higrid.beans.GridProperties createGridProperties(String resource_name,
                                                                          ClassLoader cl)
                                                                   throws DataModelException
Creates a GridProperties or a ExternalGridProperties.

Parameters:
resource_name - resource name relative to a class loader to the bean component (it must have extension ".ser")
cl - class loader to use
Returns:
Throws:
DataModelException - If the class can't be loaded.

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 Component
Returns:
See Also:
setName(java.lang.String)

setName

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

Overrides:
setName in class Component
Parameters:
name -

isExternalDS

public boolean isExternalDS()
Gets the externalDS indication.

Returns:

getParameters

public void getParameters(Applet applet)
Reads the parameter values from the HTML page using the specified applet. The values will override those previously set.

Parameters:
applet - if not null and in a browser, its documentBase() is used to construct a complete filename, if necessary
See Also:
Applet.getParameter(java.lang.String)

getParameters

public void getParameters(Applet applet,
                          String file)
Reads the parameter values from the file. The values will override those previously set.

Parameters:
applet - if not null and in a browser, its documentBase() is used to construct a complete filename, if necessary
file - if an http protocol is not specified (if a ":" is not present), the current working directory is used

getAppletContext

public AppletContext getAppletContext()
Gets the context for the Bean's applet. The applet context lets an applet control the applet's environment, which is usually the browser or the applet viewer.

Returns:
null if the component is not in an applet or the applet is not in a browser
See Also:
Applet.getAppletContext()

getAppletContext

public static AppletContext getAppletContext(Applet applet)
Gets the context for the Bean's applet. The applet context lets an applet control the applet's environment which is usually the browser or the applet viewer.

Parameters:
applet - if not null and in a browser, its documentBase() is used to construct a complete filename if necessary
Returns:
null if the component is not in an applet or the applet is not in a browser.
See Also:
Applet.getAppletContext()

getAbout

public String getAbout()
Gets the About property. The About property displays contact information for Quest Software.

Returns:

setAbout

public void setAbout(String s)
About property is read-only.

Parameters:
s -

getVersion

public String getVersion()
Gets the value of the Version property. The Version property specifies the version number.

Returns:

setVersion

public void setVersion(String s)
Version property is read-only.

Parameters:
s -

loadModelData

protected void loadModelData(com.klg.jclass.datasource.DataSourceTreeNode node,
                             com.klg.jclass.datasource.MetaDataModel meta_parent)
                      throws DataModelException
Helper method called recursively to create meta data.

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

loadFormat

protected void loadFormat(com.klg.jclass.datasource.DataSourceTreeNode node,
                          com.klg.jclass.higrid.FormatNode fn)
Helper method to load format into a node in JClass HiGrid.

Parameters:
node -
fn -

formatGrid

protected void formatGrid()

setGridProperties

public void setGridProperties(com.klg.jclass.higrid.beans.GridProperties comp)
                       throws DataModelException
Sets the GridProperties property.

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

getGridProperties

public com.klg.jclass.higrid.beans.GridProperties getGridProperties()
Gets the GridProperties property.

Returns:
See Also:
setGridProperties(com.klg.jclass.higrid.beans.GridProperties)

setGridProperties

public void setGridProperties(String resource_name,
                              ClassLoader cl)
                       throws DataModelException
Sets the GridProperties 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.

createMetaData

protected void createMetaData()
                       throws DataModelException
Creates meta data for the tree data Bean.

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

getParameters

protected void getParameters()
Reads the parameter values from the HTML page using the data Bean's applet. The values will override those previously set. Subclasses may override this method to set their own values - in this case, the method should first call super.getParameters().


getParam

protected String getParam(String param)
Gets a parameter for this data Bean.

Parameters:
param -
Returns:

getLabel

public String getLabel()
Returns the value of the label property.

Returns:
String

setLabel

public void setLabel(String label)
Sets the label property.

Parameters:
label -

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