◆ addChoice()
void org.turro.crm.zul.sale.ActionTypeBox.addChoice |
( |
String |
choice, |
|
|
Command |
command |
|
) |
| |
|
protected |
Reimplemented from org.turro.zkoss.input.MultiLabelBox< E >.
Definition at line 89 of file ActionTypeBox.java.
91 types =
new HashSet<>();
93 if(types.add(choice)) {
94 if(command !=
null)
try {
95 command.execute(
null);
96 }
catch (Exception ex) {
97 Logger.getLogger(ActionTypeBox.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ changeChoice()
void org.turro.crm.zul.sale.ActionTypeBox.changeChoice |
( |
final String |
oldChoice, |
|
|
String |
choice, |
|
|
final Command |
command |
|
) |
| |
|
protected |
Reimplemented from org.turro.zkoss.input.MultiLabelBox< E >.
Definition at line 103 of file ActionTypeBox.java.
106 public Object execute(Context context) {
109 public Object execute(Context context) {
110 if(command !=
null)
try {
111 command.execute(
null);
112 }
catch (Exception ex) {
113 Logger.getLogger(ActionTypeBox.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
void addChoice(String choice, Command command)
void deleteChoice(String oldChoice, Command command)
◆ checkDelete()
boolean org.turro.crm.zul.sale.ActionTypeBox.checkDelete |
( |
| ) |
|
|
protected |
◆ checkEditable()
boolean org.turro.crm.zul.sale.ActionTypeBox.checkEditable |
( |
| ) |
|
|
protected |
◆ checkNew()
boolean org.turro.crm.zul.sale.ActionTypeBox.checkNew |
( |
| ) |
|
|
protected |
◆ checkVisible()
boolean org.turro.crm.zul.sale.ActionTypeBox.checkVisible |
( |
| ) |
|
|
protected |
◆ convertToString()
String org.turro.crm.zul.sale.ActionTypeBox.convertToString |
( |
String |
label | ) |
|
|
protected |
◆ deleteChoice()
void org.turro.crm.zul.sale.ActionTypeBox.deleteChoice |
( |
String |
oldChoice, |
|
|
Command |
command |
|
) |
| |
|
protected |
Reimplemented from org.turro.zkoss.input.MultiLabelBox< E >.
Definition at line 124 of file ActionTypeBox.java.
125 if(types.remove(oldChoice)) {
126 if(command !=
null)
try {
127 command.execute(
null);
128 }
catch (Exception ex) {
129 Logger.getLogger(ActionTypeBox.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ getCollection()
Collection<String> org.turro.crm.zul.sale.ActionTypeBox.getCollection |
( |
| ) |
|
|
protected |
◆ getLabelChoices()
Collection<String> org.turro.crm.zul.sale.ActionTypeBox.getLabelChoices |
( |
| ) |
|
|
protected |
◆ getNewImage()
String org.turro.crm.zul.sale.ActionTypeBox.getNewImage |
( |
| ) |
|
|
protected |
◆ getTypes()
Collection<String> org.turro.crm.zul.sale.ActionTypeBox.getTypes |
( |
| ) |
|
◆ setTypes()
void org.turro.crm.zul.sale.ActionTypeBox.setTypes |
( |
HashSet< String > |
types | ) |
|
The documentation for this class was generated from the following file: