Class SimpleAttributeGroup
- 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.SimpleAttributeGroup
-
- All Implemented Interfaces:
IEventHandler,HasAttributeStateChangeHandler,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 SimpleAttributeGroup extends CommonEventComposite
SimpleAttributeGroup 属性组- Author:
- zhang
-
-
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 SimpleAttributeGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAttribute(IAttribute attribute)属性族中添加一个属性IAttributeEditorfindEditor(IAttribute attribute)AttributeItemEditorProxyfindEditorProxy(IAttribute attribute)voidsetGroupName(String group)voidsetLabelWidth(int width)设置 标签的宽度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
-
setLabelWidth
public void setLabelWidth(int width)
设置 标签的宽度- Parameters:
width-
-
setGroupName
public void setGroupName(String group)
-
appendAttribute
public void appendAttribute(IAttribute attribute)
属性族中添加一个属性- Parameters:
attribute-
-
updateValue
public void updateValue(List<AttributeValue> values)
更新属性值- Parameters:
values-
-
findEditor
public IAttributeEditor findEditor(IAttribute attribute)
-
findEditorProxy
public AttributeItemEditorProxy findEditorProxy(IAttribute attribute)
-
-