Пример #1
0
 private void addSelectionListener() {
   searchList.onSelected(
       new Action.Listener() {
         public void actionPerformed(Action event) {
           followLink(useSelectedItem(getSelected()));
         }
       });
 }
Пример #2
0
 private T getSelected() {
   return searchList.getSelected();
 }
Пример #3
0
 @Override
 public XPeeredComponent layoutForPortrait() {
   return new XPeeredComponent(searchList.getComponent());
 }