|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.mars_sim.msp.ui.swing.tool.monitor.EventTab
public class EventTab
This class represents a historical event table displayed within the Monitor Window.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected JTable |
table
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
EventTab(EventTableModel model)
|
|
| Method Summary | |
|---|---|
void |
centerMap(MainDesktopPane desktop)
Center the map on the first selected row. |
void |
displayDetails(MainDesktopPane desktop)
Display details for selected rows |
void |
displayProps(MainDesktopPane desktop)
Display property window anchored to a main desktop. |
String |
getCountString()
Gets the tab count string. |
Icon |
getIcon()
Get the icon associated with this view. |
boolean |
getMandatory()
Get the mandatory state of this view |
org.mars_sim.msp.ui.swing.tool.monitor.MonitorModel |
getModel()
Get the associated model. |
protected List |
getSelection()
This return the selected rows in the model that are current selected in this view. |
void |
removeTab()
Remove this view. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected JTable table
| Constructor Detail |
|---|
public EventTab(EventTableModel model)
| Method Detail |
|---|
public void displayProps(MainDesktopPane desktop)
desktop - Main desktop owing the properties dialog.protected List getSelection()
public void removeTab()
public void displayDetails(MainDesktopPane desktop)
public void centerMap(MainDesktopPane desktop)
desktop - Main window of application.public String getCountString()
public Icon getIcon()
public org.mars_sim.msp.ui.swing.tool.monitor.MonitorModel getModel()
public boolean getMandatory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||