Class AttributeItemEditorProxy

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.gwt.event.shared.HandlerRegistration addCommonHandler​(CommonEventHandler handler)  
      void createEditorInstance​(IAttribute attribute)
      创建编辑器实例
      void fromUI()  
      IAttribute getAttribute()  
      IAttributeEditor getEditor()  
      void handlerEditorNotify​(NotifyKind kind, Object data)  
      void onAttributePropertyChange​(IAttribute senderAttribute)
      属性发生变更 更新UI渲染
      void setEditorReadOnly​(boolean readOnly)
      运行编辑器是否可以编辑
      void setLabelWidth​(int width)  
      void updateAllEditorOption()  
      void updateEditorOption​(String key, Object value)  
      void updateUI()
      从 attribute获取数据渲染界面
      • Methods inherited from class com.google.gwt.user.client.ui.Composite

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Constructor Detail

      • AttributeItemEditorProxy

        public AttributeItemEditorProxy()
    • Method Detail

      • createEditorInstance

        public void createEditorInstance​(IAttribute attribute)
        创建编辑器实例
        Parameters:
        attribute - 编辑器组件的定义(属性的定义)
      • setLabelWidth

        public void setLabelWidth​(int width)
      • updateEditorOption

        public void updateEditorOption​(String key,
                                       Object value)
      • updateAllEditorOption

        public void updateAllEditorOption()
      • setEditorReadOnly

        public void setEditorReadOnly​(boolean readOnly)
        运行编辑器是否可以编辑
        Parameters:
        readOnly -
      • updateUI

        public void updateUI()
        从 attribute获取数据渲染界面
      • fromUI

        public void fromUI()