|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
javax.swing.plaf.metal.MetalTextFieldUI
com.pentec.gui.widgets.ATextFieldUI
public class ATextFieldUI
This class provides a user interface for a text field embedded in a spinner that implements a progress bar with the text field background.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
|---|
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter |
| Field Summary | |
|---|---|
(package private) java.lang.String |
$Label
|
private javax.swing.JComponent |
jc
|
private javax.swing.SpinnerNumberModel |
snm
|
| Constructor Summary | |
|---|---|
ATextFieldUI(javax.swing.JComponent jc,
javax.swing.SpinnerNumberModel snm)
Call the super class constructor and init data fields |
|
ATextFieldUI(javax.swing.JComponent jc,
javax.swing.SpinnerNumberModel snm,
java.lang.String $Label)
|
|
| Method Summary | |
|---|---|
protected void |
paintBackground(java.awt.Graphics g)
Paint a background for the view. |
void |
setLabel(java.lang.String $)
|
void |
setModel(javax.swing.SpinnerNumberModel model)
|
| Methods inherited from class javax.swing.plaf.metal.MetalTextFieldUI |
|---|
createUI, propertyChange |
| Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI |
|---|
create, getPropertyPrefix, installUI |
| Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
|---|
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String $Label
private javax.swing.JComponent jc
private javax.swing.SpinnerNumberModel snm
| Constructor Detail |
|---|
public ATextFieldUI(javax.swing.JComponent jc,
javax.swing.SpinnerNumberModel snm)
jc - the component that this UI applies tosnm - the model that defines the progress bar
public ATextFieldUI(javax.swing.JComponent jc,
javax.swing.SpinnerNumberModel snm,
java.lang.String $Label)
| Method Detail |
|---|
protected void paintBackground(java.awt.Graphics g)
paintBackground in class javax.swing.plaf.basic.BasicTextUIg - the graphics contextpublic void setLabel(java.lang.String $)
public void setModel(javax.swing.SpinnerNumberModel model)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||