| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private DefaultTableCellHeaderRenderer. | |
| private boolean | |
| private Icon |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Point | |
| public static SortOrder | |
| public Component | getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
Overrides javax. Implements javax. Returns the default table cell renderer. |
| public void | paintComponent(Graphics g)
Overrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| public void | setHorizontalTextPosition(int textPosition)
Overrides javax. Sets the horizontal position of the label's text, relative to its image. |
| emptyIcon | back to summary |
|---|---|
| private DefaultTableCellHeaderRenderer. | |
| horizontalTextPositionSet | back to summary |
|---|---|
| private boolean horizontalTextPositionSet | |
| sortArrow | back to summary |
|---|---|
| private Icon sortArrow | |
| DefaultTableCellHeaderRenderer | back to summary |
|---|---|
| public DefaultTableCellHeaderRenderer() | |
| computeIconPosition | back to summary |
|---|---|
| private Point computeIconPosition(Graphics g) | |
| getColumnSortOrder | back to summary |
|---|---|
| public static SortOrder getColumnSortOrder(JTable table, int column) | |
| getTableCellRendererComponent | back to summary |
|---|---|
| public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Overrides javax. Implements javax. Doc from javax. Returns the default table cell renderer.
During a printing operation, this method will be called with
| |
| paintComponent | back to summary |
|---|---|
| public void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in
| |
| setHorizontalTextPosition | back to summary |
|---|---|
| public void setHorizontalTextPosition(int textPosition) Overrides javax. Doc from javax. Sets the horizontal position of the label's text, relative to its image. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void | paintIcon(Component c, Graphics g, int x, int y)
Implements javax. Draw the icon at the specified location. |
| EmptyIcon | back to summary |
|---|---|
| private EmptyIcon() | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height. | |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width. | |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. | |