Package com.illumon.iris.console.utils
Class LiveInputTableEditor
java.lang.Object
com.illumon.iris.console.utils.LiveInputTableEditor
- All Implemented Interfaces:
Deflatable<LiveInputTableEditor>
,LiveWidget<LiveInputTableEditor>
@ScriptApi public class LiveInputTableEditor extends Object implements LiveWidget<LiveInputTableEditor>
UI editor for input tables.
-
Constructor Summary
Constructors Constructor Description LiveInputTableEditor(Table inputTable)
Creates a new input table editor.LiveInputTableEditor(Table viewTable, Table inputTable)
Creates a new input table editor.LiveInputTableEditor(Table viewTable, Table inputTable, boolean keysEditable)
Creates a new input table editor. -
Method Summary
Modifier and Type Method Description Inflatable<LiveInputTableEditor>
deflate(ExportedObjectClient client)
Convert this object into an Inflatable suitable for serialization.JComponent
getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)
Gets the UI component.
-
Constructor Details
-
LiveInputTableEditor
Creates a new input table editor.- Parameters:
inputTable
- input table.
-
LiveInputTableEditor
Creates a new input table editor.- Parameters:
viewTable
- view tableinputTable
- input table
-
LiveInputTableEditor
Creates a new input table editor.- Parameters:
viewTable
- view tableinputTable
- input tablekeysEditable
- true to make keys editable
-
-
Method Details
-
getComponent
public JComponent getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)Description copied from interface:LiveWidget
Gets the UI component.- Specified by:
getComponent
in interfaceLiveWidget<LiveInputTableEditor>
- Parameters:
dataPanel
- data panelviewId
- view idview
- viewtitle
- titleirisWidgetSupportObject
- widget support objectlog
- log- Returns:
- UI component
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<LiveInputTableEditor>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-