Пример #1
0
 public com.codename1.ui.Label findLabel() {
   com.codename1.ui.Label cmp =
       (com.codename1.ui.Label) findByName("Label", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.ui.Label) findByName("Label", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #2
0
 public com.codename1.ui.Container findContainer() {
   com.codename1.ui.Container cmp =
       (com.codename1.ui.Container) findByName("Container", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.ui.Container) findByName("Container", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #3
0
 public com.codename1.ui.Button findButton() {
   com.codename1.ui.Button cmp =
       (com.codename1.ui.Button) findByName("Button", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.ui.Button) findByName("Button", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #4
0
 public com.codename1.ui.TextArea findTextArea() {
   com.codename1.ui.TextArea cmp =
       (com.codename1.ui.TextArea) findByName("TextArea", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.ui.TextArea) findByName("TextArea", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #5
0
 public com.codename1.ui.Tabs findTabs1() {
   com.codename1.ui.Tabs cmp =
       (com.codename1.ui.Tabs) findByName("Tabs1", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.ui.Tabs) findByName("Tabs1", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #6
0
 public com.codename1.maps.MapComponent findMapComponent() {
   com.codename1.maps.MapComponent cmp =
       (com.codename1.maps.MapComponent)
           findByName("MapComponent", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp = (com.codename1.maps.MapComponent) findByName("MapComponent", aboutToShowThisContainer);
   }
   return cmp;
 }
Пример #7
0
 public com.codename1.components.MultiButton findMultiButton3() {
   com.codename1.components.MultiButton cmp =
       (com.codename1.components.MultiButton)
           findByName("MultiButton3", Display.getInstance().getCurrent());
   if (cmp == null && aboutToShowThisContainer != null) {
     cmp =
         (com.codename1.components.MultiButton)
             findByName("MultiButton3", aboutToShowThisContainer);
   }
   return cmp;
 }