JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table.beans
Class LiveTable

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.klg.jclass.table.JCTable
                          |
                          +--com.klg.jclass.table.beans.LiveTable
All Implemented Interfaces:
ActionListener, EventListener, FocusListener, ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
DataTable, PropertyEditorTable

public class LiveTable
extends JCTable

This is the LiveTable bean class.

Since:
JClass 4.0K for Java 2. If you are using JClass 4.0J, which is based on JDK 1.1, some of the return types for this class' fields or methods are based on the corresponding com.sun.java.util class.
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  com.klg.jclass.cell.JCCellRenderer cellRenderer
           
protected static int numColumns
           
protected static int numRows
           
 
Fields inherited from class com.klg.jclass.table.JCTable
actions, adjustmentHandler, allow_cell_resize, allow_resize_by, auto_edit, auto_scroll, cell_border_width, cellAreaHandler, cellDisplayListeners, cellLayout, cellRendererPane, cellStyles, column_label_display, column_label_offset, column_label_placement, columnWidths, component_border_width, current_column, current_row, dataView, default_cell_style, default_label_style, edit_height_policy, edit_width_policy, editCellListeners, focus_color, focus_indicator, focusManager, frame_border, frame_border_width, frozen_column_placement, frozen_columns, frozen_row_placement, frozen_rows, hsb, hsb_attach, hsb_display, hsb_offset, hsb_position, hsb_track, hsb_track_row, ignore_container_size, jump_mode, keyHandler, left_column, margin_height, margin_width, min_cell_visibility, mouseHandler, mouseWheelListener, moveables, needs_initial_set_left_check, needs_initial_set_top_check, needs_initial_traverse, oldFocusOwner, paintListeners, pointer_traverse_forces_edit, popupMenu, popupMenuEnabled, repaint_enabled, resize_even, resize_interactive, resizeListeners, resizeMotionListeners, row_label_display, row_label_offset, row_label_placement, rowHeights, scrolling, scrollListeners, select_include_labels, selected_background, selected_background_mode, selected_foreground, selected_foreground_mode, selectionHandler, selectListeners, set_initial_left, set_initial_top, set_left_column, set_top_row, sort_column, sort_direction, sort_series, sortListeners, spanHandler, store_image, store_image_enabled, store_origin, tableChangeHandler, tableLayout, top_row, track_background, track_cursor, track_foreground, track_size, traverse_cycle, traverseListeners, userData, variable_estimate_count, visible_columns, visible_rows, vsb, vsb_attach, vsb_display, vsb_offset, vsb_position, vsb_track, vsb_track_column
 
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
LiveTable()
          Default constructor - creates an empty 10-row x 5-column table
LiveTable(boolean editable)
          Default constructor - creates an empty 10-row x 5-column table with editable or non-editable data source
 
Method Summary
protected  String[] createArray(Vector v)
           
protected  String[][] createArray2D(Vector v)
           
 com.klg.jclass.table.CellStyleModel createCellStyle()
          Returns the new CellStyleModel object.
protected  Vector createVector(String[] s)
           
protected  Vector createVector(String[][] s)
           
 String getAbout()
          Returns vendor information.
 com.klg.jclass.table.beans.CellSizeWrapper getCellSize()
          Gets the textPositioning property.
 com.klg.jclass.table.beans.DataWrapper getData()
          Gets the data property.
 int getFrameBorderType()
          Gets the table's frameBorderType property value.
 com.klg.jclass.table.beans.FrozenCellLayoutWrapper getFrozenCellLayout()
          Gets the frozenCellLayout property.
 com.klg.jclass.table.beans.LabelLayoutWrapper getLabelLayout()
          Gets the labelLayout property.
static int getNumEditorColumns()
          Returns the number of columns in the editor
static int getNumEditorRows()
          Returns the number of rows in the editor
 com.klg.jclass.table.beans.SBLayoutWrapper getSBLayout()
          Gets the sBLayout property.
protected  com.klg.jclass.table.JCCellRange getSelectedRange()
           
 com.klg.jclass.table.beans.SpannedCellsWrapper getSpannedCells()
          Gets the spannedCells property.
 com.klg.jclass.table.beans.StyleWrapper getStyles()
          Gets the styles property.
 TableModel getSwingDataModel()
          Gets the swingDataModel property.
protected  void makeDataSource(boolean editable)
           
protected  com.klg.jclass.table.PositionCellSize[] makePositionsArray(List list)
           
 void setAbout(String s)
          Provided for beans property editors - has no effect.
 void setCellRenderer(com.klg.jclass.cell.JCCellRenderer renderer)
           
 void setCellSize(com.klg.jclass.table.beans.CellSizeWrapper wrapper)
          Sets the cellSize property.
 void setData(com.klg.jclass.table.beans.DataWrapper wrapper)
          Sets the table data.
 void setFrameBorderType(int borderType)
          Sets the CellBorder model of the borders surrounding cell and label areas according with the borderType value.
 void setFrozenCellLayout(com.klg.jclass.table.beans.FrozenCellLayoutWrapper wrapper)
          Sets the frozenCellLayout property.
 void setLabelLayout(com.klg.jclass.table.beans.LabelLayoutWrapper wrapper)
          Sets the labelLayout property.
static void setNumEditorColumns(int nc)
          Sets the number of columns in the editor, and therefore, in the table
static void setNumEditorRows(int nr)
          Sets the number of rows in the editor, and and therefore, in the table
 void setSBLayout(com.klg.jclass.table.beans.SBLayoutWrapper wrapper)
          Sets the sBLayout property.
 void setSpannedCells(com.klg.jclass.table.beans.SpannedCellsWrapper wrapper)
          Sets the spannedCells property.
 void setStyles(com.klg.jclass.table.beans.StyleWrapper wrapper)
          Sets the styles property.
 void setSwingDataModel(TableModel model)
          Gets the swingDataModel property.
 
Methods inherited from class com.klg.jclass.table.JCTable
actionPerformed, addAction, addAction, addCellDisplayListener, addColumnSelection, addEditCellListener, addNotify, addPaintListener, addResizeCellListener, addResizeCellMotionListener, addRowSelection, addScrollListener, addSelection, addSelectListener, addSortListener, addSpannedRange, addTableMouseWheelListener, addToMoveables, addTraverseCellListener, beginEdit, cancelEdit, clearSelectedCells, clearSelection, clearSpannedRanges, cloneCellStyles, commitEdit, createDefaultCellLayout, createDefaultCellStyleSeries, createDefaultColumnWidthSeries, createDefaultDataSource, createDefaultDataView, createDefaultRowHeightSeries, createDefaultSelectionModel, createDefaultSpanHandler, createDefaultUserDataSeries, createPopupMenu, dispose, doLayout, doResizeEvents, dragColumn, dragRow, findMethod, fireJCCellDisplayEvent, fireJCEditCellEvent, fireJCPaintEvent, fireJCResizeCellEvent, fireJCResizeCellMotionEvent, fireJCScrollEvent, fireJCSelectEvent, fireJCSortEvent, fireJCTraverseCellEvent, focusGained, focusLost, getAction, getAllowCellResize, getAllowResizeBy, getAutoScroll, getCellAreaHandler, getCellBorderWidth, getCellBounds, getCellLayout, getCellPosition, getCellStyle, getCellStyleRanges, getCellStyles, getCellStyleValues, getCharHeight, getCharWidth, getColumnCellSize, getColumnClass, getColumnLabelOffset, getColumnLabelPlacement, getColumnPixelWidth, getColumnWidthValues, getComponent, getComponentBorderWidth, getComponentModel, getCurrentCell, getCurrentColumn, getCurrentRow, getDataSource, getDataView, getDefaultCellStyle, getDefaultLabelStyle, getEditHeightPolicy, getEditingComponent, getEditTraverseHandler, getEditWidthPolicy, getFocusColor, getFocusIndicator, getFocusManager, getFrameBorder, getFrameBorderWidth, getFrozenColumnPlacement, getFrozenColumns, getFrozenRowPlacement, getFrozenRows, getHorizSB, getHorizSBAttachment, getHorizSBDisplay, getHorizSBOffset, getHorizSBPosition, getHorizSBTrack, getHorizSBTrackRow, getJumpScroll, getKeyInputHandler, getLeftColumn, getLicense, getMarginHeight, getMarginWidth, getMaxHeight, getMaxWidth, getMinCellVisibility, getMinHeight, getMinimumSize, getMinWidth, getMouseInputHandler, getNumColumns, getNumRows, getNumVisibleColumns, getNumVisibleRows, getPixelHeight, getPixelWidth, getPointerTraverseForcesEdit, getPosition, getPreferredSize, getRowCellSize, getRowHeightValues, getRowLabelOffset, getRowLabelPlacement, getRowPixelHeight, getSelectedBackground, getSelectedBackgroundMode, getSelectedCells, getSelectedForeground, getSelectedForegroundMode, getSelectIncludeLabels, getSelectionModel, getSelectionPolicy, getSpanHandler, getSpannedRange, getSpannedRanges, getTableLayout, getTextHeightOffset, getTextWidthOffset, getTopRow, getTrackBackground, getTrackForeground, getTrackSize, getUI, getUIClassID, getUniqueCellStyle, getUserData, getVariableEstimateCount, getVertSB, getVertSBAttachment, getVertSBDisplay, getVertSBOffset, getVertSBPosition, getVertSBTrack, getVertSBTrackColumn, getVisibleCells, getVisibleColumns, getVisibleRows, goToRow, hasComponent, hasComponents, hideShowColumns, isAutoEdit, isCell, isCellVisible, isColumnHidden, isColumnLabel, isColumnLabelDisplay, isColumnVisible, isContentClipped, isCurrentCell, isEditable, isFocusTraversable, isIgnoreContainerSize, isLabel, isPopupMenuEnabled, isRecalcRequired, isRelayoutRequired, isRepaintEnabled, isRepaintRequired, isResizable, isResizeEven, isResizeInteractive, isRowHidden, isRowLabel, isRowLabelDisplay, isRowVisible, isSelected, isSeriesDataSorted, isStoreImageEnabled, isTrackCursor, isTracking, isTraversable, isTraverseCycle, isValidCell, keyPressed, keyReleased, keyTyped, layoutAreas, makeColumnVisible, makeRowVisible, makeVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintComponent, processKeyEvent, processMouseEvent, processMouseMotionEvent, removeAction, removeAction, removeAction, removeAllActions, removeCellDisplayListener, removeEditCellListener, removePaintListener, removeResizeCellListener, removeResizeCellMotionListener, removeScrollListener, removeSelectListener, removeSortListener, removeSpannedRange, removeTableMouseWheelListener, removeTraverseCellListener, repaintSelected, requestChange, requestChange, requestChange, requestFocus, resetSortedRows, resetSwappedColumns, resetSwappedRows, reshape, selectAll, setAllowCellResize, setAllowResizeBy, setAutoEdit, setAutoScroll, setCellBorderWidth, setCellEditor, setCellEditor, setCellEditorMapping, setCellLayout, setCellRenderer, setCellRenderer, setCellRendererMapping, setCellStyle, setCellStyle, setCellStyles, setCharHeight, setCharWidth, setColumnCellSize, setColumnHidden, setColumnLabelDisplay, setColumnLabelOffset, setColumnLabelPlacement, setColumnSelection, setColumnWidthChanged, setComponent, setComponent, setComponentBorderWidth, setCurrentCell, setCurrentCell, setCurrentCell, setCursor, setDataSource, setDataView, setEditHeightPolicy, setEditWidthPolicy, setFocusColor, setFocusIndicator, setFocusManager, setFrameBorder, setFrameBorderWidth, setFrozenColumnPlacement, setFrozenColumns, setFrozenRowPlacement, setFrozenRows, setHorizSB, setHorizSBAttachment, setHorizSBDisplay, setHorizSBOffset, setHorizSBPosition, setHorizSBTrack, setHorizSBTrackRow, setIgnoreContainerSize, setJumpScroll, setLeftColumn, setLicense, setMarginHeight, setMarginWidth, setMaxHeight, setMaxWidth, setMinCellVisibility, setMinHeight, setMinWidth, setPixelHeight, setPixelWidth, setPointerTraverseForcesEdit, setPopupMenuEnabled, setRecalcRequired, setRelayoutRequired, setRepaintEnabled, setRepaintRequired, setResizeEven, setResizeInteractive, setRowCellSize, setRowHeightChanged, setRowHidden, setRowLabelDisplay, setRowLabelOffset, setRowLabelPlacement, setRowSelection, setSelectedBackground, setSelectedBackgroundMode, setSelectedCells, setSelectedCells, setSelectedForeground, setSelectedForegroundMode, setSelectIncludeLabels, setSelection, setSelectionModel, setSelectionPolicy, setSeriesDataSorted, setSpanHandler, setSpannedRanges, setStoreImageEnabled, setTopRow, setTrackBackground, setTrackCursor, setTrackForeground, setTrackSize, setTraverseCycle, setUI, setUserData, setUserData, setVariableEstimateCount, setVertSB, setVertSBAttachment, setVertSBDisplay, setVertSBOffset, setVertSBPosition, setVertSBTrack, setVertSBTrackColumn, setVisibleColumns, setVisibleRows, showPopupMenu, sortByColumn, sortByColumn, sortByColumn, sortByColumn, swapColumns, swapRows, traverse, traverse, updateUI, XtoColumn, XYToCell, YtoRow
 
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, 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, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, 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, 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, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, 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, getName, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cellRenderer

protected com.klg.jclass.cell.JCCellRenderer cellRenderer

numColumns

protected static int numColumns

numRows

protected static int numRows
Constructor Detail

LiveTable

public LiveTable()
Default constructor - creates an empty 10-row x 5-column table


LiveTable

public LiveTable(boolean editable)
Default constructor - creates an empty 10-row x 5-column table with editable or non-editable data source

Method Detail

getFrameBorderType

public int getFrameBorderType()
Gets the table's frameBorderType property value.

See Also:
setFrameBorderType(int)

setFrameBorderType

public void setFrameBorderType(int borderType)
Sets the CellBorder model of the borders surrounding cell and label areas according with the borderType value.

See Also:
getFrameBorderType()

setAbout

public void setAbout(String s)
Provided for beans property editors - has no effect.


getAbout

public String getAbout()
Returns vendor information.


getData

public com.klg.jclass.table.beans.DataWrapper getData()
Gets the data property.

See Also:
setData(com.klg.jclass.table.beans.DataWrapper)

setData

public void setData(com.klg.jclass.table.beans.DataWrapper wrapper)
Sets the table data.


getFrozenCellLayout

public com.klg.jclass.table.beans.FrozenCellLayoutWrapper getFrozenCellLayout()
Gets the frozenCellLayout property.

See Also:
setFrozenCellLayout(com.klg.jclass.table.beans.FrozenCellLayoutWrapper)

setFrozenCellLayout

public void setFrozenCellLayout(com.klg.jclass.table.beans.FrozenCellLayoutWrapper wrapper)
Sets the frozenCellLayout property.

See Also:
getFrozenCellLayout()

getLabelLayout

public com.klg.jclass.table.beans.LabelLayoutWrapper getLabelLayout()
Gets the labelLayout property.

See Also:
setLabelLayout(com.klg.jclass.table.beans.LabelLayoutWrapper)

setLabelLayout

public void setLabelLayout(com.klg.jclass.table.beans.LabelLayoutWrapper wrapper)
Sets the labelLayout property.

See Also:
getLabelLayout()

getSBLayout

public com.klg.jclass.table.beans.SBLayoutWrapper getSBLayout()
Gets the sBLayout property.

See Also:
setSBLayout(com.klg.jclass.table.beans.SBLayoutWrapper)

setSBLayout

public void setSBLayout(com.klg.jclass.table.beans.SBLayoutWrapper wrapper)
Sets the sBLayout property.

See Also:
getSBLayout()

getStyles

public com.klg.jclass.table.beans.StyleWrapper getStyles()
Gets the styles property.

See Also:
setStyles(com.klg.jclass.table.beans.StyleWrapper)

setStyles

public void setStyles(com.klg.jclass.table.beans.StyleWrapper wrapper)
Sets the styles property.

See Also:
getStyles()

setSwingDataModel

public void setSwingDataModel(TableModel model)
Gets the swingDataModel property.

See Also:
setSwingDataModel(javax.swing.table.TableModel)

getSwingDataModel

public TableModel getSwingDataModel()
Gets the swingDataModel property.

See Also:
setSwingDataModel(javax.swing.table.TableModel)

getCellSize

public com.klg.jclass.table.beans.CellSizeWrapper getCellSize()
Gets the textPositioning property.

See Also:
setCellSize(com.klg.jclass.table.beans.CellSizeWrapper)

makePositionsArray

protected com.klg.jclass.table.PositionCellSize[] makePositionsArray(List list)

setCellSize

public void setCellSize(com.klg.jclass.table.beans.CellSizeWrapper wrapper)
Sets the cellSize property.

See Also:
getCellSize()

getSpannedCells

public com.klg.jclass.table.beans.SpannedCellsWrapper getSpannedCells()
Gets the spannedCells property.

See Also:
setSpannedCells(com.klg.jclass.table.beans.SpannedCellsWrapper)

setSpannedCells

public void setSpannedCells(com.klg.jclass.table.beans.SpannedCellsWrapper wrapper)
Sets the spannedCells property.

See Also:
getSpannedCells()

makeDataSource

protected void makeDataSource(boolean editable)

createCellStyle

public com.klg.jclass.table.CellStyleModel createCellStyle()
Returns the new CellStyleModel object.

Overrides:
createCellStyle in class JCTable
Returns:
a new CellStyleModel object

setCellRenderer

public void setCellRenderer(com.klg.jclass.cell.JCCellRenderer renderer)

getNumEditorColumns

public static int getNumEditorColumns()
Returns the number of columns in the editor

Returns:
numColumns the number of editor columns

setNumEditorColumns

public static void setNumEditorColumns(int nc)
Sets the number of columns in the editor, and therefore, in the table

Parameters:
nc - int number of columns

getNumEditorRows

public static int getNumEditorRows()
Returns the number of rows in the editor

Returns:
numRows the number of editor rows

setNumEditorRows

public static void setNumEditorRows(int nr)
Sets the number of rows in the editor, and and therefore, in the table

Parameters:
nr -

getSelectedRange

protected com.klg.jclass.table.JCCellRange getSelectedRange()

createArray

protected String[] createArray(Vector v)

createArray2D

protected String[][] createArray2D(Vector v)

createVector

protected Vector createVector(String[] s)

createVector

protected Vector createVector(String[][] s)

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