MCPcopy Index your code
hub / github.com/beanshell/beanshell / imageUpdate

Method imageUpdate

src/bsh/JThis.java:204–228  ·  view source on GitHub ↗
(java.awt.Image img, int infoflags,
                               int x, int y, int width, int height)

Source from the content-addressed store, hash-verified

202 event("vetoableChange", e ); }
203
204 public boolean imageUpdate(java.awt.Image img, int infoflags,
205 int x, int y, int width, int height) {
206
207 BshMethod method = null;
208 try {
209 method = namespace.getMethod( "imageUpdate",
210 new Class [] { null, null, null, null, null, null } );
211 } catch ( UtilEvalError e ) {/*squeltch*/ }
212
213 if(method != null)
214 try {
215 CallStack callstack = new CallStack( namespace );
216 method.invoke(
217 new Object[] {
218 img, new Primitive(infoflags), new Primitive(x),
219 new Primitive(y), new Primitive(width),
220 new Primitive(height) },
221 declaringInterpreter, callstack, null
222 );
223 } catch(EvalError e) {
224 declaringInterpreter.error(
225 "local event handler imageUpdate: method invocation error:" + e );
226 }
227 return true;
228 }
229
230}
231

Callers

nothing calls this directly

Calls 3

invokeMethod · 0.95
errorMethod · 0.65
getMethodMethod · 0.45

Tested by

no test coverage detected