private void setCursor(Cursor cursor) { FUTURE_LangUtil.setPrivateField("cursor", cursor, this, QuasimodeTool.class); }
private LayerViewPanel getPanel() { return (LayerViewPanel) FUTURE_LangUtil.getPrivateField("panel", this, QuasimodeTool.class); }
private void setCurrentKeyEvent(KeyEvent e) { FUTURE_LangUtil.setPrivateField("currentKeyEvent", e, this, QuasimodeTool.class); }
private CursorTool getTool(KeyEvent e) { return (CursorTool) FUTURE_LangUtil.invokePrivateMethod( "getTool", this, QuasimodeTool.class, new Object[] {e}, new Class[] {KeyEvent.class}); }
/** * You cannot overwrite a ModifierKeySpec using #add; you must explicitly remove it with this * method. */ public QuasimodeTool remove(ModifierKeySpec keySpec) { ((Map) FUTURE_LangUtil.getPrivateField("keySpecToToolMap", this, QuasimodeTool.class)) .remove(keySpec); return this; }
public FUTURE_QuasimodeTool(CursorTool defaultTool) { super(defaultTool); FUTURE_LangUtil.setPrivateField("keyListener", keyListener, this, QuasimodeTool.class); }