|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.scopemvc.view.swing
Class SLabel

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JTextField
org.scopemvc.view.swing.STextField
org.scopemvc.view.swing.SLabel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.MenuContainer, org.scopemvc.view.util.ModelBindable, org.scopemvc.core.PropertyView, Refreshable, javax.swing.Scrollable, java.io.Serializable, javax.swing.SwingConstants, org.scopemvc.core.View
- public class SLabel
- extends STextField
A non-editable STextField that looks like a Label but is bound to a model property.
- Version:
- $Revision: 1.3 $ $Date: 2002/01/26 09:46:20 $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JTextField |
javax.swing.JTextField.AccessibleJTextField |
| Nested classes inherited from class javax.swing.text.JTextComponent |
javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.KeyBinding |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private static org.apache.commons.logging.Log |
LOG
|
| Fields inherited from class org.scopemvc.view.swing.STextField |
|
| Fields inherited from class javax.swing.JTextField |
notifyAction |
| 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.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SLabel()
|
|
| Method Summary | |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size. |
boolean |
isFocusTraversable()
Don't let user tab through to this control. |
boolean |
isRequestFocusEnabled()
Don't allow request focus on this control. |
boolean |
isValidateRoot()
Override to force relayout when text changes. |
void |
selectAll()
Override to not select. |
void |
setEnabled(boolean inEnabled)
Override to ensure always enabled. |
void |
updateFromProperty(java.lang.Object inValue,
boolean inReadOnly)
Override to force relayout when text changes. |
| Methods inherited from class org.scopemvc.view.swing.STextField |
actionPerformed, createToolTip, focusGained, focusLost, getBoundModel, getController, getSelector, getViewValue, isDisableOnNull, issueControl, refresh, setBoundModel, setControlID, setController, setDisableOnNull, setSelector, setSelectorString, setStringConvertor, setText, setupStringConvertor, validationFailed, validationSuccess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
LOG
private static final org.apache.commons.logging.Log LOG
| Constructor Detail |
SLabel
public SLabel()
| Method Detail |
isRequestFocusEnabled
public boolean isRequestFocusEnabled()
- Don't allow request focus on this control.
isFocusTraversable
public boolean isFocusTraversable()
- Don't let user tab through to this control.
selectAll
public void selectAll()
- Override to not select.
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Description copied from class:
javax.swing.JTextField - Returns the preferred size. If there is a non-zero number of columns,
this is the number of columns multiplied by the column width, otherwise
it returns super.getPreferredSize().
setEnabled
public void setEnabled(boolean inEnabled)
- Override to ensure always enabled.
updateFromProperty
public void updateFromProperty(java.lang.Object inValue, boolean inReadOnly)
- Override to force relayout when text changes.
- Specified by:
updateFromPropertyin interfaceorg.scopemvc.view.util.ModelBindable- Overrides:
updateFromPropertyin classSTextField
isValidateRoot
public boolean isValidateRoot()
- Override to force relayout when text changes.
|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC