com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.views
Interface IJCWidget.DesignerHandle

All Superinterfaces:
IJCWidget
Enclosing interface:
IJCWidget

public static interface IJCWidget.DesignerHandle
extends IJCWidget


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.im.ijc.core.api.views.IJCWidget
IJCWidget.Breakable, IJCWidget.Cacheable, IJCWidget.Configurable, IJCWidget.Customizable<S>, IJCWidget.DesignerHandle, IJCWidget.Editable, IJCWidget.GroupCustomizable<N extends Node>, IJCWidget.HyperlinkAble, IJCWidget.Popupable, IJCWidget.Queryable, IJCWidget.Releaseable, IJCWidget.RendererCallback, IJCWidget.RendererProvider, IJCWidget.Updateable, IJCWidget.Viewable, IJCWidget.WidgetContainerHandle<S>
 
Field Summary
 
Fields inherited from interface com.im.ijc.core.api.views.IJCWidget
PROP_BOUND_FIELDS, PROP_SELECTED_FIELDS, PROP_VERTEX_STATE, PROP_VIEW, PROP_VIEW_MODE
 
Method Summary
 void bind(List<? extends DFField> fields)
          This method notifies widget that it was bound (or re-bound) to the given fields.
 boolean doBind(DFDataTree dataTree)
          This method is invoked when a user wants to bind a new or re-bind existing widget to a field.
 JComponent getBrowseModeComponent()
           
 JComponent getBuildModeRenderer()
          Should not be called in case the DesignerHandle implements even DesignerContainerHandle.
 String getFactoryId()
           
 FormDataBean getFormData()
           
 boolean isFocusable()
           
 boolean isRebindable()
          Bind field(s) to widget action is enabled for widgets that return true.
 void setVertexState(DFResultSet.VertexState vertexState)
           
 void setViewMode(ViewMode viewMode)
           
 
Methods inherited from interface com.im.ijc.core.api.views.IJCWidget
addPropertyChangeListener, getBoundFields, getForm, getLookup, getSelectedFields, getVertexState, getView, getViewMode, isMultipleRow, removePropertyChangeListener
 

Method Detail

getBrowseModeComponent

JComponent getBrowseModeComponent()

getBuildModeRenderer

JComponent getBuildModeRenderer()
Should not be called in case the DesignerHandle implements even DesignerContainerHandle.


setViewMode

void setViewMode(ViewMode viewMode)

isRebindable

boolean isRebindable()
Bind field(s) to widget action is enabled for widgets that return true.


bind

void bind(List<? extends DFField> fields)
This method notifies widget that it was bound (or re-bound) to the given fields. Widget should respond accordingly.

Parameters:
fields - fields to which widget was just bound

doBind

boolean doBind(DFDataTree dataTree)
This method is invoked when a user wants to bind a new or re-bind existing widget to a field. It should show a user-friendly dialog or wizard.

Parameters:
dataTree - DFDataTree for which this widget is created
Returns:
whether binding process was successful

setVertexState

void setVertexState(DFResultSet.VertexState vertexState)

isFocusable

boolean isFocusable()

getFactoryId

String getFactoryId()

getFormData

FormDataBean getFormData()

com.im.ijc.core/1 5.9.4