|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Panel com.roguewave.blend.obbase.v2_0.OBBase com.iisc.grid.GXCore com.iisc.grid.GXCore1 com.iisc.grid.GXGridCore com.iisc.jwc.jsheet.Sheet
Field Summary |
Fields inherited from class com.iisc.grid.GXGridCore |
BUTTON, CHECKBOX, COMBOBOX, CURRENCYFIELD, DATEFIELD, LABEL, LISTBOX, MASKEDIT, MergeHorz, MergeVert, SPINNER, TIMEFIELD |
Fields inherited from class com.iisc.grid.GXCore1 |
coDraggingCells, coDraggingCols, coDraggingDiagonalResizing, coDraggingHorizontalResizing, coDraggingHorizontalSelection, coDraggingRows, coDraggingSelection, coDraggingVerticalResizing, coDraggingVerticalSelection, coNoDragging, coNOP, coSelectedCurCell, coSelectedTable, escaped, TEXT |
Fields inherited from class com.iisc.grid.GXCore |
ALPHA_HEADINGS, DELETE, IMAGE, INSERT, MOVE, NUMERIC_HEADINGS |
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 | |
Sheet()
|
|
Sheet(com.iisc.jwc.orb.CSheet cSheet,
JSClient target,
com.iisc.jwc.jsheet.Book book)
Initilize the Sheet |
Method Summary | |
com.iisc.jwc.jsheet.ObserverItems |
addObserver(com.iisc.jwc.orb.CRange range,
short nameID)
Creates an Observers object for this range. |
com.iisc.jwc.jsheet.ObserverItems |
addObserver(com.iisc.jwc.orb.CRange range,
short nameID,
boolean cacheOnServer,
int updateInterval)
Creates an Observers object for this range. |
void |
addProtection(com.iisc.jwc.orb.CRange[] range,
java.lang.String userOrGroup,
int permission)
|
void |
clearCells(Range[] ranges)
|
void |
clearSelectedData()
|
void |
dragAndDrop(int nRow,
int nCol,
boolean isCtrlDown)
|
void |
draw(java.awt.Graphics g)
|
void |
enableFeatures()
|
com.iisc.jwc.orb.CCell |
getActiveCell()
Returns the current active cell |
com.iisc.jwc.jsheet.Book |
getBook()
Returns the book for this sheet |
com.iisc.jwc.orb.CCellData |
getCellData(Cell cell)
|
java.lang.String |
getCellEntry(com.iisc.jwc.orb.CCell cell)
Returns the value of the cell at row, col. |
java.lang.String |
getCellHTML(com.iisc.jwc.orb.CCell cell,
int flags)
Returns the HTML of the cell at row, col. |
int |
getCellProtection(com.iisc.jwc.orb.CCell cell)
|
com.iisc.jwc.orb.CValue |
getCellValue(com.iisc.jwc.orb.CCell cell)
Returns the value of the cell. |
com.iisc.jwc.orb.CSheet |
getCSheet()
Returns the CORBA CSheet object |
com.iisc.jwc.orb.CSheetView |
getCSheetView()
Returns the CORBA CSheetView object |
com.iisc.jwc.orb.CStyle |
getCStyle(com.iisc.jwc.orb.CCell cell)
Returns the CStyle object of the specified cell |
com.iisc.jwc.orb.CStyle |
getCStyle(int idx)
Returns the CStyle object for this index in the style array |
com.iisc.jwc.jsheet.DataTracker |
getDataTracker()
|
Cell |
getGridSize()
Shows or hides the grid lines |
short |
getIndex()
Returns the index of this sheet in the book |
short |
getNameID()
Returns the name id of this sheet |
com.iisc.jwc.orb.CRange |
getOneSelection()
|
com.iisc.jwc.orb.CProtection[] |
getProtectionList()
|
com.iisc.jwc.orb.CRange[] |
getSelection()
Return the range for the currently selected range |
JSClient |
getTarget()
|
Range |
getWorkArea()
|
Range |
getWorkArea(boolean cached)
|
void |
initJSheet()
|
boolean |
isFocusable()
|
void |
modifyObserver(com.iisc.jwc.jsheet.ObserverItems obs,
com.iisc.jwc.orb.CRange range)
Remove the observer managers |
com.iisc.jwc.orb.CNumericStyle |
newCNumericStyle(java.awt.Color negativeColor,
java.lang.String customFormat,
int formatType,
int precision,
int attr)
Returns a new CNumericStyle object |
void |
print(java.awt.Graphics g)
When printing to a postscript printer, we need double buffering to be off. |
void |
printSelected(java.lang.String name)
Prints the selected grid sheet cells. |
void |
printSheet(java.lang.String name)
Prints the grid sheet cells. |
void |
removeAllObservers(boolean clientOnly)
Remove all of the observers |
void |
removeObserver(com.iisc.jwc.jsheet.ObserverItems obs)
Remove the observer managers |
void |
removeProtection(com.iisc.jwc.orb.CRange[] range,
java.lang.String userOrGroup,
int permission)
|
void |
setActivateObserver(boolean activate)
Activate/deactivate the observer manager for this sheet |
void |
setActiveCell(com.iisc.jwc.orb.CCell cell)
Returns the current active cell |
void |
setBGImage(java.awt.Image image)
|
void |
setCellEntry(com.iisc.jwc.orb.CCell cell,
java.lang.String text)
Sets the text for this cell on the server |
void |
setCellEntry(java.lang.String text)
Sets the cells value for the current cell. |
void |
setCellValue(com.iisc.jwc.orb.CCell cell,
com.iisc.jwc.orb.CValue value)
Sets the cells value. |
boolean |
setCStyle(com.iisc.jwc.orb.CStyle cstyle)
Applys the style to the selected range |
void |
setFreezePaneCell(com.iisc.jwc.orb.CCell cell)
Sheet Property attributes |
void |
setGridSize(int row,
int col)
Sets the maximum size of the entire grid |
void |
setNameID(short nmid)
Sets the name id of this sheet in the book |
void |
setSelection(com.iisc.jwc.orb.CRange range)
Sets the grid's selection range. |
void |
setSelection(com.iisc.jwc.orb.CRange[] ranges)
Sets the grid's selection range. |
void |
setSelection(com.iisc.jwc.orb.CRange range,
boolean clear)
Sets the grid's selection range. |
void |
setStyle(com.iisc.jwc.orb.CStyle style)
Sets the style for the current range |
void |
setVisibleGridLines(boolean set)
Shows or hides the grid lines |
void |
setVisibleHeaders(boolean set)
Shows or hides the grid headers |
boolean |
storeStyleRowCol(int nRow,
int nCol,
com.iisc.grid.GXStyle style,
int mt,
int nType)
IGNORE |
void |
updateSheetProperties()
|
Methods inherited from class com.iisc.grid.GXGridCore |
_canCut, _canPaste, _canPaste, _copy, _cut, _paste, calcCoverRect, canFloatCell, canMergeCell, canMergeCells, clearFloatCells, clearMergeCells, emptyRedoList, emptyUndoList, getBottomMargin, getClipboardContent, getColLabel, getColLabels, getCurColLabel, getCurRowLabel, getDraggingRectColor, getDragOffset, getFloatCellsMode, getFloatCellsPool, getFloatedCellRowCol, getFloatedCellRowCol, getGXCopyPasteImp, getGXDragDropImp, getGXFloatCellsImp, getGXMergeCellsImp, getGXPrintImp, getLeftMargin, getMergeCellsMode, getMergeCellsPool, getMergedCellRowCol, getMergedCellRowCol, getMergedCellRowCol, getRedoCount, getRedoMax, getRightMargin, getRowLabel, getRowLabels, getShowHScrollbar, getShowVScrollbar, getSpanCol, getTopMargin, getUndoCount, getUndoMax, insertCols, InsertCols, insertRows, InsertRows, invalidateRange, isMoveCells, isMoveCols, isMoveRows, lostOwnership, mergeCell, onPreparePrinting, onSelDragDrop, onSelDragMove, onSelDragStart, print, print, print, print, printSelection, redo, Redo, setBorder, setBottomMargin, setClipboard, setColLabel, setColLabels, setCover, setCurColLabel, setCurRowLabel, setDebugEnabled, setDefaultColWidth, setDefaultRowHeight, setDraggingRectColor, setFloatCellRowCol, setFloatCellsMode, setFloatedCellRowCol, setFreezePaneCell, setGXCopyPasteImp, setGXDragDropImp, setGXFloatCellsImp, setGXMergeCellsImp, setGXPrintImp, setLeftMargin, setMergeCellRowCol, setMergeCellsMode, setMergedCellRowCol, setMoveCells, setMoveCols, setMoveRows, setRedoMax, setRightMargin, setRowLabel, setRowLabels, setShowHScrollbar, setShowVScrollbar, setTopMargin, setUndoMax, uncover, undo, Undo, updateFloatedCell |
Methods inherited from class com.iisc.grid.GXCore1 |
activateCurrentCell, addGXGridListener, applyStyleToCurrentRange, applyStyleToCurrentRange, calcRectFromRowCol, calcValidClientRowColFromPt, canSelectCurrentCell, clearSelection, deactiveCurrentCell, displayWarningText, focusGained, focusLost, getArrayWithColWidths, getArrayWithRowHeights, getAwtComponent, getCoveredCellRowCol, getCurrentCell, getCurrentCellStyle, getCursorType, getDragState, getFocusRectColor, getGXKeyListener, getGXMouseListener, getGXMouseMotionListener, getGXResizingImp, getGXSelectionImp, getInvertCurCellIfSelected, getModifiedFlag, getRangeAtRowCol, getSelectedCols, getSelectedRows, getSelectionMode, getSelectRange, getStyleRowCol, getToolTipText, getToolTipTextRowCol, getTopLeftCell, getTrackColID, getTrackColWidthMode, getTrackRowHeightMode, getTrackRowID, getValueRowCol, getWarningText, gotFocus, hasFocus, hideCols, hideRows, insertCols, insertRows, isAutoScroll, isCellBeSelected, isClickEditing, isColBeSelected, isCurrentCell, isDragCell, isDragDrop, isFocusTraversable, isReadOnly, isRowBeSelected, isSelectionEnabled, isSelectMultipleRows, isSizingOnlyHeaders, isTracking, isTrackingMove, isValidCell, lostFocus, moveCols, moveRows, moveTo, moveTo, moveToNextCell, nextCell, processGXGridEvent, registerControls, removeCols, removeGXGridListener, removeRows, removeSelectedRange, repaintRange, resizeColWidthsToFit, resizeRowHeightsToFit, scroll, scrollToView, selectCols, selectRange, selectRows, setAutoScroll, setClickEditing, setColWidth, setCoverCellsRowCol, setCurrentCell, setCurrentCell, setCurrentCellStyle, setCursor, setDefaultColWidth, setDefaultRowHeight, setDragCell, setDragDrop, setDragState, setFocusRectColor, setFrozenCols, setFrozenRows, setGXKeyListener, setGXMouseListener, setGXMouseMotionListener, setGXResizingImp, setGXSelectionImp, setInvertCurCellIfSelected, setModifiedFlag, setModifiedFlag, setProcessFocusEvent, setReadOnly, setRowHeight, setSelectionEnabled, setSelectionMode, setSelectMultipleRows, setSelectRange, setSelectRange, setSizingOnlyHeaders, setStyleRange, setStyleRange, setStyleRange, setStyleRange, setStyleRange, setStyleRange, setTopLeftCell, setTrackColID, setTrackColWidthMode, setTrackingMove, setTrackingState, setTrackRowHeightMode, setTrackRowID, setUncoverCellsRowCol, setWarningText, startAutoScroll, stopAutoScroll |
Methods inherited from class com.iisc.grid.GXCore |
addCover, addNotify, alphaHeading, calcCoverRect, calcRectFromRange, calcRectFromRowCol, clearCells, colHeaderStyle, composeStyleRowCol, doLayout, get3DButtons, getCellAddress, getCellChoice, getCellValue, getColCount, getColStyle, getColWidth, getControlColor, getControlDKShadowColor, getControlHighlightColor, getControlLtHighlightColor, getControlShadowColor, getControlTextColor, getCoverAt, getCoverCount, getDefaultColWidth, getDefaultRowHeight, getDrawHLine, getDrawVLine, getFrozenCols, getFrozenRows, getGridDimension, getGridLineColor, getGXCoverImp, getHAdjustable, getHeaderColor, getHeaderCols, getHeaderRows, getHeaderTextColor, getHeadingType, getHLineExtend, getHScrollbarHeight, getImage, getInsets, getLastVisibleCol, getLastVisibleRow, getLeftCol, getMarkCurCol, getMarkCurRow, getMaxLeftCol, getMaxTopRow, getMaxVisibleCols, getMaxVisibleRows, getMinimumSize, getParam, getPreferredSize, getRowCount, getRowHeight, getRowStyle, getSelectionRectColor, getShowFreezePane, getSizeLineColor, getStartCol, getStartRow, getStyleRowCol, getStyleRowCol, getTableStyle, getTopRow, getVAdjustable, getVLineExtend, getVScrollbarWidth, invalidateCell, invalidateCols, invalidateRows, invalidateTable, isBaseStyleUsed, isBorder, isCellBeCovered, isColHidden, isLockUpdate, isRowHidden, isThickFrame, isTransparentBackground, isVisibleCell, normalizeRange, registerControl, removeCover, rowHeaderStyle, set3DHeaders, setBaseStyleUsed, setBounds, setCellChoice, setCellChoice, setCellValue, setCellValue, setColCount, setColStyle, setColWidth, setControlColor, setControlDKShadowColor, setControlHighlightColor, setControlLtHighlightColor, setControlShadowColor, setControlTextColor, setCoverCellsRowCol, setDrawHLine, setDrawingTechnique, setDrawVLine, setFrozenCols, setFrozenRows, setGridLineColor, setGXCoverImp, setHeaderColor, setHeaderCols, setHeaderRows, setHeaderTextColor, setHeadingType, setImage, setLockUpdate, setMarkCurCol, setMarkCurRow, setParam, setRowCount, setRowHeight, setRowStyle, setSelectionRectColor, setShowFreezePane, setSizeLineColor, setTableStyle, setThickFrame, setTransparentBackground, setUncoverCellsRowCol, setValueRange, standardStyle, storeColWidth, storeColWidth, storeCoveredCellsRowCol, storeDefaultColWidth, storeDefaultRowHeight, storeInsertCols, storeInsertCols, storeInsertRows, storeInsertRows, storeMoveCols, storeMoveCols, storeMoveCols, storeMoveRows, storeMoveRows, storeMoveRows, storeRemoveCols, storeRemoveCols, storeRemoveRows, storeRemoveRows, storeRowHeight, storeRowHeight, storeStyleRowCol, storeStyleRowCol, unregisterControl, updateScrollbar |
Methods inherited from class com.roguewave.blend.obbase.v2_0.OBBase |
adjustmentValueChanged, getAlwaysShowScrollbars, getHScrollbar, getVScrollbar, hideHScrollbar, hideScrollbar, hideVScrollbar, isDoubleBuffering, paint, repaint, setAlwaysShowScrollbars, setDoubleBuffering, setHScrollbarHeight, setVScrollbarWidth, showHScrollbar, showScrollbar, showVScrollbar, update, update, update |
Methods inherited from class java.awt.Panel |
getAccessibleContext |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Sheet()
public Sheet(com.iisc.jwc.orb.CSheet cSheet, JSClient target, com.iisc.jwc.jsheet.Book book) throws com.iisc.jwc.orb.CException
cSheet
- the CORBA sheet objecttarget
- the JSClient targetbook
- the Book object which holds this sheet
com.iisc.jwc.orb.CException
- ORB error.Method Detail |
public com.iisc.jwc.jsheet.ObserverItems addObserver(com.iisc.jwc.orb.CRange range, short nameID) throws com.iisc.jwc.orb.CException
addObserver
in interface com.iisc.jwc.jsheet.ISheet
range
- the range to observe
com.iisc.jwc.orb.CException
- ORB error.public com.iisc.jwc.jsheet.ObserverItems addObserver(com.iisc.jwc.orb.CRange range, short nameID, boolean cacheOnServer, int updateInterval) throws com.iisc.jwc.orb.CException
addObserver
in interface com.iisc.jwc.jsheet.ISheet
range
- the range to observecacheOnServer
- if true the server will only send values that have changed.updateInterval
- let a minimum of updateInterval seconds pass between updates
of this observer.
com.iisc.jwc.orb.CException
- ORB error.public void addProtection(com.iisc.jwc.orb.CRange[] range, java.lang.String userOrGroup, int permission) throws com.iisc.jwc.orb.CException
addProtection
in interface com.iisc.jwc.jsheet.ISheet
com.iisc.jwc.orb.CException
public void clearCells(Range[] ranges)
public void clearSelectedData()
public void dragAndDrop(int nRow, int nCol, boolean isCtrlDown)
public void draw(java.awt.Graphics g)
public void enableFeatures()
public com.iisc.jwc.orb.CCell getActiveCell()
getActiveCell
in interface com.iisc.jwc.jsheet.ISheet
public com.iisc.jwc.jsheet.Book getBook()
public com.iisc.jwc.orb.CCellData getCellData(Cell cell) throws com.iisc.jwc.orb.CException
getCellData
in interface com.iisc.jwc.jsheet.ISheet
com.iisc.jwc.orb.CException
public java.lang.String getCellEntry(com.iisc.jwc.orb.CCell cell) throws com.iisc.jwc.orb.CException
getCellEntry
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell object
com.iisc.jwc.orb.CException
- ORB error.public java.lang.String getCellHTML(com.iisc.jwc.orb.CCell cell, int flags) throws com.iisc.jwc.orb.CException
getCellHTML
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell object
com.iisc.jwc.orb.CException
- ORB error.public int getCellProtection(com.iisc.jwc.orb.CCell cell) throws com.iisc.jwc.orb.CException
getCellProtection
in interface com.iisc.jwc.jsheet.ISheet
com.iisc.jwc.orb.CException
public com.iisc.jwc.orb.CValue getCellValue(com.iisc.jwc.orb.CCell cell) throws com.iisc.jwc.orb.CException
getCellValue
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell object
com.iisc.jwc.orb.CException
- ORB error.public com.iisc.jwc.orb.CSheet getCSheet()
getCSheet
in interface com.iisc.jwc.jsheet.ISheet
public com.iisc.jwc.orb.CSheetView getCSheetView()
getCSheetView
in interface com.iisc.jwc.jsheet.ISheet
public com.iisc.jwc.orb.CStyle getCStyle(com.iisc.jwc.orb.CCell cell) throws com.iisc.jwc.orb.CException
getCStyle
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell object
com.iisc.jwc.orb.CException
- ORB error.public com.iisc.jwc.orb.CStyle getCStyle(int idx) throws com.iisc.jwc.orb.CException
idx
- the index into the style array
com.iisc.jwc.orb.CException
- ORB error.public com.iisc.jwc.jsheet.DataTracker getDataTracker()
getDataTracker
in interface com.iisc.jwc.jsheet.ISheet
public Cell getGridSize()
public short getIndex()
getIndex
in interface com.iisc.jwc.jsheet.ISheet
public short getNameID()
public com.iisc.jwc.orb.CRange getOneSelection()
public com.iisc.jwc.orb.CProtection[] getProtectionList() throws com.iisc.jwc.orb.CException
getProtectionList
in interface com.iisc.jwc.jsheet.ISheet
com.iisc.jwc.orb.CException
public com.iisc.jwc.orb.CRange[] getSelection()
getSelection
in interface com.iisc.jwc.jsheet.ISheet
public JSClient getTarget()
public Range getWorkArea() throws com.iisc.jwc.orb.CException
com.iisc.jwc.orb.CException
public Range getWorkArea(boolean cached) throws com.iisc.jwc.orb.CException
com.iisc.jwc.orb.CException
public void initJSheet()
public boolean isFocusable()
public void modifyObserver(com.iisc.jwc.jsheet.ObserverItems obs, com.iisc.jwc.orb.CRange range) throws com.iisc.jwc.orb.CException
modifyObserver
in interface com.iisc.jwc.jsheet.ISheet
obs
- the observer itemsrange
- the new range for the observer
com.iisc.jwc.orb.CException
- ORB error.public com.iisc.jwc.orb.CNumericStyle newCNumericStyle(java.awt.Color negativeColor, java.lang.String customFormat, int formatType, int precision, int attr)
negativeColor
- the color for negative numbers, or null to use font colorcustomFormat
- the background ColorformatType
- the style alignment settingsprecision
- the numeric precisionattr
- other format attributespublic void print(java.awt.Graphics g)
public void printSelected(java.lang.String name)
name
- The sheet's name.public void printSheet(java.lang.String name)
name
- The sheet's name.public void removeAllObservers(boolean clientOnly)
clientOnly
- server references have already been deleted, just remove client infopublic void removeObserver(com.iisc.jwc.jsheet.ObserverItems obs) throws com.iisc.jwc.orb.CException
removeObserver
in interface com.iisc.jwc.jsheet.ISheet
obs
- the observer items
com.iisc.jwc.orb.CException
- ORB error.public void removeProtection(com.iisc.jwc.orb.CRange[] range, java.lang.String userOrGroup, int permission) throws com.iisc.jwc.orb.CException
removeProtection
in interface com.iisc.jwc.jsheet.ISheet
com.iisc.jwc.orb.CException
public void setActivateObserver(boolean activate) throws com.iisc.jwc.orb.CException
setActivateObserver
in interface com.iisc.jwc.jsheet.ISheet
activate
- true to activate, false to deactivate
com.iisc.jwc.orb.CException
- ORB error.public void setActiveCell(com.iisc.jwc.orb.CCell cell)
setActiveCell
in interface com.iisc.jwc.jsheet.ISheet
public void setBGImage(java.awt.Image image)
public void setCellEntry(com.iisc.jwc.orb.CCell cell, java.lang.String text) throws com.iisc.jwc.orb.CException
setCellEntry
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell objecttext
- the text to set
com.iisc.jwc.orb.CException
- ORB error.public void setCellEntry(java.lang.String text)
text
- the value to setpublic void setCellValue(com.iisc.jwc.orb.CCell cell, com.iisc.jwc.orb.CValue value) throws com.iisc.jwc.orb.CException
setCellValue
in interface com.iisc.jwc.jsheet.ISheet
cell
- the cell objectvalue
- the value object
com.iisc.jwc.orb.CException
- ORB error.public boolean setCStyle(com.iisc.jwc.orb.CStyle cstyle) throws com.iisc.jwc.orb.CException
setCStyle
in interface com.iisc.jwc.jsheet.ISheet
cstyle
- a CStyle object containing the formatting changes
com.iisc.jwc.orb.CException
- ORB error.public void setFreezePaneCell(com.iisc.jwc.orb.CCell cell)
public void setGridSize(int row, int col)
row
- the largest rowcol
- the largest columnpublic void setNameID(short nmid)
public void setSelection(com.iisc.jwc.orb.CRange range)
setSelection
in interface com.iisc.jwc.jsheet.ISheet
range
- the range to selectpublic void setSelection(com.iisc.jwc.orb.CRange[] ranges)
setSelection
in interface com.iisc.jwc.jsheet.ISheet
ranges
- the ranges to selectpublic void setSelection(com.iisc.jwc.orb.CRange range, boolean clear)
setSelection
in interface com.iisc.jwc.jsheet.ISheet
range
- the range to selectclear
- true to clear previous selection, false to create additional selectionpublic void setStyle(com.iisc.jwc.orb.CStyle style) throws com.iisc.jwc.orb.CException
style
- the CStyle object contain the information to change
com.iisc.jwc.orb.CException
- ORB error.public void setVisibleGridLines(boolean set)
set
- true to turn them on, false to turn them offpublic void setVisibleHeaders(boolean set)
set
- true to turn them on, false to turn them offpublic boolean storeStyleRowCol(int nRow, int nCol, com.iisc.grid.GXStyle style, int mt, int nType)
public void updateSheetProperties()
|
Email JSheet Support | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |