public class OrderExceptionTablePart
extends de.willuhn.jameica.gui.parts.TablePart
implements de.willuhn.jameica.gui.boxes.Box
Constructor and Description |
---|
OrderExceptionTablePart(java.util.List<com.opencsv.exceptions.CsvException> list,
de.willuhn.jameica.gui.Action action)
Constructs a new table to list all orders that have been loaded
successfully.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object object)
Always 0 as we do not sort
|
boolean |
getDefaultEnabled() |
int |
getDefaultIndex()
Always 0
|
int |
getHeight() |
int |
getIndex()
Not used!
|
java.lang.String |
getName() |
boolean |
isActive()
Return if the box should be shown at all.
|
void |
setIndex(int index)
Not used!
|
addChangeListener, addItem, addItem, addItem, addItem, createFeatureEventContext, getCollator, getControlValue, getEditorControl, getItems, getItems, getSelection, getSummary, isEnabled, orderBy, orderBy, paint, refreshSummary, removeAll, removeItem, restoreState, select, setChecked, setEnabled, setFormatter, setSummary, setTopIndex, size, sort, updateItem
addColumn, addColumn, addColumn, addColumn, addColumn, addFeature, addFeature, addSelectionListener, asList, featureEvent, getFeature, hasEvent, removeFeature, select, setCheckable, setChecked, setContextMenu, setMulti, setRememberColWidths, setRememberOrder, setRememberState
public OrderExceptionTablePart(java.util.List<com.opencsv.exceptions.CsvException> list, de.willuhn.jameica.gui.Action action)
list
- with successfully loaded Order
action
- that is executed when double-click an entrypublic int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
public boolean getDefaultEnabled()
getDefaultEnabled
in interface de.willuhn.jameica.gui.boxes.Box
getDefaultEnabled()
public int getDefaultIndex()
getDefaultIndex
in interface de.willuhn.jameica.gui.boxes.Box
public int getHeight()
getHeight
in interface de.willuhn.jameica.gui.boxes.Box
getHeight()
public int getIndex()
getIndex
in interface de.willuhn.jameica.gui.boxes.Box
public java.lang.String getName()
getName
in interface de.willuhn.jameica.gui.boxes.Box
Box.getName()
public boolean isActive()
isActive
in interface de.willuhn.jameica.gui.boxes.Box
public void setIndex(int index)
setIndex
in interface de.willuhn.jameica.gui.boxes.Box