Exemplo n.º 1
0
 public DisplayColumnImpl(
     Object headerValue,
     Object label,
     Type type,
     String role,
     DisplayStyle style,
     ValueRenderer valueRenderer) {
   this.headerValue = headerValue;
   this.label = Label.from(label);
   this.type = type;
   this.role = role;
   this.style = style != null ? style : DisplayStyle.NO_STYLE;
   this.valueRenderer = valueRenderer;
 }
Exemplo n.º 2
0
 @Override
 public String getName() {
   return label.getText();
 }