Package games.stendhal.client.gui.styled
Class StyledTableUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableUI
javax.swing.plaf.basic.BasicTableUI
games.stendhal.client.gui.styled.StyledTableUI
Pixmap style UI delegate for JTables.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableUI
BasicTableUI.FocusHandler, BasicTableUI.KeyHandler, BasicTableUI.MouseInputHandler
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicTableUI
focusListener, keyListener, mouseInputListener, rendererPane, table
-
Constructor Summary
ConstructorDescriptionStyledTableUI(Style style)
Create a new StyledTableUI based on a pixmap style. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent table)
Required by UIManager.void
installUI(JComponent table)
void
paint(Graphics g, JComponent table)
Methods inherited from class javax.swing.plaf.basic.BasicTableUI
createFocusListener, createKeyListener, createMouseInputListener, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
StyledTableUI
Create a new StyledTableUI based on a pixmap style.- Parameters:
style
- pixmap style
-
-
Method Details
-
createUI
Required by UIManager.- Parameters:
table
- component to create UI for- Returns:
- UI delegate
-
installUI
- Overrides:
installUI
in classBasicTableUI
-
paint
- Overrides:
paint
in classBasicTableUI
-