com.ontimize.util.swing.table
Class GroupableTableHeaderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableHeaderUI
javax.swing.plaf.basic.BasicTableHeaderUI
com.ontimize.util.swing.table.GroupableTableHeaderUI
- All Implemented Interfaces:
- Internationalization
- public class GroupableTableHeaderUI
- extends javax.swing.plaf.basic.BasicTableHeaderUI
- implements Internationalization
| Nested classes inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
javax.swing.plaf.basic.BasicTableHeaderUI.MouseInputHandler |
|
Field Summary |
protected java.util.Vector |
painted
|
| Fields inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
header, mouseInputListener, rendererPane |
|
Method Summary |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
java.util.Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
void |
setComponentLocale(java.util.Locale locale)
|
void |
setResourceBundle(java.util.ResourceBundle resourcebundle)
Sets the language resource bundle. |
| Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
createMouseInputListener, createUI, getMaximumSize, getMinimumSize, installDefaults, installKeyboardActions, installListeners, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
painted
protected java.util.Vector painted
GroupableTableHeaderUI
public GroupableTableHeaderUI()
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getTextsToTranslate
public java.util.Vector getTextsToTranslate()
- Description copied from interface:
Internationalization
- Returns all the texts in the element suitable for being translated.
- Specified by:
getTextsToTranslate in interface Internationalization
- Returns:
- all the texts in the element suitable for being translated.
setComponentLocale
public void setComponentLocale(java.util.Locale locale)
- Specified by:
setComponentLocale in interface Internationalization
setResourceBundle
public void setResourceBundle(java.util.ResourceBundle resourcebundle)
- Description copied from interface:
Internationalization
- Sets the language resource bundle. When the application changes the
configured language, for all the objects that implement this interface
this method must be called with the new file.
The method must translate all the elements that have texts in the GUI
- Specified by:
setResourceBundle in interface Internationalization
- Parameters:
resourcebundle - the new language bundle.