|
Großmarkt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sale.FormSheet | +--market.stdform.FSEditPersonData
This FormSheet class is used in multiple cases, for both editing customers and employees. The look of the FormSheet varies slightly depending on the type of person to be edited. Customers have a field with their company and their discount, employees have a field with their special occupation and their salary. The types of usage for this FormSheet are:
Field Summary | |
static int |
JTFC_CITY
|
static int |
JTFC_COMPANY
|
static int |
JTFC_DISCOUNT
|
static int |
JTFC_FIRSTNAME
|
static int |
JTFC_LOGIN
|
static int |
JTFC_NAME
|
static int |
JTFC_POSTCODE
|
static int |
JTFC_SALARY
|
static int |
JTFC_SECTION
|
static int |
JTFC_STREET
|
static int |
JTFC_TELEPHONE
|
Fields inherited from class sale.FormSheet |
BTNID_CANCEL, BTNID_OK, m_fCancelled |
Constructor Summary | |
FSEditPersonData(UPerson up,
int option)
Creates a new FSEditPersonData FormSheet |
Method Summary | |
static FSCheckable |
getCustomerProfileForCustomer(UCustomer customer)
Creation method for this FormSheet if it is to be used by customers. |
static FSCheckable |
getCustomerProfileForManager(UCustomer customer)
Creation method for this FormSheet if it is to be used by the manger to view customers' data. |
char[] |
getPassword()
|
String |
getQualification()
|
String |
getSalutation()
|
static FSCheckable |
getStafferProfile(UStaffer staffer)
Creation method for this FormSheet if it is to be used by the manger to view employees' data. |
boolean |
isPasswordSet()
Checks if a password has been set. |
boolean |
passwordsEqual()
Checks if password and confirmation match. |
Methods inherited from class sale.FormSheet |
addButton, addButton, addContentCreator, attach, attach, attach, buttonIterator, buttonIterator, cancel, close, detachDisplay, detachProcess, detachSalesPoint, fillBtnPanel, getButton, getButtonsLock, getCaption, getComponent, getComponentLock, getDisplay, getDisplayLock, getProcess, getSalesPoint, isCancelled, ok, removeAllButtons, removeButton, setCaption, setComponent, setWaitResponse, toString, waitResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int JTFC_FIRSTNAME
public static final int JTFC_NAME
public static final int JTFC_TELEPHONE
public static final int JTFC_STREET
public static final int JTFC_POSTCODE
public static final int JTFC_CITY
public static final int JTFC_LOGIN
public static final int JTFC_COMPANY
public static final int JTFC_SALARY
public static final int JTFC_SECTION
public static final int JTFC_DISCOUNT
Constructor Detail |
public FSEditPersonData(UPerson up, int option)
up
- the user to be edited, if null
the fields stay empty.option
- an option to specify the special look of the FormSheet.
Method Detail |
public boolean passwordsEqual()
true
if password and confirmation match, otherwise false
.public char[] getPassword()
public boolean isPasswordSet()
true
if a password has been set, otherwise false
.public String getSalutation()
public String getQualification()
public static FSCheckable getCustomerProfileForCustomer(UCustomer customer)
customer
- the customer to be displayed with the FormSheet.
FSCheckable
.public static FSCheckable getCustomerProfileForManager(UCustomer customer)
customer
- the customer to be displayed with the FormSheet.
FSCheckable
.public static FSCheckable getStafferProfile(UStaffer staffer)
staffer
- the employee to be displayed with the FormSheet.
FSCheckable
.
|
Großmarkt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |