Lines Matching refs:Label

27 import java.awt.Label;
56 public LabelOperator(Label b) {
68 this((Label) cont.
95 this((Label) waitComponent(cont,
124 this((Label) waitComponent(cont,
142 * Searches Label in container.
147 * @return Label instance or null if component was not found.
149 public static Label findLabel(Container cont, ComponentChooser chooser, int index) {
150 return (Label) findComponent(cont, new LabelFinder(chooser), index);
154 * Searches Label in container.
158 * @return Label instance or null if component was not found.
160 public static Label findLabel(Container cont, ComponentChooser chooser) {
165 * Searches Label by text.
172 * @return Label instance or null if component was not found.
175 public static Label findLabel(Container cont, String text, boolean ce, boolean ccs, int index) {
180 * Searches Label by text.
186 * @return Label instance or null if component was not found.
189 public static Label findLabel(Container cont, String text, boolean ce, boolean ccs) {
194 * Waits Label in container.
199 * @return Label instance.
202 public static Label waitLabel(final Container cont, final ComponentChooser chooser, final int index) {
203 return (Label) waitComponent(cont, new LabelFinder(chooser), index);
207 * Waits Label in container.
211 * @return Label instance.
214 public static Label waitLabel(Container cont, ComponentChooser chooser) {
219 * Waits Label by text.
226 * @return Label instance.
230 public static Label waitLabel(Container cont, String text, boolean ce, boolean ccs, int index) {
235 * Waits Label by text.
241 * @return Label instance.
245 public static Label waitLabel(Container cont, String text, boolean ce, boolean ccs) {
252 if (((Label) getSource()).getText() != null) {
253 result.put(TEXT_DPROP, ((Label) getSource()).getText());
263 * Maps {@code Label.getAlignment()} through queue
269 return ((Label) getSource()).getAlignment();
275 * Maps {@code Label.getText()} through queue
281 return ((Label) getSource()).getText();
287 * Maps {@code Label.setAlignment(int)} through queue
293 ((Label) getSource()).setAlignment(i);
299 * Maps {@code Label.setText(String)} through queue
305 ((Label) getSource()).setText(string);
342 if (comp instanceof Label) {
343 if (((Label) comp).getText() != null) {
344 return (comparator.equals(((Label) comp).getText(),
353 return "Label with text \"" + label + "\"";
373 super(Label.class, sf);
380 super(Label.class);