Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

#)McoScreen. Copyright © 2012 All rights reserved. GPL3 Open Source Software License.
  package com.tourapp.tour.acctrec.screen.mco;
  import java.util.*;
McoScreen - MCOs.
 public class McoScreen extends Screen
Default constructor.
     public McoScreen()

record The main record for this screen.
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?
properties Addition properties to pass to the screen.
     public McoScreen(Record recordScreenLocation itsLocationBasePanel parentScreenConverter fieldConverterint iDisplayFieldDescMap<String,Objectproperties)
Initialize class fields.
     public void init(Record recordScreenLocation itsLocationBasePanel parentScreenConverter fieldConverterint iDisplayFieldDescMap<String,Objectproperties)
Get the screen display title.
     public String getTitle()
         return "MCOs";
Override this to open the main file.

You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)).

The new record.
     public Record openMainRecord()
         return new Mco(this);
Add all the screen listeners.
     public void addListeners()
Add button(s) to the toolbar.
     public void addToolbarButtons(ToolScreen toolScreen)
         BaseApplication application = (BaseApplication)this.getTask().getApplication();
Set up all the screen fields.
    public void setupSFields()
New to GrepCode? Check out our FAQ X