Class AttributeTable
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- cn.mapway.ui.client.widget.CommonEventComposite
-
- cn.mapway.ui.client.mvc.attribute.editor.inspector.AttributeTable
-
- All Implemented Interfaces:
IEventHandler,HasAttributeStateChangeHandler,IAttributePropertyChangeCallback,IAttributesProvider,IAttributeValuesUpdator,IAttributeInit,IPageTip,IEnabled,IErrorMessage,IProvideSize,ISelectable,Id,HasCommonHandlers,com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget
public class AttributeTable extends CommonEventComposite implements IAttributePropertyChangeCallback
-
-
Field Summary
-
Fields inherited from class cn.mapway.ui.client.widget.CommonEventComposite
TRUE
-
Fields inherited from interface cn.mapway.ui.client.mvc.window.IEnabled
ENABLED_ATTRIBUTE
-
Fields inherited from interface cn.mapway.ui.client.mvc.window.ISelectable
SELECT_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description AttributeTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAttribute(IAttribute attribute)属性族中添加一个属性AttributeItemEditorProxyfindEditorProxy(IAttribute attribute)StringgetGroupName()voidonAttributePropertyChange(IAttribute senderAttribute)属性更新后 调用这个方法通知voidsetColumnCount(int columnCount)voidsetGroupName(String group)voidsetLabelWidth(int width)voidupdateUI()voidupdateValue(List<AttributeValue> values)更新属性值-
Methods inherited from class cn.mapway.ui.client.widget.CommonEventComposite
addAttributeReadyCallback, addAttributeStateChangeHandler, addCommonHandler, addTipDataHtml, addTipDataUrl, addTipDataWidget, clearBusEvent, clearTipData, commit, findAttributeByName, fireMessage, flatten, getAttributes, getAttributeSummary, getAttributeTitle, getComponentName, getEnabled, getId, getTipDataList, getTipVersion, getTitle, initAttributes, isAssign, isElementSelect, isSelected, isValidate, message, notifyAttributeReady, onEvent, onLoad, onUnload, processResult, processServiceCode, registerBusEvent, removeAttributeReadyCallback, removeHandler, requireDefaultSize, setAllResource, setAllRole, setAttr, setComponentName, setElementSelect, setEnabled, setErrorMessage, setId, setReadonly, setResource, setRole, setSelect, setTipVersion, setTitle, setUserRoleProvider, showPageTip, unregisterBusEvent, updateAttributeValues
-
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, 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, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cn.mapway.ui.client.mvc.attribute.IAttributesProvider
isGroupInitExpand
-
-
-
-
Method Detail
-
onAttributePropertyChange
public void onAttributePropertyChange(IAttribute senderAttribute)
Description copied from interface:IAttributePropertyChangeCallback属性更新后 调用这个方法通知- Specified by:
onAttributePropertyChangein interfaceIAttributePropertyChangeCallback
-
setColumnCount
public void setColumnCount(int columnCount)
-
setLabelWidth
public void setLabelWidth(int width)
-
setGroupName
public void setGroupName(String group)
-
getGroupName
public String getGroupName()
-
appendAttribute
public void appendAttribute(IAttribute attribute)
属性族中添加一个属性- Parameters:
attribute-
-
updateUI
public void updateUI()
-
updateValue
public void updateValue(List<AttributeValue> values)
更新属性值- Parameters:
values-
-
findEditorProxy
public AttributeItemEditorProxy findEditorProxy(IAttribute attribute)
-
-