|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.tableview.OriginComponent
public class OriginComponent
Field Summary | |
---|---|
protected javax.swing.table.TableCellRenderer |
renderer
|
protected TableView |
table
|
Constructor Summary | |
---|---|
OriginComponent()
Default constructor, sets the TableView to null. |
|
OriginComponent(TableView table)
Constructors the OriginComponent and sets the TableView to the table. |
Method Summary | |
---|---|
protected javax.swing.Action |
createDefaultAction()
Returns a default action for the OriginComponent. |
protected javax.swing.table.TableCellRenderer |
createDefaultRenderer()
Returns a default renderer to be used for the OriginComponent |
javax.swing.Action |
getAction()
|
java.lang.Object |
getHeaderValue()
|
javax.swing.table.TableCellRenderer |
getRenderer()
|
TableView |
getTable()
Returns the TableView associated with this component. |
OriginComponentUI |
getUI()
Returns the L&F object that renders this component. |
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 OriginComponent's values. |
void |
setAction(javax.swing.Action newAction)
|
void |
setHeaderValue(java.lang.Object newValue)
|
void |
setRenderer(javax.swing.table.TableCellRenderer newRenderer)
|
void |
setTable(TableView table)
Sets the TableView associated with the OriginComponent to the given TableView. |
void |
setUI(OriginComponentUI ui)
Sets the L&F object that renders this component and repaints. |
void |
updateUI()
Notification from the javax.swing.UIManager that the look and feel
(L&F) has changed. |
Field Detail |
---|
protected TableView table
protected javax.swing.table.TableCellRenderer renderer
Constructor Detail |
---|
public OriginComponent()
public OriginComponent(TableView table)
table
- The TableView associated with this OriginComponent.Method Detail |
---|
public void initializeLocalVars()
public void setTable(TableView table)
table
- the new TableView associted with this component.getTable()
public TableView getTable()
setTable(TableView)
public javax.swing.table.TableCellRenderer getRenderer()
public void setRenderer(javax.swing.table.TableCellRenderer newRenderer)
public java.lang.Object getHeaderValue()
public void setHeaderValue(java.lang.Object newValue)
protected javax.swing.table.TableCellRenderer createDefaultRenderer()
default
- renderer to be usedpublic javax.swing.Action getAction()
public void setAction(javax.swing.Action newAction)
protected javax.swing.Action createDefaultAction()
public OriginComponentUI getUI()
OriginComponentUI
object that renders this componentpublic void setUI(OriginComponentUI ui)
ui
- the OriginComponentUI L&F objectUIDefaults.getUI(javax.swing.JComponent)
public void updateUI()
javax.swing.UIManager
that the look and feel
(L&F) has changed.
Replaces the current UI object with the latest version from the
javax.swing.UIManager
.
updateUI
in class javax.swing.JComponent
JComponent.updateUI()
public java.lang.String getUIClassID()
getUIClassID
in class javax.swing.JComponent
JComponent.getUIClassID()
,
UIDefaults.getUI(javax.swing.JComponent)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |