Skip to content

Commit b744801

Browse files
- small changes to interface
1 parent 8c933f8 commit b744801

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/com/atech/graphics/dialogs/selector/SelectableInterface.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
9191
* @param width total width of table
9292
* @return width in int of column
9393
*/
94-
public int getColumnWidth(int num, int width);
94+
int getColumnWidth(int num, int width);
9595

9696

9797
/**
@@ -100,7 +100,7 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
100100
* @param text String we search for
101101
* @return true if object is correct, fakse if not.
102102
*/
103-
public abstract boolean isFound(String text);
103+
boolean isFound(String text);
104104

105105

106106
/**
@@ -109,7 +109,7 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
109109
* @param value we searching for
110110
* @return true if object is correct, fakse if not.
111111
*/
112-
public abstract boolean isFound(int value);
112+
boolean isFound(int value);
113113

114114

115115
/**
@@ -120,13 +120,13 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
120120
* @param state 0 = none selected, 1=from used, 2=till used, 3=both used
121121
* @return true if object is correct, false if not.
122122
*/
123-
public abstract boolean isFound(int from, int till, int state);
123+
boolean isFound(int from, int till, int state);
124124

125125

126126
/**
127127
* setSearchContext - set context for searching
128128
*/
129-
public abstract void setSearchContext();
129+
void setSearchContext();
130130

131131

132132
/**
@@ -139,7 +139,7 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
139139
*
140140
* @param cs ColumnSorter instance
141141
*/
142-
public abstract void setColumnSorter(ColumnSorter cs);
142+
void setColumnSorter(ColumnSorter cs);
143143

144144

145145
/**
@@ -180,6 +180,6 @@ public interface SelectableInterface extends Comparable<SelectableInterface>
180180
* @throws ClassCastException if the specified object's type prevents it
181181
* from being compared to this object.
182182
*/
183-
public abstract int compareTo(SelectableInterface o);
183+
int compareTo(SelectableInterface o);
184184

185185
}

src/com/atech/graphics/dialogs/selector/SelectableInterfaceV2.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,5 @@ public interface SelectableInterfaceV2 extends SelectableInterface
8282
*/
8383
String getToolTipValue(int column);
8484

85+
8586
}

0 commit comments

Comments
 (0)