Interface IAttribute

All Known Implementing Classes:
AbstractAttribute, CheckBoxAttribute, ColorBoxAttribute, DateTimeAttribute, DropdownAttribute, ImageUploadBoxAttribute, LabelAttribute, PaddingBoxAttribute, ParameterAttribute, SimpleCheckBoxAttribute, SimpleColorBoxAttribute, SimpleDropdownBoxAttribute, SimpleTextBoxAttribute, TextAreaAttribute, TextBoxAttribute

public interface IAttribute
IAttribute 用于描述一个属性
Author:
zhang
  • Method Details

    • getId

      String getId()
      唯一ID
      Returns:
    • getName

      String getName()
    • getAltName

      String getAltName()
    • getValue

      Object getValue()
    • setValue

      void setValue(Object value)
    • getDefaultValue

      String getDefaultValue()
    • getDescription

      String getDescription()
    • isReadonly

      boolean isReadonly()
    • isRequired

      boolean isRequired()
    • getDataType

      int getDataType()
    • getValidateRegx

      String getValidateRegx()
    • getGroup

      String getGroup()
    • getRank

      int getRank()
    • getTip

      String getTip()
    • getErrorTip

      String getErrorTip()
    • getIcon

      String getIcon()
    • getOptionProvider

      IOptionProvider getOptionProvider()
    • getRuntimeParameters

      default ParameterValues getRuntimeParameters()
      获取运行时期 的参数
      Returns:
    • getEditorMetaData

      IEditorMetaData getEditorMetaData()
      编辑这个属性需要的属性编辑器信息 将会替代 上面的getEditorCode designOption getOptions等字段 完成后 上面的字段将会被删除
      Returns:
    • getAttrVisible

      boolean getAttrVisible()
      获取编辑器显示或者隐藏
      Returns:
    • setAttrVisible

      IAttribute setAttrVisible(boolean visible)
      设置编辑器显示或者隐藏
      Parameters:
      visible -
    • notifyPropertyChange

      void notifyPropertyChange()
      属性相关的数据发生变更 通知
    • setChangeCallback

      IAttribute setChangeCallback(IAttributePropertyChangeCallback callback)
      设置属性改变的回调
      Parameters:
      callback -
      Returns: