summaryrefslogtreecommitdiff
path: root/src/main/java/sevenUnitsGUI/View.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/sevenUnitsGUI/View.java')
-rw-r--r--src/main/java/sevenUnitsGUI/View.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/sevenUnitsGUI/View.java b/src/main/java/sevenUnitsGUI/View.java
index bb810ec..7dd0c44 100644
--- a/src/main/java/sevenUnitsGUI/View.java
+++ b/src/main/java/sevenUnitsGUI/View.java
@@ -38,28 +38,28 @@ public interface View {
static View createTabbedView() {
return new TabbedView();
}
-
+
/**
* @return the presenter associated with this view
* @since v0.4.0
* @since 2022-04-19
*/
Presenter getPresenter();
-
+
/**
* @return name of prefix currently being viewed
* @since v0.4.0
* @since 2022-04-10
*/
Optional<String> getViewedPrefixName();
-
+
/**
* @return name of unit currently being viewed
* @since v0.4.0
* @since 2022-04-10
*/
Optional<String> getViewedUnitName();
-
+
/**
* Sets the list of prefixes that are available to be viewed in a prefix
* viewer
@@ -69,7 +69,7 @@ public interface View {
* @since 2022-04-10
*/
void setViewablePrefixNames(Set<String> prefixNames);
-
+
/**
* Sets the list of units that are available to be viewed in a unit viewer
*
@@ -78,7 +78,7 @@ public interface View {
* @since 2022-04-10
*/
void setViewableUnitNames(Set<String> unitNames);
-
+
/**
* Shows an error message.
*
@@ -89,7 +89,7 @@ public interface View {
* @since 2021-12-15
*/
void showErrorMessage(String title, String message);
-
+
/**
* Shows information about a prefix to the user.
*
@@ -99,7 +99,7 @@ public interface View {
* @since 2022-04-10
*/
void showPrefix(NameSymbol name, String multiplierString);
-
+
/**
* Shows information about a unit to the user.
*