|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
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 | +--javax.swing.JComponent | +--com.klg.jclass.table.JCTable | +--com.klg.jclass.table.beans.LiveTable
This is the LiveTable bean class.
com.sun.java.util
class.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 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.cell.JCCellRenderer cellRenderer
protected static int numColumns
protected static int numRows
Constructor Detail |
public LiveTable()
public LiveTable(boolean editable)
Method Detail |
public int getFrameBorderType()
frameBorderType
property value.
setFrameBorderType(int)
public void setFrameBorderType(int borderType)
getFrameBorderType()
public void setAbout(String s)
public String getAbout()
public com.klg.jclass.table.beans.DataWrapper getData()
setData(com.klg.jclass.table.beans.DataWrapper)
public void setData(com.klg.jclass.table.beans.DataWrapper wrapper)
public com.klg.jclass.table.beans.FrozenCellLayoutWrapper getFrozenCellLayout()
setFrozenCellLayout(com.klg.jclass.table.beans.FrozenCellLayoutWrapper)
public void setFrozenCellLayout(com.klg.jclass.table.beans.FrozenCellLayoutWrapper wrapper)
getFrozenCellLayout()
public com.klg.jclass.table.beans.LabelLayoutWrapper getLabelLayout()
setLabelLayout(com.klg.jclass.table.beans.LabelLayoutWrapper)
public void setLabelLayout(com.klg.jclass.table.beans.LabelLayoutWrapper wrapper)
getLabelLayout()
public com.klg.jclass.table.beans.SBLayoutWrapper getSBLayout()
setSBLayout(com.klg.jclass.table.beans.SBLayoutWrapper)
public void setSBLayout(com.klg.jclass.table.beans.SBLayoutWrapper wrapper)
getSBLayout()
public com.klg.jclass.table.beans.StyleWrapper getStyles()
setStyles(com.klg.jclass.table.beans.StyleWrapper)
public void setStyles(com.klg.jclass.table.beans.StyleWrapper wrapper)
getStyles()
public void setSwingDataModel(TableModel model)
setSwingDataModel(javax.swing.table.TableModel)
public TableModel getSwingDataModel()
setSwingDataModel(javax.swing.table.TableModel)
public com.klg.jclass.table.beans.CellSizeWrapper getCellSize()
setCellSize(com.klg.jclass.table.beans.CellSizeWrapper)
protected com.klg.jclass.table.PositionCellSize[] makePositionsArray(List list)
public void setCellSize(com.klg.jclass.table.beans.CellSizeWrapper wrapper)
getCellSize()
public com.klg.jclass.table.beans.SpannedCellsWrapper getSpannedCells()
setSpannedCells(com.klg.jclass.table.beans.SpannedCellsWrapper)
public void setSpannedCells(com.klg.jclass.table.beans.SpannedCellsWrapper wrapper)
getSpannedCells()
protected void makeDataSource(boolean editable)
public com.klg.jclass.table.CellStyleModel createCellStyle()
createCellStyle
in class JCTable
CellStyleModel
objectpublic void setCellRenderer(com.klg.jclass.cell.JCCellRenderer renderer)
public static int getNumEditorColumns()
public static void setNumEditorColumns(int nc)
nc
- int number of columnspublic static int getNumEditorRows()
public static void setNumEditorRows(int nr)
nr
- protected com.klg.jclass.table.JCCellRange getSelectedRange()
protected String[] createArray(Vector v)
protected String[][] createArray2D(Vector v)
protected Vector createVector(String[] s)
protected Vector createVector(String[][] s)
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |