public class KahinaSatInstanceListView extends KahinaView<CnfSatInstance>
Modifier and Type | Field and Description |
---|---|
protected javax.swing.DefaultListModel |
listModel |
config, kahina, model, needsRedraw
Constructor and Description |
---|
KahinaSatInstanceListView(KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
displayText(java.lang.String string) |
void |
doDisplay()
Subclasses may override this method to take certain actions directly
after
KahinaView.model has changed. |
java.awt.Color |
getLineColor(int lineID) |
int |
getLineStatus(int lineID) |
javax.swing.ListModel |
getListModel() |
javax.swing.JComponent |
makePanel()
Returns the panel that represents this view in the GUI.
|
boolean |
needsRedraw()
States whether this view has changed in a way that causes it to be in need of redraw.
|
void |
recalculate()
Override this method to define necessary operations after changes to the
model (coordinate recomputations etc.)
|
void |
requireRedraw() |
void |
setStatusColorEncoding(int status,
java.awt.Color color) |
display, getConfig, getModel, getTitle, isVisible, makeEditorPanel, processEvent, processEvent, setConfig, setTitle, setVisible
public KahinaSatInstanceListView(KahinaInstance<?,?,?,?> kahina)
public void doDisplay()
KahinaView
KahinaView.model
has changed. This default implementation does
nothing.doDisplay
in class KahinaView<CnfSatInstance>
public void setStatusColorEncoding(int status, java.awt.Color color)
public int getLineStatus(int lineID)
public java.awt.Color getLineColor(int lineID)
public javax.swing.ListModel getListModel()
public javax.swing.JComponent makePanel()
KahinaView
makePanel
in class KahinaView<CnfSatInstance>
public void displayText(java.lang.String string)
public void recalculate()
KahinaView
recalculate
in class KahinaView<CnfSatInstance>
public boolean needsRedraw()
KahinaView
needsRedraw
in class KahinaView<CnfSatInstance>
public void requireRedraw()
requireRedraw
in class KahinaView<CnfSatInstance>