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

Public Member Functions

 TipCell (String label, int maxChars)
 
void setMaxChars (int maxChars)
 

Detailed Description

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

Definition at line 29 of file TipCell.java.

Constructor & Destructor Documentation

◆ TipCell()

org.turro.zkoss.label.TipCell.TipCell ( String  label,
int  maxChars 
)

Definition at line 31 of file TipCell.java.

31  {
32  super(label);
33  setMaxChars(maxChars);
34  }
void setMaxChars(int maxChars)
Definition: TipCell.java:36
Here is the call graph for this function:

Member Function Documentation

◆ setMaxChars()

void org.turro.zkoss.label.TipCell.setMaxChars ( int  maxChars)

Definition at line 36 of file TipCell.java.

36  {
37  setTooltiptext(getLabel());
38  setLabel(Strings.truncate(getLabel(), maxChars));
39  }
Here is the caller graph for this function:

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