Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

#)CrDrScreen. Copyright © 2012 All rights reserved. GPL3 Open Source Software License.
  package com.tourapp.tour.acctrec.screen.misc;
  import java.util.*;
CrDrScreen - Debit/Credit entry.
 public class CrDrScreen extends BookingArTrxScreen
Default constructor.
     public CrDrScreen()

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 CrDrScreen(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 "Debit/Credit entry";
Override this to open the other files in the query.
     public void openOtherRecords()
         new TrxStatus(this);
         new ArControl(this);
Add the screen fields. Override this to create (and return) the screen record for this recordowner.

The screen record.
     public Record addScreenRecord()
         return new CrDrScreenRecord(this);
Add all the screen listeners.
     public void addListeners()
         this.getMainRecord().getListener(UpdateArTrxAcctDetailHandler.classtrue).setEnabledListener(false);    // Since I will be doing the updating
        try {
        } catch (DBException e) {
Set up all the screen fields.
    public void setupSFields()
New to GrepCode? Check out our FAQ X