|
ThinkUI SQL Client 1.1.3 API | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthinkui.db.AbstractDataObject
thinkui.command.AbstractCommand
thinkui.desktop.AbstractSwingCommand
thinkui.sqlclient.AbstractSQLClientCommand
thinkui.sqlclient.commands.ViewDataObjectEditorCommand
Command to view the currently selected data object for editing. If a data class or table data is selected instead, a new empty data object will be created for inserting new records.
Field Summary |
Fields inherited from class thinkui.desktop.AbstractSwingCommand |
DATA_CLASS |
Fields inherited from interface thinkui.command.Command |
NO_RESULT |
Fields inherited from interface thinkui.db.DataObject |
INDEX_SEPARATOR, NAME_SEPARATOR |
Constructor Summary | |
ViewDataObjectEditorCommand()
ViewDataObjectEditorCommand constructor. |
|
ViewDataObjectEditorCommand(boolean updateOnSelectionChange)
ViewDataObjectEditorCommand constructor. |
Method Summary | |
static thinkui.desktop.SwingAction |
createExportAction(thinkui.desktop.SwingCommandContext ctx,
DataObject dataObject,
java.lang.String attrName,
thinkui.desktop.components.AttributeComponent targetAttributeComponent,
thinkui.desktop.DataObjectViewer objectViewer)
Helper method to create a swing action to export to the given data object attribute. |
static thinkui.desktop.SwingAction |
createImportAction(thinkui.desktop.SwingCommandContext ctx,
DataObject dataObject,
java.lang.String attrName,
thinkui.desktop.components.AttributeComponent targetAttributeComponent,
thinkui.desktop.DataObjectViewer objectViewer)
Helper method to create a swing action to import to the given data object attribute. |
static thinkui.desktop.SwingAction |
createZoomAction(thinkui.desktop.SwingCommandContext ctx,
boolean useApplicationDataObjectManager,
DataObject dataObject,
java.lang.String attrName,
thinkui.desktop.components.AttributeComponent targetAttributeComponent,
thinkui.desktop.DataObjectViewer objectViewer)
Helper method to create a swing action to zoom to the given data object attribute. |
java.lang.Object |
execute(thinkui.command.CommandContext context)
Execute the command with the specified context. |
java.lang.String |
getHeaderCaption()
|
thinkui.desktop.DelegateFrameViewer |
getParentFrameViewer()
|
boolean |
isMakeCopy()
|
boolean |
isNewButton()
|
boolean |
isPrecondition(thinkui.command.CommandContext commandContext)
|
boolean |
isShowChildren()
|
ViewDataObjectEditorCommand |
setHeaderCaption(java.lang.String headerCaption)
Sets header caption to display. |
ViewDataObjectEditorCommand |
setMakeCopy(boolean makeCopy)
Sets whether or not to make a copy of the data object data argument. |
ViewDataObjectEditorCommand |
setNewButton(boolean newButton)
Sets whether or not to show the new button. |
void |
setParentFrameViewer(thinkui.desktop.DelegateFrameViewer parentFrameViewer)
Sets the parent frame viewer to use or null to use default behaviour. |
ViewDataObjectEditorCommand |
setShowChildren(boolean showChildren)
Sets whether or not to show children/related data objects. |
void |
setSourceAttributeNames(java.util.List sourceAttributeNames)
Sets the source attribute names. |
void |
setTargetAttributeComponents(java.util.List targetAttributeComponents)
Sets the target attribute components. |
ViewDataObjectEditorCommand |
setUseDialogViewer(boolean useDialogViewer)
Sets whether or not to render to a JDialog instead of a JFrame. |
Methods inherited from class thinkui.desktop.AbstractSwingCommand |
getCommandManager, getDataClass, getLabel, getSelectedObject, getSelectedObjects, setCommandManager, setLabel |
Methods inherited from class thinkui.command.AbstractCommand |
abort, equals, getData, getExecutionState, getInitCommand, getNextCommand, getObjectClassName, isAbortable, isAbortRequested, isEnabled, setAbortRequested, setData, setEnabled, setExecutionState, setInitCommand, setNextCommand |
Methods inherited from class thinkui.db.AbstractDataObject |
clearValue, clearValues, compareTo, copy, copyFrom, copyFrom, copyFrom, copyNonEmptyValuesFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCaption, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getNumber, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface thinkui.db.DataObject |
clearValue, clearValues, copy, copyFrom, copyFrom, copyFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface thinkui.common.CaptionSupport |
getCaption |
Constructor Detail |
public ViewDataObjectEditorCommand()
public ViewDataObjectEditorCommand(boolean updateOnSelectionChange)
Method Detail |
public static final thinkui.desktop.SwingAction createExportAction(thinkui.desktop.SwingCommandContext ctx, DataObject dataObject, java.lang.String attrName, thinkui.desktop.components.AttributeComponent targetAttributeComponent, thinkui.desktop.DataObjectViewer objectViewer) throws java.lang.Exception
java.lang.Exception
public static final thinkui.desktop.SwingAction createImportAction(thinkui.desktop.SwingCommandContext ctx, DataObject dataObject, java.lang.String attrName, thinkui.desktop.components.AttributeComponent targetAttributeComponent, thinkui.desktop.DataObjectViewer objectViewer) throws java.lang.Exception
java.lang.Exception
public static final thinkui.desktop.SwingAction createZoomAction(thinkui.desktop.SwingCommandContext ctx, boolean useApplicationDataObjectManager, DataObject dataObject, java.lang.String attrName, thinkui.desktop.components.AttributeComponent targetAttributeComponent, thinkui.desktop.DataObjectViewer objectViewer) throws java.lang.Exception
java.lang.Exception
public final java.lang.Object execute(thinkui.command.CommandContext context) throws java.lang.Exception
java.lang.Exception
public final java.lang.String getHeaderCaption()
public final thinkui.desktop.DelegateFrameViewer getParentFrameViewer()
public final boolean isMakeCopy()
public final boolean isNewButton()
public boolean isPrecondition(thinkui.command.CommandContext commandContext)
public final boolean isShowChildren()
public final ViewDataObjectEditorCommand setHeaderCaption(java.lang.String headerCaption)
public final ViewDataObjectEditorCommand setMakeCopy(boolean makeCopy)
public final ViewDataObjectEditorCommand setNewButton(boolean newButton)
public final void setParentFrameViewer(thinkui.desktop.DelegateFrameViewer parentFrameViewer)
public final ViewDataObjectEditorCommand setShowChildren(boolean showChildren)
public final void setSourceAttributeNames(java.util.List sourceAttributeNames)
public final void setTargetAttributeComponents(java.util.List targetAttributeComponents)
public final ViewDataObjectEditorCommand setUseDialogViewer(boolean useDialogViewer)
|
ThinkUI SQL Client 1.1.3 API | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |