ATM system implementation [9]--Transaction Query window [00 original]

Source: Internet
Author: User
Package cn.edu.ynu.sei.atm.client.ui;

Import Org.eclipse.swt.SWT;
Import Org.eclipse.swt.widgets.Button;
Import Org.eclipse.swt.widgets.Composite;
Import Org.eclipse.swt.widgets.Display;
Import Org.eclipse.swt.widgets.Label;
Import org.eclipse.swt.widgets.List;

/**
* History Transaction Display window
* @author 88250
*/
public class Transactionshowcomposite extends composite
{
/**
* Access to the record prompt label
*/
Private Label WDLBL = null;

/**
* Transfer record prompt label
*/
Private Label TRANSFERLBL = null;

/**
* Back button
*/
Private Button returnbtn = null;

/**
* Transfer Transaction List
*/
Private List transferlist = null;

/**
* Access to the transaction list
*/
Private List wdlist = null;

/**
* Create a History transaction query display window
* @param parent window Container
*/
Public Transactionshowcomposite (composite parent)
{
Super (parent, SWT. NONE);
Createcontents ();
}

/**
* Create a History transaction display window containing controls
*/
private void Createcontents ()
{
WDLBL = new Label (this, SWT. NONE);
Wdlbl.settext ("Access record");
Wdlbl.setbounds (7, 7, 55, 20);

TRANSFERLBL = new Label (this, SWT. NONE);
Transferlbl.settext ("transfer record");
Transferlbl.setbounds (13, 114, 55, 20);

RETURNBTN = new Button (this, SWT. NONE);
Returnbtn.setbackground (Display.getcurrent (). Getsystemcolor (SWT. Color_white));
Returnbtn.settext ("return");
Returnbtn.setbounds (238, 223, 40, 30);

Wdlist = new List (this, SWT.  V_scroll | Swt. BORDER);
Wdlist.setbounds (10, 27, 268, 83);

Transferlist = new List (this, SWT.  V_scroll | Swt. BORDER);
Transferlist.setbounds (13, 134, 265, 83);
}

/**
* Return the transfer record list
* @return Transfer History Transaction List
*/
Public List gettransferlist ()
{
return transferlist;
}

/**
* Return to access record list
* @return Access record list
*/
Public List getwdlist ()
{
return wdlist;
}

/**
* Get the return button
* @return Return button
*/
Public Button getreturnbtn ()
{
return returnbtn;
}

@Override
public void Dispose ()
{
Super. Dispose ();
}

@Override
protected void Checksubclass ()
{
Disable the check that prevents subclassing of SWT components
}

}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.