diff options
Diffstat (limited to 'src/net/tuschhcm/routercontrol/ui/UserInterface.java')
-rw-r--r-- | src/net/tuschhcm/routercontrol/ui/UserInterface.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/src/net/tuschhcm/routercontrol/ui/UserInterface.java b/src/net/tuschhcm/routercontrol/ui/UserInterface.java index 33b62b2..4650288 100644 --- a/src/net/tuschhcm/routercontrol/ui/UserInterface.java +++ b/src/net/tuschhcm/routercontrol/ui/UserInterface.java @@ -4,29 +4,29 @@ package net.tuschhcm.routercontrol.ui; * Interface specification for the view.
*/
public interface UserInterface {
- /**
- * Tell the user interface about a preset.
- *
- * @param number Preset number
- * @param name Preset name
- */
- public void addPreset(final int number, final String name);
-
- /**
- * Set the action handler called when a preset is selected.
- * @param action
- */
- public void setPresetSelectionAction(final Action action);
-
- /**
- * @return the selected preset.
- */
- public int getSelectedPreset();
-
- /**
- * Handle toggling the control lock
- */
- public void setToggleControlLockAction(final Action action);
+ /**
+ * Tell the user interface about a preset.
+ *
+ * @param number Preset number
+ * @param name Preset name
+ */
+ public void addPreset(final int number, final String name);
+
+ /**
+ * Set the action handler called when a preset is selected.
+ * @param action
+ */
+ public void setPresetSelectionAction(final Action action);
+
+ /**
+ * @return the selected preset.
+ */
+ public int getSelectedPreset();
+
+ /**
+ * Handle toggling the control lock
+ */
+ public void setToggleControlLockAction(final Action action);
/**
* Get the status of the control lock.
@@ -39,16 +39,16 @@ public interface UserInterface { * @param enabled true to set the controls lock.
*/
public void setControlLockStatus(boolean enabled);
-
- /**
- * Start the user interface.
- */
- public void run();
-
- /**
- * Interface specification for an action handler.
- */
- public interface Action {
- public void onAction();
- }
+
+ /**
+ * Start the user interface.
+ */
+ public void run();
+
+ /**
+ * Interface specification for an action handler.
+ */
+ public interface Action {
+ public void onAction();
+ }
}
|