1   
2   
3   
4   package org.sirius.client.web.classes;
5   
6   import java.rmi.RemoteException;
7   
8   
9   
10  
11  
12  public class WebPopupList extends WebControl {
13  
14      
15  
16  
17  
18      public WebPopupList(final Frame parent, final String locator) {
19          super(parent, locator);
20      }
21  
22      
23  
24  
25  
26  
27      public WebPopupList(final Frame parent, final String parentElement,
28              final String locator) {
29          super(parent, parentElement, locator);
30      }
31  
32      
33  
34  
35  
36      public final void deselectAll() throws RemoteException {
37          this.client().core().deselectAll(getParentElement(), getLocator());
38      }
39  
40      
41  
42  
43  
44  
45      public final void deselectByIndex(final int arg3) throws RemoteException {
46          this.client()
47              .core()
48              .deselectByIndex(getParentElement(), getLocator(), arg3);
49      }
50  
51      
52  
53  
54  
55  
56      public final void deselectByValue(final String arg3)
57              throws RemoteException {
58          this.client()
59              .core()
60              .deselectByValue(getParentElement(), getLocator(), arg3);
61      }
62  
63      
64  
65  
66  
67  
68      public final void deselectByVisibleText(final String arg3)
69              throws RemoteException {
70          this.client().core()
71                  .deselectByVisibleText(getParentElement(), getLocator(), arg3);
72      }
73  
74      
75  
76  
77  
78  
79      public final String[] getAllOptions() throws RemoteException {
80          return this.client()
81                  .core()
82                  .getAllOptions(getParentElement(), getLocator());
83      }
84  
85      
86  
87  
88  
89  
90      public final String[] getAllSelectedOptions() throws RemoteException {
91          return this.client().core()
92                  .getAllSelectedOptions(getParentElement(), getLocator());
93      }
94  
95      
96  
97  
98  
99  
100     public final String getFirstSelectedOption() throws RemoteException {
101         return this.client().core()
102                 .getFirstSelectedOption(getParentElement(), getLocator());
103     }
104 
105     
106 
107 
108 
109 
110     public final boolean isMulti() throws RemoteException {
111         return this.client()
112                 .core()
113                 .isMultiple(getParentElement(), getLocator());
114     }
115 
116     
117 
118 
119 
120 
121     public final void selectByIndex(final int arg3) throws RemoteException {
122         this.client()
123             .core()
124             .selectByIndex(getParentElement(), getLocator(), arg3);
125     }
126 
127     
128 
129 
130 
131 
132     public final void selectByValue(final String arg3) throws RemoteException {
133         this.client()
134             .core()
135             .selectByValue(
136                     getParentElement(),
137                     getLocator(),
138                     arg3);
139     }
140 
141     
142 
143 
144 
145 
146     public final void selectByVisibleText(final String arg3)
147             throws RemoteException {
148         this.client()
149             .core()
150             .selectByVisibleText(
151                     getParentElement(),
152                     getLocator(),
153                     arg3);
154     }
155 }