Package PamView

Interface ColorManaged

All Known Implementing Classes:
ArrayDimComponent, ClickSidePanel.SidePanel, ClipDisplayUnit, ColourComboBox, CompoundHidingTabPane, DataMapPanel, DataStreamPanel.DataGraph, DepthComponent, DialogMap2D, DialogMapPanel3D, DIFARGroupPanel, DifarParamsDialog.DifarDetectorPanel, DisplayNorthPanel, DisplaySouthPanel, HeadingComponent, HeadPitchRollComponent, HidingControlPanel, HidingPanel, HistogramDisplay.HistoPlotPanel, IconPanel, ImageAnglePanel, ImageRotRibbonPanel, JBufferedPanel, JPanelWithPamKey, LoggerFormLabel, LoggerFormPanel, LoggerSubTabbedPane, LoggerTabbedPane, MapPanel, MHTSidePaneSwing.BufferPanel, MouseMeasureDisplay, OrcaSpotSidePanel, OrcaSpotSidePanel.BufferPanel, PamAlignmentPanel, PamAxisPanel, PamBorderPanel, PamButton, PamCheckBox, PamDesktopPane, PamLabel, PamList, PamNorthPanel, PamPanel, PamProgressBar, PamRadioButton, PamScrollBar, PamScrollPane, PamScrollPane, PamSlider, PamTabbedPane, PamTable, PamTextArea, PamTextDisplay, PamTextField, PamToolBar, PitchRollComponent, RecorderButton, RoccaSidePanel.SidePanel, RockBlockSidePanel.SidePanel, ScrollingDataPanel, ScrollingPamLabel, SettingsStrip, SonobuoyManagerPanel, SudAudioSettingsPane.SudSettingsPanel, TabbedHidingPane, TabbedHidingPane.ShowingPanel, TabbedHidingPane.TabHidingPanel, TargetMotionDialog, TargetMotionMainPanel, TDGraph.GraphPlotPanel, TopToolBar, VerticalLabel, VRImageEditPanel, VRMetaDataPanel, WarningLabel, WavOptionsPanel, WestAlignedPanel

public interface ColorManaged
Interface that enables the colour manager (PamColors) to change the colour of any swing component. When night / day settings are changes, the colour manager iterates through the entire tree of frames, containers and components and for each one tests to see if it's implemented ColorManaged. If it has, then the components back and foreground colours are changed.
Author:
Doug Gillespie
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The components colour scheme.
  • Method Details

    • getColorId

      PamColors.PamColor getColorId()
      The components colour scheme.
      Returns:
      PamColor