Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

:
#)McoSubmitToolbar. Copyright © 2012 tourapp.com. All rights reserved. GPL3 Open Source Software License.
 
 package com.tourapp.tour.acctrec.screen.mco;
 
 import java.util.*;
 
McoSubmitToolbar - Toolbar for MCO submissions.
public class McoSubmitToolbar extends ReportToolbar
    public static final String UPDATE_COMMAND = "Update Status";
    
Default constructor.
    public McoSubmitToolbar()
    {
        super();
    }
    
Constructor.

Parameters:
itsLocation The location of this component within the parent.
parentScreen The parent screen.
fieldConverter The field this screen field is linked to.
iDisplayFieldDesc Do I display the field desc?.
    public McoSubmitToolbar(ScreenLocation itsLocationBasePanel parentScreenConverter fieldConverterint iDisplayFieldDescMap<String,Objectproperties)
    {
        this();
        this.init(itsLocationparentScreenfieldConverteriDisplayFieldDescproperties);
    }
    
Initialize class fields.
    public void init(ScreenLocation itsLocationBasePanel parentScreenConverter fieldConverterint iDisplayFieldDescMap<String,Objectproperties)
    {
        super.init(itsLocationparentScreenfieldConverteriDisplayFieldDescproperties);
    }
    
Get the screen display title.
    public String getTitle()
    {
        return "Toolbar for MCO submissions";
    }
    
SetupSFields Method.
    public void setupSFields()
    {
        super.setupSFields();
        //if (this.isPrintReport())
        //  return;   // Don't display params if entered
        String strDesc = ;
        if (this.getTask() != null)
            strDesc = ((BaseApplication)this.getTask().getApplication()).getResources(.true).getString(strDesc);
    }
New to GrepCode? Check out our FAQ X