|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.text.JTextComponent
|
+--javax.swing.JEditorPane
|
+--javax.swing.JTextPane
|
+--org.thdl.tib.input.TibetanPane
|
+--org.thdl.tib.input.DuffPane
|
+--org.thdl.tib.text.DuffCellRenderer
Used by DictionaryTable to display a Tibetan word or phrase (in either Roman or Tibetan script) in a single cell. This THDL version does not include DictionaryTable.
| Field Summary | |
protected static Border |
noFocusBorder
|
| Fields inherited from class org.thdl.tib.input.TibetanPane |
doc, rtfEd, rtfFlavor |
| Fields inherited from class javax.swing.text.JTextComponent |
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DuffCellRenderer()
|
|
| Method Summary | |
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
|
void |
setBackground(Color c)
Overrides JComponent.setForeground to assign
the unselected-background color to the specified color. |
void |
setForeground(Color c)
Overrides JComponent.setForeground to assign
the unselected-foreground color to the specified color. |
void |
setValue(Object value)
|
void |
updateUI()
Notification from the UIManager that the look and feel
[L&F] has changed. |
| Methods inherited from class org.thdl.tib.input.TibetanPane |
getTibDoc |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static Border noFocusBorder
| Constructor Detail |
public DuffCellRenderer()
| Method Detail |
public void setForeground(Color c)
JComponent.setForeground to assign
the unselected-foreground color to the specified color.
setForeground in class JComponentc - set the foreground color to this valuepublic void setBackground(Color c)
JComponent.setForeground to assign
the unselected-background color to the specified color.
setBackground in class 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 JTextComponentJComponent.updateUI()
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
getTableCellRendererComponent in interface TableCellRendererpublic void setValue(Object value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||