|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.tableview.IndicatorCellRenderer
public class IndicatorCellRenderer
| Field Summary | |
|---|---|
protected java.util.Hashtable |
limitColors
|
protected int[] |
limitValues
|
protected static javax.swing.border.Border |
noFocusBorder
|
protected java.awt.Color |
unselectedBackground
|
protected java.awt.Color |
unselectedForeground
|
| Constructor Summary | |
|---|---|
IndicatorCellRenderer()
|
|
IndicatorCellRenderer(int min,
int max)
|
|
| Method Summary | |
|---|---|
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
|
boolean |
isOpaque()
Overridden for performance reasons. |
void |
repaint(long tm,
int x,
int y,
int width,
int height)
Overridden for performance reasons. |
void |
repaint(java.awt.Rectangle r)
Overridden for performance reasons. |
void |
revalidate()
Overridden for performance reasons. |
void |
setBackground(java.awt.Color c)
Overrides JComponent.setForeground to assign
the unselected-background color to the specified color. |
void |
setForeground(java.awt.Color c)
Overrides JComponent.setForeground to assign
the unselected-foreground color to the specified color. |
void |
setLimits(java.util.Hashtable limitColors)
|
void |
updateUI()
Notification from the UIManager that the look and feel
[L&F] has changed. |
void |
validate()
Overridden for performance reasons. |
| Field Detail |
|---|
protected static javax.swing.border.Border noFocusBorder
protected java.util.Hashtable limitColors
protected int[] limitValues
protected java.awt.Color unselectedForeground
protected java.awt.Color unselectedBackground
| Constructor Detail |
|---|
public IndicatorCellRenderer()
public IndicatorCellRenderer(int min,
int max)
| Method Detail |
|---|
public void setForeground(java.awt.Color c)
JComponent.setForeground to assign
the unselected-foreground color to the specified color.
setForeground in class javax.swing.JComponentc - set the foreground color to this valuepublic void setBackground(java.awt.Color c)
JComponent.setForeground to assign
the unselected-background color to the specified color.
setBackground in class javax.swing.JComponentc - set the background color to this valuepublic void updateUI()
UIManager that the look and feel
[L&F] has changed.
Replaces the current UI object with the latest version from the
UIManager.
updateUI in class javax.swing.JProgressBarJComponent.updateUI()
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
getTableCellRendererComponent in interface javax.swing.table.TableCellRendererpublic boolean isOpaque()
isOpaque in class javax.swing.JComponentpublic void validate()
validate in class java.awt.Containerpublic void revalidate()
revalidate in class javax.swing.JComponent
public void repaint(long tm,
int x,
int y,
int width,
int height)
repaint in class javax.swing.JComponentpublic void repaint(java.awt.Rectangle r)
repaint in class javax.swing.JComponentpublic void setLimits(java.util.Hashtable limitColors)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||