|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
com.guiseframework.component.AbstractComponent
com.guiseframework.component.AbstractCompositeComponent
com.guiseframework.component.AbstractMultipleCompositeComponent
com.guiseframework.component.AbstractListCompositeComponent
com.guiseframework.component.AbstractLayoutComponent
com.guiseframework.component.AbstractContainer
com.guiseframework.component.AbstractContainerControl
com.guiseframework.component.AbstractEditComponentTextControl<TextBox>
com.guiseframework.component.EditComponentTextControl
public class EditComponentTextControl
Control that allows a text component's text to be edited in-place.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractEditComponentTextControl |
|---|
AbstractEditComponentTextControl.Mode |
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractComponent |
|---|
AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>, AbstractComponent.AbstractFlyoverStrategy<S extends Component>, AbstractComponent.DefaultFlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Component |
|---|
Component.FlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Control |
|---|
Control.Status |
| Field Summary |
|---|
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.ModalComponent |
|---|
MODE_PROPERTY |
| Fields inherited from interface com.guiseframework.component.EditComponent |
|---|
EDITABLE_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Component |
|---|
BOOKMARK_ENABLED_PROPERTY, CONSTRAINTS_PROPERTY, DRAG_ENABLED_PROPERTY, DROP_ENABLED_PROPERTY, FLYOVER_ENABLED_PROPERTY, FLYOVER_STRATEGY_PROPERTY, INPUT_STRATEGY_PROPERTY, NAME_PROPERTY, NOTIFICATION_PROPERTY, ORIENTATION_PROPERTY, THEME_APPLIED_PROPERTY, VALID_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Displayable |
|---|
DISPLAYED_PROPERTY |
| Fields inherited from interface com.guiseframework.model.InfoModel |
|---|
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY |
| Fields inherited from interface com.guiseframework.model.LabelModel |
|---|
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY |
| Fields inherited from interface com.guiseframework.component.LayoutComponent |
|---|
LAYOUT_PROPERTY, LAYOUT_THEME_APPLIED_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Control |
|---|
STATUS_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Constructor Summary | |
|---|---|
EditComponentTextControl()
Default constructor with a default text component, default text edit control, and Flow.LINE layout. |
|
EditComponentTextControl(Flow flow)
Flow constructor with a default text component and text edit control. |
|
EditComponentTextControl(TextBox textComponent)
Text component constructor with default text edit control and Flow.LINE flow. |
|
EditComponentTextControl(TextBox textComponent,
Flow flow)
Text component and flow constructor with default text edit control. |
|
EditComponentTextControl(TextBox textComponent,
ValueControl<java.lang.String> editControl)
Text component and value control constructor with default Flow.LINE flow. |
|
EditComponentTextControl(TextBox textComponent,
ValueControl<java.lang.String> editControl,
Flow flow)
Text component, value control, and flow constructor. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getText(TextBox editedComponent)
Retrieves the text from the edited component. |
protected void |
setText(TextBox editedComponent,
java.lang.String newText)
Updates the text of the edited component. |
| Methods inherited from class com.guiseframework.component.AbstractEditComponentTextControl |
|---|
acceptEdit, acceptEdit, addEditListener, deleteLabel, editLabel, fireEdited, fireEdited, getAcceptActionPrototype, getDeleteActionPrototype, getEditActionPrototype, getEditControl, getEditedComponent, getMode, getRejectActionPrototype, isEditable, rejectEdit, removeEditListener, setEditable, setMode, update |
| Methods inherited from class com.guiseframework.component.AbstractContainerControl |
|---|
determineStatus, getEnableable, getStatus, isEnabled, reset, setEnabled, setNotification, setStatus, updateStatus, updateValid |
| Methods inherited from class com.guiseframework.component.AbstractContainer |
|---|
add, add, add, add, add, add, add, add, clear, contains, createComponent, get, getChildComponents, indexOf, isEmpty, iterator, lastIndexOf, remove, remove, setChildren, setLayout, size |
| Methods inherited from class com.guiseframework.component.AbstractLayoutComponent |
|---|
addComponent, applyTheme, applyTheme, getLayout, isLayoutThemeApplied, removeComponent, resetTheme, setLayoutThemeApplied, updateTheme |
| Methods inherited from class com.guiseframework.component.AbstractListCompositeComponent |
|---|
addComponent, getComponentList, hasChildComponents |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.platform.DepictedObject |
|---|
depict, getDepictID, getSession, processEvent |
| Methods inherited from interface com.guiseframework.model.InfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from interface com.guiseframework.model.LabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType |
| Methods inherited from interface com.guiseframework.component.Container |
|---|
add, add, add, add, add, add, add, clear, contains, get, indexOf, isEmpty, lastIndexOf, remove, remove, setLayout, size |
| Methods inherited from interface com.guiseframework.component.LayoutComponent |
|---|
getLayout, isLayoutThemeApplied, setLayoutThemeApplied |
| Methods inherited from interface com.guiseframework.component.CompositeComponent |
|---|
addCompositeComponentListener, getChildComponents, hasChildComponents, removeCompositeComponentListener |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Constructor Detail |
|---|
public EditComponentTextControl()
Flow.LINE layout.
public EditComponentTextControl(Flow flow)
flow - The logical axis (line or page) along which information is flowed.
java.lang.NullPointerException - if the flow axis is null.public EditComponentTextControl(TextBox textComponent)
Flow.LINE flow.
textComponent - The component the text of which is to be edited.
java.lang.NullPointerException - if the text component is null.
public EditComponentTextControl(TextBox textComponent,
Flow flow)
textComponent - The component the text of which is to be edited.flow - The logical axis (line or page) along which information is flowed.
java.lang.NullPointerException - if the text component and/or flow is null.
public EditComponentTextControl(TextBox textComponent,
ValueControl<java.lang.String> editControl)
Flow.LINE flow.
textComponent - The component the text of which is to be edited.editControl - The control used to edit the text.
java.lang.NullPointerException - if the text component and/or edit control is null.
public EditComponentTextControl(TextBox textComponent,
ValueControl<java.lang.String> editControl,
Flow flow)
textComponent - The component the text of which is to be edited.editControl - The control used to edit the text.flow - The logical axis (line or page) along which information is flowed.
java.lang.NullPointerException - if the text component, value control, and/or flow axis is null.| Method Detail |
|---|
protected java.lang.String getText(TextBox editedComponent)
TextBox.getText()
getText in class AbstractEditComponentTextControl<TextBox>editedComponent - The component the text of which is to be edited.
protected void setText(TextBox editedComponent,
java.lang.String newText)
TextBox.setText(String)
setText in class AbstractEditComponentTextControl<TextBox>editedComponent - The component the text of which is to be edited.newText - The new text to set in the edited component.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||