public class ImageTerm extends BlobTerm
ImageComponent
object.
The light part of data of the component, the preview, participates in the
presentation process made by the DataAccessPanel. This is reason for the
guiDataExch
method returning to take a role, at least in the 'out'
direction.
This class informs the framework that the light part of the component is the
only one that participates in collective data management (see
resultSetDataType
, switching the behavior of the ancestor that lets
the one only part, the heavy one, implicitly be away from collective
management.
ImageComponent
,
DataAccessPanel
Term.AlterFormatMethodInterface, Term.AsideLoadInterface, Term.CcpCommand, Term.TermEnclosable
Modifier and Type | Field and Description |
---|---|
boolean |
m_previewBuffered |
java.lang.String |
m_previewDbField |
m_alterFormatMethod, m_asideLoadMethod, m_clearable, m_container, m_ctrlTermInitedByParam, m_defaultLiteralStruct, m_effectsIndex, m_extendedSet, m_isToBeLockedAnyWay, m_literalsCollectionInstance, m_mandatory, m_mask, m_msg, m_mustRemainEnabled, m_name, m_operatorsCombo, m_panel, m_required, m_tabIndex, m_updatingActor, m_valMirrorTermIdx, m_viewersManager
m_metaDataSource
Constructor and Description |
---|
ImageTerm(TermContainerPanel panel,
int dataType,
TermContainerPanel.TermParams params) |
Modifier and Type | Method and Description |
---|---|
protected void |
createComponent(TermContainerPanel panel) |
void |
guiDataExch(boolean in)
Conceptually abstract this method has the task t o exchange the datum
between the visual representation made by the visual component and the
datum internally held.
|
void |
openAllAsTiles() |
int |
resultSetDataType() |
java.lang.String |
resultSetFieldName() |
void |
setActorButton(JotyButton actorButton) |
void |
setPreviewUnbuffered()
This method makes the loading of data performed by a
DataScrollingPanel instance not involving the small blob of the
preview, allowing a faster process. |
void |
termRender() |
clearComponent, enableComponent, getComponent, isWindowEnabled, isWindowVisible, show
alert, checkForPublishing, checkPublishers, checkRendering, checkSelection, clear, clearAppReferences, commandDownMask, contextValue, createContextPostStatement, createDescrArrayParams, defaultValue, doRender, doValidate, effectsPostPone, enable, enableComponent, enableRelatedButtons, fieldDescr, getSelection, getSetStatus, getTermData, getWindowText, innerClearData, innerLoad, innerStore, isAControlTerm, isDataComplement, isDirty, isEnabledAsDetail, isLockedAnyway, isMandatory, isModifiable, isOnlyLoadingData, isReadOnly, killFocus, langLocatedWarningMsg, locatedWarningMsg, manageAsRelated, manageTermConsistence, masterGridCellDescriptor, message, notifyEditingAction, notifyPublishing, preRender, refresh, render, renderedIdentity, reset, selectionData, set, set, setAsControlTerm, setAsDataComplement, setCurSel, setDirty, setEnabledAsDetail, setLockedAnyway, setMandatory, setMandatory, setModifiable, setNotClearable, setOnlyLoadingData, setReadOnly, setRowActionButton, setSelection, setTermVal, setTermVal, setTermVal, setTermVal, setTermVal, setTermVal, setToVal, setToVal, setToVal, setToVal, setToVal, setToVal, sqlValueExpr, storeState, structuredInit, termRender, termRender, toString, toString, updateAspect, updateDrivenBuffer, updateState, updateState
dataTypeFromMetadataSource, dbFieldNameFromMetadataSource, dbFieldSpecifiedFromMetadataSource
checkType, clear, copyWField, copyWField, copyWField, dataType, dateVal, dbFieldName, dbFieldSpecified, doubleVal, floatVal, formatWrap, getInteger, getValFrom, getWField, integerVal, intVal, invalidAssignementMsg, isEmpty, isNull, render, render, render, setData, setInteger, setToNull, setVal, setVal, setVal, setVal, setVal, setVal, setValFromDbSubmittedExpr, setWField, setWField, strVal, toString, typeCheck
public java.lang.String m_previewDbField
public boolean m_previewBuffered
public ImageTerm(TermContainerPanel panel, int dataType, TermContainerPanel.TermParams params)
protected void createComponent(TermContainerPanel panel)
createComponent
in class BlobTerm
public void guiDataExch(boolean in)
Term
guiDataExch
in class BlobTerm
in
- it is true if the direction of the exchanging is from the
visual to the internal representation.public void openAllAsTiles()
public int resultSetDataType()
resultSetDataType
in class org.joty.data.WrappedField
public java.lang.String resultSetFieldName()
resultSetFieldName
in class org.joty.data.WrappedField
public void setActorButton(JotyButton actorButton)
public void setPreviewUnbuffered()
DataScrollingPanel
instance not involving the small blob of the
preview, allowing a faster process. However, in this case, the data base
will be accessed (in web mode via http) to load the preview at any change
of the selection in the DataScrollingPanel object.
For this method to be invoked, the term instance needs not to be added to the grid.
public void termRender()
termRender
in class Term