public void manualMode() { registered = false; parent.unregisterMethod("draw", this); parent.unregisterMethod("pre", this); }
@Deprecated public void unregisterPost(Object o) { unregisterMethod("post", o); }
@Deprecated public void unregisterDispose(Object o) { unregisterMethod("dispose", o); }
@Deprecated public void unregisterPre(Object o) { unregisterMethod("pre", o); }
@Deprecated public void unregisterDraw(Object o) { unregisterMethod("draw", o); }
/** * Does not draw anything, it used only to check the window location. This * is called once then unregistered. */ public void post() { checkWindowLocation(); applet.unregisterMethod("post", this); }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); applet.registerMethod("mouseEvent", this); } else { applet.unregisterMethod("draw", this); applet.unregisterMethod("mouseEvent", this); } }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); applet.registerMethod("mouseEvent", this); } else { applet.unregisterMethod("draw", this); applet.unregisterMethod("mouseEvent", this); } }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); applet.registerMethod("mouseEvent", this); } else { applet.unregisterMethod("draw", this); applet.unregisterMethod("mouseEvent", this); } }
/** * Register or unregister reflection methods * @param active */ final void setActive(boolean active) { if (active) { this.app.registerMethod("pre", this); this.app.registerMethod("draw", this); this.app.registerMethod("post", this); this.app.registerMethod("mouseEvent", this); this.app.registerMethod("keyEvent", this); this.app.registerMethod("dispose", this); } else { this.app.unregisterMethod("pre", this); this.app.unregisterMethod("draw", this); this.app.unregisterMethod("post", this); this.app.unregisterMethod("mouseEvent", this); this.app.unregisterMethod("keyEvent", this); } }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); } else { applet.unregisterMethod("draw", this); } }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); } else { applet.unregisterMethod("draw", this); } }
/** * May or may not be required for use in Web Applet it works so why worry as * used by Jonathan Feinberg peasycam, and that works OK * * @param active boolean */ final void setActive(boolean active) { if (active != isActive) { isActive = active; if (active) { this.parent.registerMethod("dispose", this); this.parent.registerMethod("pre", this); this.parent.registerMethod("mouseEvent", this); this.parent.registerMethod("keyEvent", this); } else { this.parent.unregisterMethod("pre", this); this.parent.unregisterMethod("mouseEvent", this); this.parent.unregisterMethod("keyEvent", this); } } }
private void setActive(boolean active) { if (active) { applet.registerMethod("dispose", this); applet.registerMethod("draw", this); } else { applet.unregisterMethod("draw", this); } }