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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FieldDefinitionprotected List<com.infoteria.asteria.flowbuilder2.stream.field.NestedFieldTableModel.Item> protected static final DefaultCellEditorprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final com.infoteria.asteria.flowbuilder2.resource.BuilderInfoprotected static final DefaultCellEditorFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic voidcollectProfile(com.infoteria.asteria.gui.profile.UserProfile profile) voidfieldChanged(com.infoteria.asteria.flowbuilder2.event.FieldDefinitionEvent e) voidprotected voidgetCellEditor(int column) getCellRenderer(int column) intgetColumnName(int column) intgetColumnWidth(int column) intgetFieldIndex(int row) com.infoteria.asteria.flowbuilder2.stream.field.FieldNameCheckerprotected StringgetRealColumnName(int column) intprotected StreamDefinitioncom.infoteria.gui.undo.UndoManagergetValueAt(int row, int column) protected NestedFieldgetVisiblePreviousField(int row) booleaninsertField(String name, String type, int idx) booleanisCellEditable(int rowIndex, int columnIndex) booleanstatic booleanisTypeEditor(Object obj) voidsetColumnWidth(int column, int w) voidsetEditable(boolean b) protected voidsetFieldType(FieldType fdtyp) voidsetNameChecker(com.infoteria.asteria.flowbuilder2.stream.field.FieldNameChecker nc) protected voidvoidsetUndoManager(com.infoteria.gui.undo.UndoManager um) static voidsetupProfile(com.infoteria.asteria.gui.profile.UserProfile profile) voidsetValueAt(Object aValue, int row, int column) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
NAME_EDITOR
-
_visibleFieldList
protected List<com.infoteria.asteria.flowbuilder2.stream.field.NestedFieldTableModel.Item> _visibleFieldList -
IDX_NAME
protected static final int IDX_NAME- See Also:
-
IDX_TYPE
protected static final int IDX_TYPE- See Also:
-
IDX_START_POS
protected static final int IDX_START_POS- See Also:
-
IDX_LENGTH
protected static final int IDX_LENGTH- See Also:
-
IDX_FRACTION_LENGTH
protected static final int IDX_FRACTION_LENGTH- See Also:
-
IDX_REPEAT
protected static final int IDX_REPEAT- See Also:
-
IDX_NODETYPE
protected static final int IDX_NODETYPE- See Also:
-
IDX_LABEL
protected static final int IDX_LABEL- See Also:
-
MF
protected static final com.infoteria.asteria.flowbuilder2.resource.BuilderInfo MF -
CHOICE_EDITOR
-
_fieldDef
-
-
Constructor Details
-
NestedFieldTableModel
-
-
Method Details
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
fireTableStructureChanged
public void fireTableStructureChanged()- Overrides:
fireTableStructureChangedin classAbstractTableModel
-
getFieldIndex
public int getFieldIndex(int row) -
getCellRenderer
-
getVisiblePreviousField
-
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
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean b) -
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRealColumnName
-
getCellEditor
-
getFieldTypeEditor
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
checkName
-
insertField
-
getUndoManager
public com.infoteria.gui.undo.UndoManager getUndoManager() -
setUndoManager
public void setUndoManager(com.infoteria.gui.undo.UndoManager um) -
fireUndoableEditHappened
-
fieldChanged
public void fieldChanged(com.infoteria.asteria.flowbuilder2.event.FieldDefinitionEvent e) - Specified by:
fieldChangedin interfacecom.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
-
isTypeEditor
-
setStreamDefinition
-
getStreamDefinition
-