/** * Saves the current enable/disable state of the given control and its * descendents in the returned object; the controls are all disabled. * * @param w * the control * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w) { return new ControlEnableState(w); }
/** * Saves the current enable/disable state of the given control and its * descendents in the returned object; the controls are all disabled. * * @param w * the control * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w) { return new ControlEnableState(w); }
/** * Saves the current enable/disable state of the given control and its * descendents in the returned object; the controls are all disabled. * * @param w * the control * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w) { return new ControlEnableState(w); }
/** * Saves the current enable/disable state of the given control and its * descendents in the returned object except for the given list of exception * cases; the controls that are saved are also disabled. * * @param w * the control * @param exceptions * the list of controls to not disable (element type: * <code>Control</code>) * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w, List<Control> exceptions) { return new ControlEnableState(w, exceptions); }
/** * Saves the current enable/disable state of the given control and its * descendents in the returned object except for the given list of exception * cases; the controls that are saved are also disabled. * * @param w * the control * @param exceptions * the list of controls to not disable (element type: * <code>Control</code>) * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w, List<Control> exceptions) { return new ControlEnableState(w, exceptions); }
/** * Saves the current enable/disable state of the given control and its * descendents in the returned object except for the given list of exception * cases; the controls that are saved are also disabled. * * @param w * the control * @param exceptions * the list of controls to not disable (element type: * <code>Control</code>) * @return an object capturing the enable/disable state */ public static ControlEnableState disable(Control w, List exceptions) { return new ControlEnableState(w, exceptions); }