Class NestedFieldTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
com.infoteria.asteria.flowbuilder2.stream.field.NestedFieldTableModel
All Implemented Interfaces:
com.infoteria.asteria.flowbuilder2.event.FieldDefinitionListener, Serializable, EventListener, TableModel

public abstract class NestedFieldTableModel extends AbstractTableModel
See Also:
  • Field Details

  • Constructor Details

    • NestedFieldTableModel

      public NestedFieldTableModel(FieldDefinition fieldDef)
  • Method Details

    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface TableModel
    • fireTableStructureChanged

      public void fireTableStructureChanged()
      Overrides:
      fireTableStructureChanged in class AbstractTableModel
    • getFieldIndex

      public int getFieldIndex(int row)
    • getCellRenderer

      public TableCellRenderer getCellRenderer(int column)
    • getVisiblePreviousField

      protected NestedField getVisiblePreviousField(int row)
    • collectProfile

      public static void collectProfile(com.infoteria.asteria.gui.profile.UserProfile profile)
    • setupProfile

      public static void setupProfile(com.infoteria.asteria.gui.profile.UserProfile profile)
    • getFieldDefinition

      public FieldDefinition getFieldDefinition()
    • isEditable

      public boolean isEditable()
    • setEditable

      public void setEditable(boolean b)
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in interface TableModel
    • getColumnName

      public String getColumnName(int column)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getRealColumnName

      protected String getRealColumnName(int column)
    • getCellEditor

      public TableCellEditor getCellEditor(int column)
    • getFieldTypeEditor

      public TableCellEditor getFieldTypeEditor()
    • getValueAt

      public Object getValueAt(int row, int column)
      Specified by:
      getValueAt in interface TableModel
    • isCellEditable

      public boolean isCellEditable(int rowIndex, int columnIndex)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class AbstractTableModel
    • setValueAt

      public void setValueAt(Object aValue, int row, int column)
      Specified by:
      setValueAt in interface TableModel
      Overrides:
      setValueAt in class AbstractTableModel
    • checkName

      public boolean checkName(String name)
    • insertField

      public boolean insertField(String name, String type, int idx)
    • getUndoManager

      public com.infoteria.gui.undo.UndoManager getUndoManager()
    • setUndoManager

      public void setUndoManager(com.infoteria.gui.undo.UndoManager um)
    • fireUndoableEditHappened

      protected void fireUndoableEditHappened(UndoableEdit undo)
    • fieldChanged

      public void fieldChanged(com.infoteria.asteria.flowbuilder2.event.FieldDefinitionEvent e)
      Specified by:
      fieldChanged in interface com.infoteria.asteria.flowbuilder2.event.FieldDefinitionListener
    • getColumnWidth

      public int getColumnWidth(int column)
    • setColumnWidth

      public void setColumnWidth(int column, int w)
    • getNameChecker

      public com.infoteria.asteria.flowbuilder2.stream.field.FieldNameChecker getNameChecker()
    • setNameChecker

      public void setNameChecker(com.infoteria.asteria.flowbuilder2.stream.field.FieldNameChecker nc)
    • setFieldType

      protected void setFieldType(FieldType fdtyp)
    • isTypeEditor

      public static boolean isTypeEditor(Object obj)
    • setStreamDefinition

      protected void setStreamDefinition(StreamDefinition sd)
    • getStreamDefinition

      protected StreamDefinition getStreamDefinition()