public abstract class MvwFieldEditor extends Object implements org.dmd.dmc.presentation.DmcPresentationIF, com.google.gwt.user.client.ui.IsWidget
| Modifier and Type | Field and Description |
|---|---|
protected org.dmd.dmc.presentation.DmcAdapterIF |
adapter |
protected int |
attrIndex |
protected org.dmd.dmc.DmcObject |
DMO |
protected int |
ID |
protected String |
label |
protected boolean |
mandatory |
protected org.dmd.dmc.presentation.DmcPresentationTrackerIF |
tracker |
| Constructor and Description |
|---|
MvwFieldEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DEBUG(String msg)
A cheap mechanism for debugging your editors.
|
abstract void |
focus()
Derived classes should attempt to force focus on their associated widget.
|
org.dmd.dmc.presentation.DmcAdapterIF |
getAdapter() |
org.dmd.dmc.DmcObject |
getDMO()
Gets the object being edited.
|
int |
getID()
Returns the identifier by which the presentation tracker tracks this editor.
|
String |
getLabel() |
protected void |
NOTREADY()
If a tracker has been set, we notify it that we're not "ready"
|
protected void |
READY()
If a tracker has been set, we notify it that we're "ready".
|
void |
setDMO(org.dmd.dmc.DmcObject dmo)
Sets the object being edited.
|
void |
setLabel(String label) |
void |
setTracker(org.dmd.dmc.presentation.DmcPresentationTrackerIF t,
int id)
Sets the presentation tracker and the unique identifier for this editor.
|
void |
setValueIndex(int index)
You may need to override this since some value types aren't supported as indexed values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected int ID
protected boolean mandatory
protected org.dmd.dmc.presentation.DmcAdapterIF adapter
protected org.dmd.dmc.presentation.DmcPresentationTrackerIF tracker
protected int attrIndex
protected String label
protected org.dmd.dmc.DmcObject DMO
public void setLabel(String label)
setLabel in interface org.dmd.dmc.presentation.DmcPresentationIFpublic String getLabel()
getLabel in interface org.dmd.dmc.presentation.DmcPresentationIFpublic org.dmd.dmc.presentation.DmcAdapterIF getAdapter()
getAdapter in interface org.dmd.dmc.presentation.DmcPresentationIFpublic void setTracker(org.dmd.dmc.presentation.DmcPresentationTrackerIF t,
int id)
setTracker in interface org.dmd.dmc.presentation.DmcPresentationIFpublic int getID()
getID in interface org.dmd.dmc.presentation.DmcPresentationIFpublic void setValueIndex(int index)
setValueIndex in interface org.dmd.dmc.presentation.DmcPresentationIFpublic void setDMO(org.dmd.dmc.DmcObject dmo)
setDMO in interface org.dmd.dmc.presentation.DmcPresentationIFpublic org.dmd.dmc.DmcObject getDMO()
getDMO in interface org.dmd.dmc.presentation.DmcPresentationIFprotected void DEBUG(String msg)
msg - protected void READY()
protected void NOTREADY()
public abstract void focus()
Copyright © 2019. All rights reserved.