public class PartitionBlockView extends KahinaView<PartitionBlockHandler>
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.DefaultListModel |
listModel |
config, model, needsRedraw| Constructor and Description |
|---|
PartitionBlockView(MUCInstance 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.
|
void |
processEvent(KahinaEvent e) |
void |
processEvent(KahinaSelectionEvent e) |
void |
recalculate()
Override this method to define necessary operations after changes to the
model (coordinate recomputations etc.)
|
void |
setBlockContentSummarizer(BlockContentSummarizer summarizer) |
void |
setStatusColorEncoding(int status,
java.awt.Color color) |
display, getConfig, getModel, getTitle, isVisible, makeEditorPanel, needsRedraw, processEvent, requireRedraw, setConfig, setTitle, setVisiblepublic PartitionBlockView(MUCInstance kahina)
public void doDisplay()
KahinaViewKahinaView.model has changed. This default implementation does
nothing.doDisplay in class KahinaView<PartitionBlockHandler>public void setBlockContentSummarizer(BlockContentSummarizer summarizer)
public void processEvent(KahinaEvent e)
processEvent in interface KahinaListenerprocessEvent in class KahinaView<PartitionBlockHandler>public void processEvent(KahinaSelectionEvent e)
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()
KahinaViewmakePanel in class KahinaView<PartitionBlockHandler>public void displayText(java.lang.String string)
public void recalculate()
KahinaViewrecalculate in class KahinaView<PartitionBlockHandler>