use of com.storedobject.ui.ELabel in project SODevelopment by syampillai.
the class ManageJettyApplication method buildFields.
@Override
protected void buildFields() {
server = new TextField("Application");
setRequired(server);
addField(server);
ELabel warning = new ELabel("Your action may affect other live users!", "red");
warning.update();
addField(new CompoundField("Warning", warning));
}
use of com.storedobject.ui.ELabel in project SODevelopment by syampillai.
the class ChangePassword method buildFields.
@Override
protected void buildFields() {
String voice;
if (expired) {
voice = "You password has expired, please change it now!";
speak(voice);
add(new ELabel(voice, "red"));
}
TextField user;
addField(user = new TextField("User Name"));
user.setReadOnly(true);
user.setTabIndex(-1);
user.setValue(su.getId() + ":" + su.getLogin());
password = createPasswordField("Current Password");
if (!forgot) {
addField(password);
}
addField(newPassword = createPasswordField("New Password"));
addField(repeatNewPassword = createPasswordField("Repeat New Password"));
TextArea condition = new TextArea();
voice = PasswordPolicy.getForClass(SystemUser.class).describe();
condition.setValue(voice);
condition.setReadOnly(true);
condition.setTabIndex(-1);
add(condition);
speak(voice);
}
use of com.storedobject.ui.ELabel in project SODevelopment by syampillai.
the class StatementView method createHeader.
@Override
public Component createHeader() {
Div h = new Div();
ButtonLayout b = new ButtonLayout();
b.add(new ELabel("Account:"), accountField);
h.add(b);
b = new ButtonLayout();
b.add(new ELabel("From Date:"), dateField, forward, backward, begin, end, voucher);
b.addFiller();
b.add(openingBalance);
forward.setEnabled(false);
backward.setEnabled(false);
begin.setEnabled(false);
end.setEnabled(false);
voucher.setEnabled(false);
h.add(b);
return h;
}
use of com.storedobject.ui.ELabel in project SODevelopment by syampillai.
the class JournalVoucherView method createHeader.
@Override
public Component createHeader() {
ButtonLayout b = new ButtonLayout(new ELabel("Transaction:"), transaction);
b.addFiller();
b.add(new ELabel("Entries: "), count);
return b;
}
use of com.storedobject.ui.ELabel in project SODevelopment by syampillai.
the class ManageTomcatApplication method buildFields.
@Override
protected void buildFields() {
server = new TextField("Application");
server.setRequired(true);
addField(server);
action = new RadioField<>("Action", new String[] { "Reload", "Stop", "Start" });
addField(action);
warning = new ELabel("Your action may affect other live users!", "red");
warning.update();
addField(new CompoundField("Warning", warning));
}
Aggregations