Changeset 76 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/panels


Ignore:
Timestamp:
08/25/2017 12:22:28 PM (9 years ago)
Author:
bmcguffin
Message:

Added javadoc for several files.

Location:
trunk/src/scriptbuilder/gui/panels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/panels/IncidentPaletteAddPanel.java

    r64 r76  
    2222{ 
    2323 
     24    /** 
     25     * The script incident represented by this panel. 
     26     */ 
    2427    public ScriptIncident incident; 
    2528 
     
    2730 
    2831    /** 
    29      * Creates new form IncidentPaletteAddPanel 
     32     * Create new IncidentPaletteAddPanel from the form. 
     33     * 
     34     * @param inc the incident to be represented in this panel. 
     35     * @param frame the parent palette which holds this panel. 
    3036     */ 
    3137    public IncidentPaletteAddPanel(ScriptIncident inc, IncidentPaletteFrame frame) 
  • trunk/src/scriptbuilder/gui/panels/TimeStampPanel.java

    r54 r76  
    4141 
    4242    /** 
    43      * Update the length interval and the dimensions of the panel. NOTE: This 
    44      * method implementation is an exact duplication of the update method in 
    45      * panels.TimelineTickPanel. I'm not sure if it actually accomplishes 
    46      * anything here. 
     43     * Update the length interval and the dimensions of the panel. This version 
     44     * of the method is used in the main script builder window. 
    4745     * 
    4846     * @param script The simulation script model 
     
    8987 
    9088    /** 
    91      * Update the length interval and the dimensions of the panel. NOTE: This 
    92      * method implementation is an exact duplication of the update method in 
    93      * panels.TimelineTickPanel. I'm not sure if it actually accomplishes 
    94      * anything here. 
     89     * Update the length interval and the dimensions of the panel. This version 
     90     * of the method is used in the individual incident editor window. 
    9591     * 
    96      * @param script The simulation script model 
     92     * @param incident the incident which this window is editing. 
    9793     */ 
    9894    public void update(ScriptIncident incident) 
  • trunk/src/scriptbuilder/gui/panels/TimelineTickPanel.java

    r74 r76  
    3333    private boolean focused = false; 
    3434 
    35     public void setZoom(float zoom) 
    36     { 
    37         repaint(); 
    38     } 
    39  
     35//    public void setZoom(float zoom) 
     36//    { 
     37//        repaint(); 
     38//    } 
    4039    /** 
    4140     * Listener for the mouse. Is notified when the mouse enters, exits, or 
     
    9998    /** 
    10099     * Update the panel's dimensions based on number of events, zoom level, and 
    101      * which events are collapsed. 
     100     * which events are collapsed. The version of the method is used in the main 
     101     * script builder. 
    102102     * 
    103103     * @param script The main script model 
     
    136136    /** 
    137137     * Update the panel's dimensions based on number of events, zoom level, and 
    138      * which events are collapsed. 
    139      * 
    140      * @param script The main script model 
     138     * which events are collapsed. This version of the method is used in the 
     139     * individual incident editor. 
     140     * 
     141     * @param incident the incident being edited 
    141142     */ 
    142143    public void update(ScriptIncident incident) 
Note: See TracChangeset for help on using the changeset viewer.