public abstract class ValidatingTableEditor<Item> extends java.lang.Object implements ComponentWithEmptyText
Modifier and Type | Class and Description |
---|---|
static interface |
ValidatingTableEditor.Fix |
static interface |
ValidatingTableEditor.RowHeightProvider |
Modifier | Constructor and Description |
---|---|
protected |
ValidatingTableEditor() |
protected |
ValidatingTableEditor(AnActionButton... extraButtons) |
Modifier and Type | Method and Description |
---|---|
protected void |
addItem() |
protected abstract Item |
cloneOf(Item item) |
protected abstract Item |
createItem() |
protected void |
displayMessageAndFix(Pair<java.lang.String,ValidatingTableEditor.Fix> messageAndFix) |
java.awt.Component |
getContentPane() |
StatusText |
getEmptyText() |
java.util.List<Item> |
getItems() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
java.util.List<Item> |
getSelectedItems() |
void |
hideMessageLabel() |
void |
setColumnReorderingAllowed(boolean value) |
void |
setModel(ColumnInfo<Item,java.lang.Object>[] valueColumns,
java.util.List<? extends Item> items) |
void |
setTableHeader(javax.swing.table.JTableHeader header) |
void |
updateMessage(int index,
Item override) |
protected java.lang.String |
validate(Item item) |
protected Pair<java.lang.String,ValidatingTableEditor.Fix> |
validate(java.util.List<? extends Item> current,
java.util.List<? super java.lang.String> warnings) |
protected ValidatingTableEditor(AnActionButton... extraButtons)
protected ValidatingTableEditor()
protected Pair<java.lang.String,ValidatingTableEditor.Fix> validate(java.util.List<? extends Item> current, java.util.List<? super java.lang.String> warnings)
protected java.lang.String validate(Item item)
protected abstract Item createItem()
public StatusText getEmptyText()
getEmptyText
in interface ComponentWithEmptyText
public java.util.List<Item> getSelectedItems()
protected void addItem()
public void setModel(ColumnInfo<Item,java.lang.Object>[] valueColumns, java.util.List<? extends Item> items)
public java.util.List<Item> getItems()
public void setTableHeader(javax.swing.table.JTableHeader header)
public void updateMessage(int index, Item override)
protected void displayMessageAndFix(Pair<java.lang.String,ValidatingTableEditor.Fix> messageAndFix)
public void hideMessageLabel()
public javax.swing.JComponent getPreferredFocusedComponent()
public java.awt.Component getContentPane()
public void setColumnReorderingAllowed(boolean value)