示例#1
0
 public DisplayPositionned getTitle() {
   if (source == null) {
     return new DisplayPositionned(
         Display.empty(), HorizontalAlignment.CENTER, VerticalAlignment.TOP);
   }
   return new DisplayPositionned(
       source.getTitle(), HorizontalAlignment.CENTER, VerticalAlignment.TOP);
 }
示例#2
0
 public Display getTitle() {
   if (source == null) {
     return Display.empty();
   }
   return source.getTitle();
 }