# Serialized Form

- ## Package aim4.driver.coordinator

  - ### Class aim4.driver.coordinator.ArrivalEstimationException extends Exception implements Serializable

    serialVersionUID:
      1L

  - ### Class aim4.driver.coordinator.ReservationCheckException extends Exception implements Serializable

    serialVersionUID:
      1L

- ## Package aim4.gui

  - ### Class aim4.gui.Canvas extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### basicMap

            BasicMap basicMap

        The map

      - #### posOfOriginX

            int posOfOriginX

        The position of the x-coordinate of the origin in the sim space

      - #### posOfOriginY

            int posOfOriginY

        The position of the y-coordinate of the origin in the sim space

      - #### scaleIndex

            int scaleIndex

        The current scale index

      - #### scaleTable

            double[] scaleTable

        The scale of the map on screen

      - #### lastCursorX

            int lastCursorX

        The last position of the x-coordinate of the cursor

      - #### lastCursorY

            int lastCursorY

        The last position of the y-coordinate of the cursor

      - #### grassImage

            BufferedImage grassImage

        The image for grass texture.

      - #### asphaltImage

            BufferedImage asphaltImage

        The image for asphalt texture.

      - #### mapImageTable

            Image[] mapImageTable

        A cache of the background so that we do not need to redraw it every time a vehicle moves.

      - #### displayImage

            Image displayImage

        The buffer for the image that will be drawn to the canvas whenever it is repainted.

      - #### displayBuffer

            Graphics2D displayBuffer

        The graphic context in which we will use to draw to the displayImage.

      - #### viewer

            Viewer viewer

        the viewer

      - #### canUpdateCanvas

            boolean canUpdateCanvas

        Whether other threads can update the canvas via update()

      - #### isShowSimulationTime

            boolean isShowSimulationTime

        Whether to show the simulation time on canvas

      - #### isShowVin

            boolean isShowVin

        Whether to show the VIN numbers

      - #### isShowIMDebugShapes

            boolean isShowIMDebugShapes

        Whether or not the Canvas will try to draw the IntersectionManagers' debugging shapes.

  - ### Class aim4.gui.SimSetupPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### comboBox

            JComboBox<E> comboBox

        The combox box

      - #### cards

            JPanel cards

        The card panel

      - #### cardLayout

            CardLayout cardLayout

        The card layout

      - #### autoDriverOnlySetupPanel

            AutoDriverOnlyParamPanel autoDriverOnlySetupPanel

        the auto driver only simulation setup panel

      - #### trafficSignalSetupPanel

            TrafficSignalParamPanel trafficSignalSetupPanel

        The traffic signal setup panel

      - #### simSetup

            BasicSimSetup simSetup

        The simulation setup panel

  - ### Class aim4.gui.StatusPanelContainer extends JTabbedPane implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### controlPanel

            SimControlPanel controlPanel

        The simulation control panel

      - #### statPanel

            StatPanel statPanel

        The statistic panel

      - #### systemPanel

            SystemPanel systemPanel

        The system panel

      - #### consolePanel

            ConsolePanel consolePanel

        The console panel

      - #### vehicleInfoPanel

            VehicleInfoPanel vehicleInfoPanel

        The vehicle information panel

      - #### adminControlPanel

            AdminControlPanel adminControlPanel

        The administration control panel

  - ### Class aim4.gui.Viewer extends JFrame implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### initSimSetup

            BasicSimSetup initSimSetup

        The initial configuration of the simulation

      - #### sim

            Simulator sim

        The Simulator running in this Viewer.

      - #### simThread

            Viewer.SimThread simThread

        The simulation's thread

      - #### udpListener

            UdpListener udpListener

        UDP listener

      - #### targetSimSpeed

            double targetSimSpeed

        The target simulation speed

      - #### targetFrameRate

            double targetFrameRate

        The target frame rate

      - #### nextFrameTime

            long nextFrameTime

        The time of the next screen update in millisecond

      - #### recording

            boolean recording

        Whether or not to save the screen during simulation

      - #### imageDir

            String imageDir

        Image's direction

      - #### imageCounter

            int imageCounter

        The number of generated images

      - #### mainPanel

            JPanel mainPanel

        The main pane

      - #### canvasCardLayout

            CardLayout canvasCardLayout

        The card layout for the canvas

      - #### canvas

            Canvas canvas

        The canvas on which to draw the state of the simulator.

      - #### simSetupPanel

            SimSetupPanel simSetupPanel

        The simulation setup pane

      - #### statusPanel

            StatusPanelContainer statusPanel

        The status pane on which to display statistics.

      - #### startButton

            JButton startButton

        The Start/Pause/Resume Button

      - #### stepButton

            JButton stepButton

        The Step Button

      - #### vehicleInfoFrame

            VehicleInfoFrame vehicleInfoFrame

        The frame for showing a vehicle information

      - #### startMenuItem

            JMenuItem startMenuItem

        Menu item "Start Simulation Process"

      - #### stepMenuItem

            JMenuItem stepMenuItem

        Menu item "Step"

      - #### resetMenuItem

            JMenuItem resetMenuItem

        Menu item "Reset"

      - #### dumpDataMenuItem

            JMenuItem dumpDataMenuItem

        Menu item "Dump Data Collection Lines' Data"

      - #### startRecordingMenuItem

            JMenuItem startRecordingMenuItem

        Menu item for activating recording.

      - #### stopRecordingMenuItem

            JMenuItem stopRecordingMenuItem

        Menu item for deactivating recording.

      - #### startUdpListenerMenuItem

            JMenuItem startUdpListenerMenuItem

        Menu item for starting the UDP listener

      - #### stopUdpListenerMenuItem

            JMenuItem stopUdpListenerMenuItem

        Menu item for stopping the UDP listener

      - #### showSimulationTimeMenuItem

            JCheckBoxMenuItem showSimulationTimeMenuItem

        Menu item for controlling whether to show the simulation time

      - #### showVinMenuItem

            JCheckBoxMenuItem showVinMenuItem

        Menu item for controlling whether to show VIN numbers

      - #### showIMShapesMenuItem

            JCheckBoxMenuItem showIMShapesMenuItem

        Menu item for controlling whether to show debug shapes

      - #### clearDebugPointsMenuItem

            JMenuItem clearDebugPointsMenuItem

        Menu item for clearing simulator's debug point

- ## Package aim4.gui.component

  - ### Class aim4.gui.component.FormattedLabel extends JLabel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### prefix

            String prefix

        The string to put before the value.

      - #### format

            String format

        The format string to format the value, including any units.

      - #### blank

            String blank

        The string of blanks to hold the space for the true value, to preserve formatting in case formatting is dynamic.

  - ### Class aim4.gui.component.LabeledSlider extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### minValue

            double minValue

        The minimum value

      - #### maxValue

            double maxValue

        The maximum value

      - #### defaultValue

            double defaultValue

        The default value

      - #### majorTick

            double majorTick

        The major tick

      - #### minorTick

            double minorTick

        The minor tick

      - #### labelFormat

            String labelFormat

        The lable format

      - #### tickLabelFormat

            String tickLabelFormat

        The tick label format

      - #### specialTickLabelTable

            Map<K,V> specialTickLabelTable

        Special tick label table

      - #### specialTickLabelFormatTable

            Map<K,V> specialTickLabelFormatTable

        Special tick label format table

      - #### changeListener

            ChangeListener changeListener

        The change listener

      - #### label

            JLabel label

        The label of the slider

      - #### slider

            JSlider slider

        The slider

- ## Package aim4.gui.frame

  - ### Class aim4.gui.frame.VehicleInfoFrame extends JFrame implements Serializable

    - ### Serialized Fields

      - #### viewer

            Viewer viewer

        The current viewer object

      - #### vehicle

            VehicleSimView vehicle

        The vehicle

      - #### accelerationLabel

            JLabel accelerationLabel

      - #### headingLabel

            JLabel headingLabel

      - #### jLabel1

            JLabel jLabel1

      - #### jLabel2

            JLabel jLabel2

      - #### jLabel3

            JLabel jLabel3

      - #### jLabel4

            JLabel jLabel4

      - #### velocityLabel

            JLabel velocityLabel

      - #### vinLabel

            JLabel vinLabel

- ## Package aim4.gui.parampanel

  - ### Class aim4.gui.parampanel.AutoDriverOnlyParamPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### trafficRateSlider

            LabeledSlider trafficRateSlider

      - #### speedLimitSlider

            LabeledSlider speedLimitSlider

      - #### stopDistToIntersectionSlider

            LabeledSlider stopDistToIntersectionSlider

      - #### numOfColumnSlider

            LabeledSlider numOfColumnSlider

      - #### numOfRowSlider

            LabeledSlider numOfRowSlider

      - #### lanesPerRoadSlider

            LabeledSlider lanesPerRoadSlider

  - ### Class aim4.gui.parampanel.TrafficSignalParamPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### trafficRateSlider

            LabeledSlider trafficRateSlider

      - #### greenLightDurationSlider

            LabeledSlider greenLightDurationSlider

      - #### yelloLightDurationSlider

            LabeledSlider yelloLightDurationSlider

      - #### lanesPerRoadSlider

            LabeledSlider lanesPerRoadSlider

- ## Package aim4.gui.statuspanel

  - ### Class aim4.gui.statuspanel.AdminControlPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### fcfsButton

            JButton fcfsButton

      - #### stopButton

            JButton stopButton

      - #### straightButton

            JButton straightButton

      - #### mixedLightButton

            JButton mixedLightButton

      - #### viewer

            Viewer viewer

        The viewer object

  - ### Class aim4.gui.statuspanel.ConsolePanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### textArea

            JTextArea textArea

      - #### outputPane

            JScrollPane outputPane

  - ### Class aim4.gui.statuspanel.SimControlPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### targetSimSpeedSlider

            LabeledSlider targetSimSpeedSlider

      - #### targetFrameRateSlider

            LabeledSlider targetFrameRateSlider

      - #### viewer

            Viewer viewer

        The viewer object

  - ### Class aim4.gui.statuspanel.StatPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### currentTimeLabel

            FormattedLabel currentTimeLabel

        The current time in the simulator.

      - #### overallCompletedVehiclesLabel

            FormattedLabel overallCompletedVehiclesLabel

        The number of completed vehicles.

      - #### overallAverageTransmittedLabel

            FormattedLabel overallAverageTransmittedLabel

        The average amount of data transmitted.

      - #### overallAverageReceivedLabel

            FormattedLabel overallAverageReceivedLabel

        The average amount of data received.

      - #### viewer

            Viewer viewer

        The viewer object

  - ### Class aim4.gui.statuspanel.SystemPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### MAX_MEMORY_DIGITS

            int MAX_MEMORY_DIGITS

        The number of digits needed to display the maximum amount of memory, in megabytes, available to the Java Virtual Machine.

      - #### systemOSInfoLabel

            JLabel systemOSInfoLabel

        The operating system name, version, and architecture.

      - #### systemJavaInfoLabel

            JLabel systemJavaInfoLabel

        The version of Java under which the viewer is running.

      - #### systemMaximumMemoryLabel

            JLabel systemMaximumMemoryLabel

        The total amount of memory that the Java Virtual Machine can obtain from the operating system.

      - #### systemMemUsageLabel

            FormattedLabel systemMemUsageLabel

        The amount of memory currently in use by the viewer and simulator.

      - #### systemAvailableMemoryLabel

            FormattedLabel systemAvailableMemoryLabel

        The total amount of memory currently allocated to the Java Virtual Machine.

  - ### Class aim4.gui.statuspanel.VehicleInfoPanel extends JPanel implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### vehicleVINLabel

            FormattedLabel vehicleVINLabel

        The selected vehicle's ID number.

      - #### vehicleSpecLabel

            FormattedLabel vehicleSpecLabel

        The type of the selected vehicle.

      - #### vehicleVelocityLabel

            FormattedLabel vehicleVelocityLabel

        The selected vehicle's velocity.

      - #### vehicleAccelerationLabel

            FormattedLabel vehicleAccelerationLabel

        The selected vehicle's acceleration.

      - #### vehicleTransmittedLabel

            FormattedLabel vehicleTransmittedLabel

        The amount of information that has been transmitted by the selected vehicle.

      - #### vehicleReceivedLabel

            FormattedLabel vehicleReceivedLabel

        The amount of information that has been received by the selected vehicle.

- ## Package aim4.map.track

  - ### Class aim4.map.track.WayPoint extends Point2D.Double implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### id

            int id

        The ID of the waypoint.

Copyright © 2013. All rights reserved.