Lines Matching refs:awt
24 import sun.awt.*;
25 import com.sun.star.awt.*;
32 private java.awt.Frame maFrame;
53 public java.awt.Frame getJavaFrame() in getJavaFrame()
66 case( java.awt.event.KeyEvent.VK_NUMPAD0 ): in implGetUNOKeyCode()
67 case( java.awt.event.KeyEvent.VK_0 ): nRet = com.sun.star.awt.Key.NUM0; break; in implGetUNOKeyCode()
68 case( java.awt.event.KeyEvent.VK_NUMPAD1 ): in implGetUNOKeyCode()
69 case( java.awt.event.KeyEvent.VK_1 ): nRet = com.sun.star.awt.Key.NUM1; break; in implGetUNOKeyCode()
70 case( java.awt.event.KeyEvent.VK_NUMPAD2 ): in implGetUNOKeyCode()
71 case( java.awt.event.KeyEvent.VK_2 ): nRet = com.sun.star.awt.Key.NUM2; break; in implGetUNOKeyCode()
72 case( java.awt.event.KeyEvent.VK_NUMPAD3 ): in implGetUNOKeyCode()
73 case( java.awt.event.KeyEvent.VK_3 ): nRet = com.sun.star.awt.Key.NUM3; break; in implGetUNOKeyCode()
74 case( java.awt.event.KeyEvent.VK_NUMPAD4 ): in implGetUNOKeyCode()
75 case( java.awt.event.KeyEvent.VK_4 ): nRet = com.sun.star.awt.Key.NUM4; break; in implGetUNOKeyCode()
76 case( java.awt.event.KeyEvent.VK_NUMPAD5 ): in implGetUNOKeyCode()
77 case( java.awt.event.KeyEvent.VK_5 ): nRet = com.sun.star.awt.Key.NUM5; break; in implGetUNOKeyCode()
78 case( java.awt.event.KeyEvent.VK_NUMPAD6 ): in implGetUNOKeyCode()
79 case( java.awt.event.KeyEvent.VK_6 ): nRet = com.sun.star.awt.Key.NUM6; break; in implGetUNOKeyCode()
80 case( java.awt.event.KeyEvent.VK_NUMPAD7 ): in implGetUNOKeyCode()
81 case( java.awt.event.KeyEvent.VK_7 ): nRet = com.sun.star.awt.Key.NUM7; break; in implGetUNOKeyCode()
82 case( java.awt.event.KeyEvent.VK_NUMPAD8 ): in implGetUNOKeyCode()
83 case( java.awt.event.KeyEvent.VK_8 ): nRet = com.sun.star.awt.Key.NUM8; break; in implGetUNOKeyCode()
84 case( java.awt.event.KeyEvent.VK_NUMPAD9 ): in implGetUNOKeyCode()
85 case( java.awt.event.KeyEvent.VK_9 ): nRet = com.sun.star.awt.Key.NUM9; break; in implGetUNOKeyCode()
87 case( java.awt.event.KeyEvent.VK_A ): nRet = com.sun.star.awt.Key.A; break; in implGetUNOKeyCode()
88 case( java.awt.event.KeyEvent.VK_B ): nRet = com.sun.star.awt.Key.B; break; in implGetUNOKeyCode()
89 case( java.awt.event.KeyEvent.VK_C ): nRet = com.sun.star.awt.Key.C; break; in implGetUNOKeyCode()
90 case( java.awt.event.KeyEvent.VK_D ): nRet = com.sun.star.awt.Key.D; break; in implGetUNOKeyCode()
91 case( java.awt.event.KeyEvent.VK_E ): nRet = com.sun.star.awt.Key.E; break; in implGetUNOKeyCode()
92 case( java.awt.event.KeyEvent.VK_F ): nRet = com.sun.star.awt.Key.F; break; in implGetUNOKeyCode()
93 case( java.awt.event.KeyEvent.VK_G ): nRet = com.sun.star.awt.Key.G; break; in implGetUNOKeyCode()
94 case( java.awt.event.KeyEvent.VK_H ): nRet = com.sun.star.awt.Key.H; break; in implGetUNOKeyCode()
95 case( java.awt.event.KeyEvent.VK_I ): nRet = com.sun.star.awt.Key.I; break; in implGetUNOKeyCode()
96 case( java.awt.event.KeyEvent.VK_J ): nRet = com.sun.star.awt.Key.J; break; in implGetUNOKeyCode()
97 case( java.awt.event.KeyEvent.VK_K ): nRet = com.sun.star.awt.Key.K; break; in implGetUNOKeyCode()
98 case( java.awt.event.KeyEvent.VK_L ): nRet = com.sun.star.awt.Key.L; break; in implGetUNOKeyCode()
99 case( java.awt.event.KeyEvent.VK_M ): nRet = com.sun.star.awt.Key.M; break; in implGetUNOKeyCode()
100 case( java.awt.event.KeyEvent.VK_N ): nRet = com.sun.star.awt.Key.N; break; in implGetUNOKeyCode()
101 case( java.awt.event.KeyEvent.VK_O ): nRet = com.sun.star.awt.Key.O; break; in implGetUNOKeyCode()
102 case( java.awt.event.KeyEvent.VK_P ): nRet = com.sun.star.awt.Key.P; break; in implGetUNOKeyCode()
103 case( java.awt.event.KeyEvent.VK_Q ): nRet = com.sun.star.awt.Key.Q; break; in implGetUNOKeyCode()
104 case( java.awt.event.KeyEvent.VK_R ): nRet = com.sun.star.awt.Key.R; break; in implGetUNOKeyCode()
105 case( java.awt.event.KeyEvent.VK_S ): nRet = com.sun.star.awt.Key.S; break; in implGetUNOKeyCode()
106 case( java.awt.event.KeyEvent.VK_T ): nRet = com.sun.star.awt.Key.T; break; in implGetUNOKeyCode()
107 case( java.awt.event.KeyEvent.VK_U ): nRet = com.sun.star.awt.Key.U; break; in implGetUNOKeyCode()
108 case( java.awt.event.KeyEvent.VK_V ): nRet = com.sun.star.awt.Key.V; break; in implGetUNOKeyCode()
109 case( java.awt.event.KeyEvent.VK_W ): nRet = com.sun.star.awt.Key.W; break; in implGetUNOKeyCode()
110 case( java.awt.event.KeyEvent.VK_X ): nRet = com.sun.star.awt.Key.X; break; in implGetUNOKeyCode()
111 case( java.awt.event.KeyEvent.VK_Y ): nRet = com.sun.star.awt.Key.Y; break; in implGetUNOKeyCode()
112 case( java.awt.event.KeyEvent.VK_Z ): nRet = com.sun.star.awt.Key.Z; break; in implGetUNOKeyCode()
114 case( java.awt.event.KeyEvent.VK_F1 ): nRet = com.sun.star.awt.Key.F1; break; in implGetUNOKeyCode()
115 case( java.awt.event.KeyEvent.VK_F2 ): nRet = com.sun.star.awt.Key.F2; break; in implGetUNOKeyCode()
116 case( java.awt.event.KeyEvent.VK_F3 ): nRet = com.sun.star.awt.Key.F3; break; in implGetUNOKeyCode()
117 case( java.awt.event.KeyEvent.VK_F4 ): nRet = com.sun.star.awt.Key.F4; break; in implGetUNOKeyCode()
118 case( java.awt.event.KeyEvent.VK_F5 ): nRet = com.sun.star.awt.Key.F5; break; in implGetUNOKeyCode()
119 case( java.awt.event.KeyEvent.VK_F6 ): nRet = com.sun.star.awt.Key.F6; break; in implGetUNOKeyCode()
120 case( java.awt.event.KeyEvent.VK_F7 ): nRet = com.sun.star.awt.Key.F7; break; in implGetUNOKeyCode()
121 case( java.awt.event.KeyEvent.VK_F8 ): nRet = com.sun.star.awt.Key.F8; break; in implGetUNOKeyCode()
122 case( java.awt.event.KeyEvent.VK_F9 ): nRet = com.sun.star.awt.Key.F9; break; in implGetUNOKeyCode()
123 case( java.awt.event.KeyEvent.VK_F10 ): nRet = com.sun.star.awt.Key.F10; break; in implGetUNOKeyCode()
124 case( java.awt.event.KeyEvent.VK_F11 ): nRet = com.sun.star.awt.Key.F11; break; in implGetUNOKeyCode()
125 case( java.awt.event.KeyEvent.VK_F12 ): nRet = com.sun.star.awt.Key.F12; break; in implGetUNOKeyCode()
126 case( java.awt.event.KeyEvent.VK_F13 ): nRet = com.sun.star.awt.Key.F13; break; in implGetUNOKeyCode()
127 case( java.awt.event.KeyEvent.VK_F14 ): nRet = com.sun.star.awt.Key.F14; break; in implGetUNOKeyCode()
128 case( java.awt.event.KeyEvent.VK_F15 ): nRet = com.sun.star.awt.Key.F15; break; in implGetUNOKeyCode()
129 case( java.awt.event.KeyEvent.VK_F16 ): nRet = com.sun.star.awt.Key.F16; break; in implGetUNOKeyCode()
130 case( java.awt.event.KeyEvent.VK_F17 ): nRet = com.sun.star.awt.Key.F17; break; in implGetUNOKeyCode()
131 case( java.awt.event.KeyEvent.VK_F18 ): nRet = com.sun.star.awt.Key.F18; break; in implGetUNOKeyCode()
132 case( java.awt.event.KeyEvent.VK_F19 ): nRet = com.sun.star.awt.Key.F19; break; in implGetUNOKeyCode()
133 case( java.awt.event.KeyEvent.VK_F20 ): nRet = com.sun.star.awt.Key.F20; break; in implGetUNOKeyCode()
134 case( java.awt.event.KeyEvent.VK_F21 ): nRet = com.sun.star.awt.Key.F21; break; in implGetUNOKeyCode()
135 case( java.awt.event.KeyEvent.VK_F22 ): nRet = com.sun.star.awt.Key.F22; break; in implGetUNOKeyCode()
136 case( java.awt.event.KeyEvent.VK_F23 ): nRet = com.sun.star.awt.Key.F23; break; in implGetUNOKeyCode()
137 case( java.awt.event.KeyEvent.VK_F24 ): nRet = com.sun.star.awt.Key.F24; break; in implGetUNOKeyCode()
139 case( java.awt.event.KeyEvent.VK_UP ): nRet = com.sun.star.awt.Key.UP; break; in implGetUNOKeyCode()
140 case( java.awt.event.KeyEvent.VK_DOWN): nRet = com.sun.star.awt.Key.DOWN; break; in implGetUNOKeyCode()
141 case( java.awt.event.KeyEvent.VK_LEFT ): nRet = com.sun.star.awt.Key.LEFT; break; in implGetUNOKeyCode()
142 … case( java.awt.event.KeyEvent.VK_RIGHT ): nRet = com.sun.star.awt.Key.RIGHT; break; in implGetUNOKeyCode()
144 case( java.awt.event.KeyEvent.VK_HOME ): nRet = com.sun.star.awt.Key.HOME; break; in implGetUNOKeyCode()
145 case( java.awt.event.KeyEvent.VK_END ): nRet = com.sun.star.awt.Key.END; break; in implGetUNOKeyCode()
147 … case( java.awt.event.KeyEvent.VK_PAGE_UP ): nRet = com.sun.star.awt.Key.PAGEUP; break; in implGetUNOKeyCode()
148 … case( java.awt.event.KeyEvent.VK_PAGE_DOWN ): nRet = com.sun.star.awt.Key.PAGEDOWN; break; in implGetUNOKeyCode()
150 … case( java.awt.event.KeyEvent.VK_ENTER ): nRet = com.sun.star.awt.Key.RETURN; break; in implGetUNOKeyCode()
151 … case( java.awt.event.KeyEvent.VK_ESCAPE ): nRet = com.sun.star.awt.Key.ESCAPE; break; in implGetUNOKeyCode()
153 case( java.awt.event.KeyEvent.VK_TAB ): nRet = com.sun.star.awt.Key.TAB; break; in implGetUNOKeyCode()
154 … case( java.awt.event.KeyEvent.VK_BACK_SPACE ): nRet = com.sun.star.awt.Key.BACKSPACE; break; in implGetUNOKeyCode()
155 case( java.awt.event.KeyEvent.VK_SPACE ): nRet = com.sun.star.awt.Key.SPACE; break; in implGetUNOKeyCode()
156 case( java.awt.event.KeyEvent.VK_INSERT): nRet = com.sun.star.awt.Key.INSERT; break; in implGetUNOKeyCode()
157 case( java.awt.event.KeyEvent.VK_DELETE): nRet = com.sun.star.awt.Key.DELETE; break; in implGetUNOKeyCode()
158 case( java.awt.event.KeyEvent.VK_ADD ): nRet = com.sun.star.awt.Key.ADD; break; in implGetUNOKeyCode()
159 … case( java.awt.event.KeyEvent.VK_SUBTRACT ): nRet = com.sun.star.awt.Key.SUBTRACT; break; in implGetUNOKeyCode()
160 … case( java.awt.event.KeyEvent.VK_MULTIPLY ): nRet = com.sun.star.awt.Key.MULTIPLY; break; in implGetUNOKeyCode()
161 case( java.awt.event.KeyEvent.VK_DIVIDE ): nRet = com.sun.star.awt.Key.DIVIDE; break; in implGetUNOKeyCode()
162 case( java.awt.event.KeyEvent.VK_DECIMAL ): nRet = com.sun.star.awt.Key.POINT; break; in implGetUNOKeyCode()
164 case( java.awt.event.KeyEvent.VK_LESS ): nRet = com.sun.star.awt.Key.LESS; break; in implGetUNOKeyCode()
165 case( java.awt.event.KeyEvent.VK_GREATER ): nRet = com.sun.star.awt.Key.GREATER; break; in implGetUNOKeyCode()
166 case( java.awt.event.KeyEvent.VK_EQUALS ): nRet = com.sun.star.awt.Key.EQUAL; break; in implGetUNOKeyCode()
188 public void fireKeyEvent( java.awt.event.KeyEvent aEvt ) in fireKeyEvent()
194 if( java.awt.event.KeyEvent.KEY_PRESSED == aEvt.getID() ) in fireKeyEvent()
198 case( java.awt.event.KeyEvent.VK_SHIFT ): mbShift = true; break; in fireKeyEvent()
199 case( java.awt.event.KeyEvent.VK_CONTROL ): mbMod1 = true; break; in fireKeyEvent()
200 case( java.awt.event.KeyEvent.VK_ALT ): mbMod2 = true; break; in fireKeyEvent()
209 else if( java.awt.event.KeyEvent.KEY_RELEASED == aEvt.getID() ) in fireKeyEvent()
213 case( java.awt.event.KeyEvent.VK_SHIFT ): mbShift = false; break; in fireKeyEvent()
214 case( java.awt.event.KeyEvent.VK_CONTROL ): mbMod1 = false; break; in fireKeyEvent()
215 case( java.awt.event.KeyEvent.VK_ALT ): mbMod2 = false; break; in fireKeyEvent()
232 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.SHIFT; in fireKeyEvent()
235 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.MOD1; in fireKeyEvent()
238 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.MOD2; in fireKeyEvent()
242 aUNOEvt.KeyFunc = com.sun.star.awt.KeyFunction.DONTKNOW; in fireKeyEvent()
259 public void fireMouseEvent( java.awt.event.MouseEvent aEvt ) in fireMouseEvent()
271 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.SHIFT; in fireMouseEvent()
274 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.MOD1; in fireMouseEvent()
277 aUNOEvt.Modifiers |= com.sun.star.awt.KeyModifier.MOD2; in fireMouseEvent()
281 aUNOEvt.Buttons |= com.sun.star.awt.MouseButton.LEFT; in fireMouseEvent()
284 aUNOEvt.Buttons |= com.sun.star.awt.MouseButton.MIDDLE; in fireMouseEvent()
287 aUNOEvt.Buttons |= com.sun.star.awt.MouseButton.RIGHT; in fireMouseEvent()
290 if( java.awt.event.MouseEvent.MOUSE_PRESSED == aEvt.getID() ) in fireMouseEvent()
299 else if( java.awt.event.MouseEvent.MOUSE_RELEASED == aEvt.getID() ) in fireMouseEvent()
308 else if( java.awt.event.MouseEvent.MOUSE_DRAGGED == aEvt.getID() ) in fireMouseEvent()
317 else if( java.awt.event.MouseEvent.MOUSE_MOVED == aEvt.getID() ) in fireMouseEvent()
330 public void fireFocusEvent( java.awt.event.FocusEvent aEvt ) in fireFocusEvent()
332 if( java.awt.event.FocusEvent.FOCUS_GAINED == aEvt.getID() ) in fireFocusEvent()
367 public com.sun.star.awt.Rectangle getPosSize( ) in getPosSize()
369 java.awt.Rectangle bounds = maFrame.getBounds(); in getPosSize()
370 return new com.sun.star.awt.Rectangle( bounds.x, bounds.y, bounds.width, bounds.height ); in getPosSize()