Class PropertyValueEditor<T>

java.lang.Object
xal.extension.bricks.PropertyValueEditor<T>
Direct Known Subclasses:
PropertyValueTextEditor

public abstract class PropertyValueEditor<T> extends Object
property value editor
  • Field Details

  • Constructor Details

    • PropertyValueEditor

      protected PropertyValueEditor()
      Constructor
  • Method Details

    • writeValue

      public void writeValue(String name, Object value, DataAdaptor adaptor)
      write to a data adaptor
    • readValue

      public abstract T readValue(DataAdaptor adaptor)
      write to a data adaptor
    • isEditable

      public boolean isEditable()
      Determine if the component supports editing
    • getEditorComponent

      public Component getEditorComponent()
      get the component
    • getRenderingComponent

      public Component getRenderingComponent()
      get the component
    • getRenderingComponentInstance

      public Component getRenderingComponentInstance()
      instantiate a component
    • getEditorComponentInstance

      public abstract Component getEditorComponentInstance()
      instantiate a component
    • getEditorValue

      public abstract T getEditorValue(BricksContext context)
      get the cell editor value
    • setEditorValue

      public abstract void setEditorValue(Object value)
      set the editor value
    • setRenderingValue

      public abstract void setRenderingValue(Object value)
      set the rendering value
    • setCurrentCellEditor

      public void setCurrentCellEditor(PropertyValueCellEditor cellEditor)
      set the current cell editor