Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

:
#)ArTrxAgentScreenRecord. Copyright © 2012 tourapp.com. All rights reserved. GPL3 Open Source Software License.
 
 package com.tourapp.tour.acctrec.screen.display;
 
 import java.util.*;
 
ArTrxAgentScreenRecord - Fields for Agency display screen.
public class ArTrxAgentScreenRecord extends ScreenRecord
    private static final long serialVersionUID = 1L;
    public static final String PROFILE_ID = "ProfileID";
    public static final String BALANCE = "Balance";
    
Default constructor.
    public ArTrxAgentScreenRecord()
    {
        super();
    }
    
Constructor.
    public ArTrxAgentScreenRecord(RecordOwner screen)
    {
        this();
        this.init(screen);
    }
    
Initialize class fields.
    public void init(RecordOwner screen)
    {
        super.init(screen);
    }
    public static final String AR_TRX_AGENT_SCREEN_RECORD_FILE = null;  // Screen field
    
Add this field in the Record's field sequence.
    public BaseField setupField(int iFieldSeq)
    {
        BaseField field = null;
        if (iFieldSeq == 0)
            field = new ProfileField(this.nullnull);
        if (iFieldSeq == 1)
            field = new CurrencyField(this.nullnull);
        if (field == null)
            field = super.setupField(iFieldSeq);
        return field;
    }
New to GrepCode? Check out our FAQ X