예제 #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;
 }
예제 #2
0
 @Override
 public String getName() {
   return label.getText();
 }