BrightSide Workbench Full Report + Source Code
org.turro.zkoss.label.Labels Class Reference

Public Member Functions

Labels width (String width)
 
Labels height (String height)
 
Labels hflex (String flex)
 
Labels vflex (String flex)
 
Labels style (String style)
 
Labels maxlength (int maxlength)
 
Labels tooltiptext (String text)
 
Labels soft ()
 
Labels tiny ()
 
Labels caption ()
 
Labels pre ()
 
Labels cssClass (String cssClass)
 
Labels multiline ()
 
Labels max (int maxChars)
 
Labels value (String text)
 
Labels focus ()
 
Label get ()
 
Label get (Consumer< Label > onGet)
 

Static Public Member Functions

static Labels text (String text)
 

Detailed Description

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

Definition at line 29 of file Labels.java.

Member Function Documentation

◆ caption()

Labels org.turro.zkoss.label.Labels.caption ( )

Definition at line 74 of file Labels.java.

74  {
75  return cssClass("captionLabel");
76  }
Labels cssClass(String cssClass)
Definition: Labels.java:83
Here is the call graph for this function:

◆ cssClass()

Labels org.turro.zkoss.label.Labels.cssClass ( String  cssClass)

Definition at line 83 of file Labels.java.

83  {
84  label.setSclass(cssClass);
85  return this;
86  }
Here is the caller graph for this function:

◆ focus()

Labels org.turro.zkoss.label.Labels.focus ( )

Definition at line 103 of file Labels.java.

103  {
104  label.setFocus(true);
105  return this;
106  }

◆ get() [1/2]

Label org.turro.zkoss.label.Labels.get ( )

Definition at line 108 of file Labels.java.

108  {
109  return label;
110  }
Here is the caller graph for this function:

◆ get() [2/2]

Label org.turro.zkoss.label.Labels.get ( Consumer< Label >  onGet)

Definition at line 112 of file Labels.java.

112  {
113  onGet.accept(label);
114  return label;
115  }

◆ height()

Labels org.turro.zkoss.label.Labels.height ( String  height)

Definition at line 36 of file Labels.java.

36  {
37  label.setHeight(height);
38  return this;
39  }
Labels height(String height)
Definition: Labels.java:36

◆ hflex()

Labels org.turro.zkoss.label.Labels.hflex ( String  flex)

Definition at line 41 of file Labels.java.

41  {
42  label.setHflex(flex);
43  return this;
44  }

◆ max()

Labels org.turro.zkoss.label.Labels.max ( int  maxChars)

Definition at line 93 of file Labels.java.

93  {
94  return tooltiptext(label.getValue())
95  .value(Strings.truncateAndWarn(label.getValue(), maxChars));
96  }
Labels value(String text)
Definition: Labels.java:98
Labels tooltiptext(String text)
Definition: Labels.java:61
Here is the call graph for this function:

◆ maxlength()

Labels org.turro.zkoss.label.Labels.maxlength ( int  maxlength)

Definition at line 56 of file Labels.java.

56  {
57  label.setMaxlength(maxlength);
58  return this;
59  }
Labels maxlength(int maxlength)
Definition: Labels.java:56

◆ multiline()

Labels org.turro.zkoss.label.Labels.multiline ( )

Definition at line 88 of file Labels.java.

88  {
89  label.setMultiline(true);
90  return this;
91  }

◆ pre()

Labels org.turro.zkoss.label.Labels.pre ( )

Definition at line 78 of file Labels.java.

78  {
79  label.setPre(true);
80  return cssClass("preLabel");
81  }
Here is the call graph for this function:

◆ soft()

Labels org.turro.zkoss.label.Labels.soft ( )

Definition at line 66 of file Labels.java.

66  {
67  return cssClass("softLabel");
68  }
Here is the call graph for this function:

◆ style()

Labels org.turro.zkoss.label.Labels.style ( String  style)

Definition at line 51 of file Labels.java.

51  {
52  label.setStyle(style);
53  return this;
54  }
Labels style(String style)
Definition: Labels.java:51
Here is the caller graph for this function:

◆ text()

static Labels org.turro.zkoss.label.Labels.text ( String  text)
static

Definition at line 119 of file Labels.java.

119  {
120  return new Labels(text);
121  }
static Labels text(String text)
Definition: Labels.java:119
Here is the caller graph for this function:

◆ tiny()

Labels org.turro.zkoss.label.Labels.tiny ( )

Definition at line 70 of file Labels.java.

70  {
71  return cssClass("tinyLabel");
72  }
Here is the call graph for this function:

◆ tooltiptext()

Labels org.turro.zkoss.label.Labels.tooltiptext ( String  text)

Definition at line 61 of file Labels.java.

61  {
62  label.setTooltiptext(text);
63  return this;
64  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ value()

Labels org.turro.zkoss.label.Labels.value ( String  text)

Definition at line 98 of file Labels.java.

98  {
99  label.setValue(text);
100  return this;
101  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vflex()

Labels org.turro.zkoss.label.Labels.vflex ( String  flex)

Definition at line 46 of file Labels.java.

46  {
47  label.setVflex(flex);
48  return this;
49  }

◆ width()

Labels org.turro.zkoss.label.Labels.width ( String  width)

Definition at line 31 of file Labels.java.

31  {
32  label.setWidth(width);
33  return this;
34  }
Labels width(String width)
Definition: Labels.java:31

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