|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
uic.widgets.MWTable
uic.widgets.UICTable
A replacement for the JTable to make the programmers life a lot easier.
This table uses various settings by default that makes your table look
quite finished without any tweaking.
On top of that the table provides tooltips per row and provides getters
for the various models a table uses, which tend te get quite confusing in the
original JTable.
Specific changes;
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JTable |
JTable.AccessibleJTable |
| 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 |
| 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 | |
UICTable()
Deprecated. |
|
UICTable(TableModel tm)
Deprecated. |
|
| Method Summary | |
void |
clearToolTipTexts()
Remove all row specific tooltiptexts |
DefaultTableModel |
getDataModel()
Get the data model which you need to use to alter the data of this table. |
TableCellRenderer |
getDefaultRenderer(Class columnClass)
Deprectated class since the original has been renamed to UICTable. |
String |
getToolTipText(MouseEvent evt)
Override the getToolTipText from JTable to check for row specific tooltip texts first. |
TableViewInterface |
getViewModel()
Get the (top) view model. |
TableViewInterface |
getViewModel(Class modelClass)
Get the (top) view model. |
void |
setFont(Font f)
Override setfont to adjust the rowheight |
void |
setToolTipText(String text,
int row)
Set the tooltip text per row. |
void |
sizeColumnsToFit(int resizingColumn)
Deprectated class since the original has been renamed to UICTable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UICTable(TableModel tm)
public UICTable()
| Method Detail |
public TableCellRenderer getDefaultRenderer(Class columnClass)
MWTable
getDefaultRenderer in class MWTableUICTablepublic String getToolTipText(MouseEvent evt)
getToolTipText in class MWTableUICTable
public void setToolTipText(String text,
int row)
setToolTipText in class MWTabletext - the tooltiptextrow - the row this tooltip is meant forUICTablepublic void clearToolTipTexts()
clearToolTipTexts in class MWTableUICTablepublic DefaultTableModel getDataModel()
getDataModel in class MWTableUICTablepublic TableViewInterface getViewModel()
getViewModel in class MWTableUICTablepublic TableViewInterface getViewModel(Class modelClass)
getViewModel in class MWTablemodelClass - the class which the model has in its inheritance tree.
UICTablepublic void sizeColumnsToFit(int resizingColumn)
MWTable
sizeColumnsToFit in class MWTableUICTablepublic void setFont(Font f)
setFont in class MWTablef - the new font settings
fix swing bug 27UICTable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||