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

Public Member Functions

 AlertLabel (String value)
 
 AlertLabel ()
 
void afterCompose ()
 

Static Public Attributes

static final int ALERT_WRONG = 1
 

Protected Member Functions

abstract int getType ()
 

Detailed Description

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

Definition at line 27 of file AlertLabel.java.

Constructor & Destructor Documentation

◆ AlertLabel() [1/2]

org.turro.zkoss.label.AlertLabel.AlertLabel ( String  value)

Definition at line 31 of file AlertLabel.java.

31  {
32  super(value);
33  }

◆ AlertLabel() [2/2]

org.turro.zkoss.label.AlertLabel.AlertLabel ( )

Definition at line 35 of file AlertLabel.java.

35  {
36  }

Member Function Documentation

◆ afterCompose()

void org.turro.zkoss.label.AlertLabel.afterCompose ( )

Definition at line 39 of file AlertLabel.java.

39  {
40  switch(getType()) {
41  case ALERT_WRONG:
42  setStyle("color:red");
43  break;
44  case ALERT_RIGHT:
45  setStyle("color:navy");
46  break;
47  }
48  }
Here is the call graph for this function:

◆ getType()

abstract int org.turro.zkoss.label.AlertLabel.getType ( )
abstractprotected
Here is the caller graph for this function:

Member Data Documentation

◆ ALERT_WRONG

final int org.turro.zkoss.label.AlertLabel.ALERT_WRONG = 1
static

Definition at line 29 of file AlertLabel.java.


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