Ontimize 5.2072EN

com.ontimize.util.swing.table
Class GroupableTableHeaderUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.TableHeaderUI
          extended byjavax.swing.plaf.basic.BasicTableHeaderUI
              extended bycom.ontimize.util.swing.table.GroupableTableHeaderUI
All Implemented Interfaces:
Internationalization

public class GroupableTableHeaderUI
extends javax.swing.plaf.basic.BasicTableHeaderUI
implements Internationalization


Nested Class Summary
 
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
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Constructor Summary
GroupableTableHeaderUI()
           
 
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
 

Field Detail

painted

protected java.util.Vector painted
Constructor Detail

GroupableTableHeaderUI

public GroupableTableHeaderUI()
Method Detail

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.

Ontimize