|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.olaptableview.OLAPOriginComponent
public class OLAPOriginComponent
Field Summary | |
---|---|
protected javax.swing.table.TableCellRenderer |
columnLabelRenderer
|
protected int |
preferredHeightForLastColumnLevel
|
protected int |
preferredRowLevelHeight
|
protected int |
rowAxisLabelsHeight
|
protected boolean |
rowHeightSet
|
protected javax.swing.table.TableCellRenderer |
rowLabelRenderer
|
Fields inherited from class com.sas.swing.visuals.tableview.OriginComponent |
---|
renderer, table |
Constructor Summary | |
---|---|
OLAPOriginComponent()
Constructs a default OLAPOriginComponent. |
|
OLAPOriginComponent(TableView table)
Constructs a default OLAPOriginComponent with the given table set as the TableView. |
Method Summary | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
protected javax.swing.table.TableCellRenderer |
createDefaultColumnLabelRenderer()
Returns a default renderer to be used for renderering the column labels associated with the column levels. |
||||||||||||||||||||||||
protected javax.swing.table.TableCellRenderer |
createDefaultRowLabelRenderer()
Returns a default renderer to be used for renderering the row labels associated with the row levels. |
||||||||||||||||||||||||
OLAPColumnHeader |
getColumnHeader()
Returns the instance of the OLAPColumnHeader associated with the table or null if no table has been set. |
||||||||||||||||||||||||
protected java.awt.Component |
getColumnHeaderRendererComponent(int levelIndex)
|
||||||||||||||||||||||||
java.lang.String |
getColumnLabel(int level)
Returns the label that is used for the given level for the column levels. |
||||||||||||||||||||||||
javax.swing.table.TableCellRenderer |
getColumnLabelRenderer()
Returns the renderer that is used to renderer the labels for the column levels. |
||||||||||||||||||||||||
int |
getColumnLevelAtPoint(java.awt.Point point)
Returns the column level for teh given point. |
||||||||||||||||||||||||
int |
getPreferredColumnLevelHeight(int level)
Returns the prefered height for the given column level. |
||||||||||||||||||||||||
int |
getPreferredRowLevelWidth(int level)
Returns the preferred width in pixels of the given row level. |
||||||||||||||||||||||||
OLAPRowHeader |
getRowHeader()
Returns the instance of the OLAPRowHeader associated with the table or null if no table has been set. |
||||||||||||||||||||||||
protected java.awt.Component |
getRowHeaderRendererComponent(int levelIndex)
|
||||||||||||||||||||||||
java.lang.String |
getRowLabel(int level)
Returns the label that is used for the given level for the row levels. |
||||||||||||||||||||||||
javax.swing.table.TableCellRenderer |
getRowLabelRenderer()
Returns the renderer that is used to renderer the labels for the row levels. |
||||||||||||||||||||||||
int |
getRowLevelAtPoint(java.awt.Point point)
Returns the row level for teh given point. |
||||||||||||||||||||||||
int |
getRowLevelHeight()
Returns the height given to the row level labels. |
||||||||||||||||||||||||
java.lang.String |
getUIClassID()
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
||||||||||||||||||||||||
void |
initializeLocalVars()
Initializes the OLAPOriginComponent. |
||||||||||||||||||||||||
protected void |
refreshRowLevelHeight()
|
||||||||||||||||||||||||
protected void |
resetSizes()
|
||||||||||||||||||||||||
void |
setColumnLabelRenderer(javax.swing.table.TableCellRenderer newRenderer)
Sets the renderer responsible for renderer the labels associated with the column levels. |
||||||||||||||||||||||||
void |
setRowLabelRenderer(javax.swing.table.TableCellRenderer newRenderer)
Sets the renderer responsible for renderer the labels associated with the row levels. |
||||||||||||||||||||||||
void |
setRowLevelHeight(int newHeight)
Sets the height given to the row level labels. |
||||||||||||||||||||||||
void |
setTable(TableView newTable)
Sets the new TableView associated with the OLAPOriginComponent. |
||||||||||||||||||||||||
void |
tableChanged(javax.swing.event.TableModelEvent e)
Invoked when this table's TableModel generates
a TableModelEvent . |
||||||||||||||||||||||||
void |
updateUI()
Notification from the
rowAxisLabelsHeightprotected int rowAxisLabelsHeight preferredRowLevelHeightprotected int preferredRowLevelHeight preferredHeightForLastColumnLevelprotected int preferredHeightForLastColumnLevel rowLabelRendererprotected javax.swing.table.TableCellRenderer rowLabelRenderer columnLabelRendererprotected javax.swing.table.TableCellRenderer columnLabelRenderer rowHeightSetprotected boolean rowHeightSet
OLAPOriginComponentpublic OLAPOriginComponent()
OLAPOriginComponentpublic OLAPOriginComponent(TableView table)
initializeLocalVarspublic void initializeLocalVars()
setTablepublic void setTable(TableView newTable)
getRowLabelRendererpublic javax.swing.table.TableCellRenderer getRowLabelRenderer()
setRowLabelRendererpublic void setRowLabelRenderer(javax.swing.table.TableCellRenderer newRenderer)
getColumnLabelRendererpublic javax.swing.table.TableCellRenderer getColumnLabelRenderer()
setColumnLabelRendererpublic void setColumnLabelRenderer(javax.swing.table.TableCellRenderer newRenderer)
createDefaultRowLabelRendererprotected javax.swing.table.TableCellRenderer createDefaultRowLabelRenderer()
createDefaultColumnLabelRendererprotected javax.swing.table.TableCellRenderer createDefaultColumnLabelRenderer()
updateUIpublic void updateUI()
getUIClassIDpublic java.lang.String getUIClassID()
getRowHeaderpublic OLAPRowHeader getRowHeader()
getColumnHeaderpublic OLAPColumnHeader getColumnHeader()
getColumnLabelpublic java.lang.String getColumnLabel(int level)
getRowLabelpublic java.lang.String getRowLabel(int level)
refreshRowLevelHeightprotected void refreshRowLevelHeight() getPreferredRowLevelWidthpublic int getPreferredRowLevelWidth(int level)
getPreferredColumnLevelHeightpublic int getPreferredColumnLevelHeight(int level)
getRowLevelHeightpublic int getRowLevelHeight()
setRowLevelHeightpublic void setRowLevelHeight(int newHeight)
getColumnHeaderRendererComponentprotected java.awt.Component getColumnHeaderRendererComponent(int levelIndex) getRowHeaderRendererComponentprotected java.awt.Component getRowHeaderRendererComponent(int levelIndex) getRowLevelAtPointpublic int getRowLevelAtPoint(java.awt.Point point)
getColumnLevelAtPointpublic int getColumnLevelAtPoint(java.awt.Point point)
resetSizesprotected void resetSizes() tableChangedpublic void tableChanged(javax.swing.event.TableModelEvent e)
Copyright © 2009 SAS Institute Inc. All Rights Reserved. |