Lines Matching refs:control
187 static void addKeyListener(Object control, XKeyListener listener) in addKeyListener() argument
190 control); in addKeyListener()
197 static void addFocusListener(Object control, XFocusListener listener) in addFocusListener() argument
200 control); in addFocusListener()
323 private void focusGained(XControl control) in focusGained() argument
328 …String name = (String) Helper.getUnoPropertyValue(UnoDialog2.getModel(control), PropertyNames.PROP… in focusGained()
332 lastFocusControl = control; in focusGained()
710 synchronized void rowDown(int guiRow, Object control)
717 Selection selection = getSelection(control);
733 setSelection(guiRow + (scroll ? 0 : 1), control, selection);
737 synchronized void rowUp(int guiRow, Object control)
744 Selection selection = getSelection(control);
754 setSelection(guiRow - (scroll ? 0 : 1), control, selection);
763 synchronized void cursorUp(int guiRow, Object control)
784 focus(getControl(upperRow, control));
793 synchronized void cursorDown(int guiRow, Object control)
816 focus(getControl(lowerRow, control));
873 private Selection getSelection(Object control)
875 return UnoRuntime.queryInterface(XTextComponent.class, control).getSelection();
895 Object control = getControl(cr, eventSource);
896 UnoRuntime.queryInterface(XWindow.class, control).setFocus();
897 UnoRuntime.queryInterface(XTextComponent.class, control).setSelection(s);
930 private Object getControl(ControlRow cr, Object control)
932 int column = getColumn(control);
941 private int getColumn(Object control)
943 …String name = (String) Helper.getUnoPropertyValue(UnoDialog2.getModel(control), PropertyNames.PROP…
1262 private int getColumn(Object control)
1264 if (control == textbox)
1268 else if (control == combobox)
1272 else if (control == timebox)
1276 else if (control == label)