BrightSide Workbench Full Report + Source Code
org.turro.zkoss.label.TrueFalseIcon Class Reference
Inheritance diagram for org.turro.zkoss.label.TrueFalseIcon:
Collaboration diagram for org.turro.zkoss.label.TrueFalseIcon:

Public Member Functions

 TrueFalseIcon ()
 
 TrueFalseIcon (boolean value)
 
void setValue (boolean value)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file TrueFalseIcon.java.

Constructor & Destructor Documentation

◆ TrueFalseIcon() [1/2]

org.turro.zkoss.label.TrueFalseIcon.TrueFalseIcon ( )

Definition at line 29 of file TrueFalseIcon.java.

29  {
30  }

◆ TrueFalseIcon() [2/2]

org.turro.zkoss.label.TrueFalseIcon.TrueFalseIcon ( boolean  value)

Definition at line 32 of file TrueFalseIcon.java.

32  {
33  setValue(value);
34  }
Here is the call graph for this function:

Member Function Documentation

◆ setValue()

void org.turro.zkoss.label.TrueFalseIcon.setValue ( boolean  value)

Definition at line 36 of file TrueFalseIcon.java.

36  {
37  setIconSclass(value ? "z-icon-check" : "z-icon-times");
38  setStyle("cursor:none;color:" + (value ? "green" : "red"));
39  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: