Lines Matching refs:target

791 				Object target = null;
799 } else if (target == null) {
800 target = cells[i];
804 if (source != null && target != null) {
809 if (source != null && target != null) {
812 .getShortestPath(graph, source, target,
972 protected Object target;
982 public PromptPropertyAction(Object target, String message) {
983 this(target, message, message);
989 public PromptPropertyAction(Object target, String message,
991 this.target = target;
1002 Method getter = target.getClass().getMethod(
1004 Object current = getter.invoke(target);
1008 Method setter = target.getClass().getMethod(
1016 setter.invoke(target, Integer.parseInt(value));
1043 public TogglePropertyItem(Object target, String name, String fieldname) {
1044 this(target, name, fieldname, false);
1050 public TogglePropertyItem(Object target, String name, String fieldname,
1052 this(target, name, fieldname, refresh, null);
1058 public TogglePropertyItem(final Object target, String name,
1076 execute(target, fieldname, refresh);
1091 update(target, fieldname);
1097 if (target instanceof mxGraphComponent) {
1098 ((mxGraphComponent) target)
1100 } else if (target instanceof mxGraph) {
1101 ((mxGraph) target)
1105 update(target, fieldname);
1111 public void update(Object target, String fieldname) {
1113 Method getter = target.getClass().getMethod("is" + fieldname);
1114 Object current = getter.invoke(target);
1127 public void execute(Object target, String fieldname, boolean refresh) {
1129 Method getter = target.getClass().getMethod("is" + fieldname);
1130 Method setter = target.getClass().getMethod("set" + fieldname,
1133 Object current = getter.invoke(target);
1137 setter.invoke(target, value);
1144 if (target instanceof mxGraph) {
1145 graph = (mxGraph) target;
1146 } else if (target instanceof mxGraphComponent) {
1147 graph = ((mxGraphComponent) target).getGraph();