Class MessageHexPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MessageHexPanel extends JPanel
See Also:
  • Constructor Details

    • MessageHexPanel

      public MessageHexPanel(String macAddress, String tabTitle)
  • Method Details

    • clear

      public void clear()
    • update

      public void update(Object messageNo)
    • writeToStream

      public void writeToStream(OutputStream outputStream) throws IOException
      Throws:
      IOException
    • getLayerColorVar

      public static Color getLayerColorVar(String typeOfColor, int layerNumber)
      This method returns the color defined in the enum class LayerColorVar in class AggregatedMessageTable corresponding to the type of color and the layer number.
      Parameters:
      typeOfColor - All types of colors defined in the enum class in class AggregatedMessageTable: "foregroundColor", "backgroundColor", "backgroundColorFine", "backgroundColorUltraFine"
      layerNumber - number of the layer (1 = LINK, 2 = INTERNET, 3 = TRANSPORT, 4 = APPLICATION)
      Returns:
      the desired color