public class SystemsList extends ConsolePanel implements MainVehicleChangeListener, IPeriodicUpdates, Renderer2DPainter, SystemPainterProvider, IEditorMenuExtension, ConfigurationListener, SubPanelChangeListener, ISystemsSelection
| Modifier and Type | Class and Description |
|---|---|
static class |
SystemsList.MilStd2525SymbolsFilledEnum |
static class |
SystemsList.SortOrderEnum |
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
boolean |
drawCircleInRenderDependentOfSystemType |
boolean |
drawSystemLabel |
boolean |
enableSelection |
int |
iconsSize |
int |
indicatorsSize |
int |
mainSizeIncrement |
SystemsList.MilStd2525SymbolsFilledEnum |
milStd2525FilledOrNot |
double |
minimumSpeedToBeStopped |
int |
minutesToHideSystemsWithoutKnownLocation |
SystemDisplayComparator.OrderOptionEnum |
orderingOption |
int |
rendererIconsSize |
boolean |
showExternalSystemsIcons |
boolean |
showSystemsIconsOnRenderer |
boolean |
showSystemsIconsThatAreFilteredOut |
boolean |
showSystemSymbolOrText |
ImcSystem.IMCAuthorityState |
showSystemWithAuthorityEqualOrAbove |
VehicleType.SystemTypeEnum |
systemsFilter |
SystemsList.SortOrderEnum |
systemsOrdering |
boolean |
useMilStd2525LikeSymbols |
VehicleType.VehicleTypeEnum |
vehicleTypeFilter |
dialoglistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
SystemsList(ConsoleLayout console) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanSubPanel() |
void |
clearSelectedSystems() |
java.util.Collection<javax.swing.JMenuItem> |
getApplicableItems(LocationType loc,
IMapPopup source) |
java.util.Collection<java.lang.String> |
getAvailableSelectedSystems() |
java.util.Collection<java.lang.String> |
getAvailableVehicles() |
int |
getIconsSize() |
int |
getIndicatorsSize() |
java.util.Collection<java.lang.String> |
getSelectedSystems(boolean clearSelection)
Returns a list of selected system ids
|
java.util.Collection<java.lang.String> |
getSelectedVehicles(boolean clearSelection)
Returns a list of selected vehicles.
|
void |
initSubPanel() |
boolean |
isEnableSelection() |
boolean |
isSystemPainterEnabled() |
boolean |
isViewEnable() |
static void |
main(java.lang.String[] args) |
void |
mainVehicleChangeNotification(ConsoleEventMainSystemChange ev) |
long |
millisBetweenUpdates()
Use this method to return the desired update interval
|
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer) |
void |
propertiesChanged() |
void |
setEnableSelection(boolean enableSelection) |
void |
setIconsSize(int iconsSize) |
void |
setIndicatorsSize(int indicatorsSize) |
void |
setViewEnable(boolean enable) |
void |
subPanelChanged(SubPanelChangeEvent panelChange) |
boolean |
update()
This method is called periodically (same period as specified by
IPeriodicUpdates.millisBetweenUpdates() |
activateComponents, addCheckMenuItem, addMenu, addMenuItem, asDocument, asDocument, asElement, asElement, asXML, asXML, clean, deactivateComponents, getChildren, getConsole, getDescription, getEditMode, getImageIcon, getMainpanel, getMainVehicleId, getName, getProperties, getPropertiesDialogTitle, getPropertiesErrors, getState, getVisibility, inDocument, inElement, init, isFixedPosition, isFixedSize, isResizable, mainVehicleChange, onMessage, parentResized, parseXML, post, recalculateRelativePosAndSize, removeCheckMenuItem, removeMenuItem, send, send, sendViaIridium, setEditMode, setFixedPosition, setFixedSize, setPopupPosition, setProperties, setResizable, setVisibility, XML_ChildsRead, XML_ChildsWrite, XML_PropertiesRead, XML_PropertiesWritegetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmainVehicleChangepublic int iconsSize
public int indicatorsSize
public int mainSizeIncrement
public boolean showSystemSymbolOrText
public VehicleType.SystemTypeEnum systemsFilter
public VehicleType.VehicleTypeEnum vehicleTypeFilter
public SystemsList.SortOrderEnum systemsOrdering
public ImcSystem.IMCAuthorityState showSystemWithAuthorityEqualOrAbove
public SystemDisplayComparator.OrderOptionEnum orderingOption
public boolean enableSelection
public boolean showSystemsIconsOnRenderer
public int rendererIconsSize
public boolean showSystemsIconsThatAreFilteredOut
public boolean showExternalSystemsIcons
public double minimumSpeedToBeStopped
public boolean drawSystemLabel
public boolean useMilStd2525LikeSymbols
public SystemsList.MilStd2525SymbolsFilledEnum milStd2525FilledOrNot
public int minutesToHideSystemsWithoutKnownLocation
public boolean drawCircleInRenderDependentOfSystemType
public SystemsList(ConsoleLayout console)
public void initSubPanel()
initSubPanel in class ConsolePanelpublic void cleanSubPanel()
cleanSubPanel in class ConsolePanelpublic int getIconsSize()
public void setIconsSize(int iconsSize)
iconsSize - the iconsSize to setpublic int getIndicatorsSize()
public void setIndicatorsSize(int indicatorsSize)
indicatorsSize - the indicatorsSize to setpublic boolean isEnableSelection()
public void setEnableSelection(boolean enableSelection)
enableSelection - the enableSelection to setpublic boolean isViewEnable()
public void setViewEnable(boolean enable)
enableSelection - the enableSelection to setpublic boolean isSystemPainterEnabled()
isSystemPainterEnabled in interface SystemPainterProviderpublic void subPanelChanged(SubPanelChangeEvent panelChange)
subPanelChanged in interface SubPanelChangeListenerpublic void mainVehicleChangeNotification(ConsoleEventMainSystemChange ev)
public long millisBetweenUpdates()
IPeriodicUpdatesmillisBetweenUpdates in interface IPeriodicUpdatespublic boolean update()
IPeriodicUpdatesIPeriodicUpdates.millisBetweenUpdates()update in interface IPeriodicUpdatespublic void paint(java.awt.Graphics2D g,
StateRenderer2D renderer)
paint in interface Renderer2DPainterpublic java.util.Collection<javax.swing.JMenuItem> getApplicableItems(LocationType loc, IMapPopup source)
getApplicableItems in interface IEditorMenuExtensionpublic void propertiesChanged()
propertiesChanged in interface ConfigurationListenerpublic java.util.Collection<java.lang.String> getSelectedSystems(boolean clearSelection)
ISystemsSelectiongetSelectedSystems in interface ISystemsSelectionpublic java.util.Collection<java.lang.String> getAvailableSelectedSystems()
getAvailableSelectedSystems in interface ISystemsSelectionpublic java.util.Collection<java.lang.String> getSelectedVehicles(boolean clearSelection)
ISystemsSelectiongetSelectedVehicles in interface ISystemsSelectionpublic java.util.Collection<java.lang.String> getAvailableVehicles()
getAvailableVehicles in interface ISystemsSelectionpublic void clearSelectedSystems()
public static void main(java.lang.String[] args)
args - Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.