Added Hideable and Aligns

This commit is contained in:
2014-07-26 23:17:31 +02:00
parent 3d772fa403
commit 60b4876533
3 changed files with 39 additions and 0 deletions
@@ -0,0 +1,15 @@
package mightypork.utils.interfaces;
/**
* Element that can be hidden or visible
*
* @author Ondřej Hruška (MightyPork)
*/
public interface Hideable {
void setVisible(boolean yes);
boolean isVisible();
}
+12
View File
@@ -0,0 +1,12 @@
package mightypork.utils.math;
/**
* Horizontal align sides
*
* @author Ondřej Hruška (MightyPork)
*/
public enum AlignX
{
LEFT, CENTER, RIGHT;
}
+12
View File
@@ -0,0 +1,12 @@
package mightypork.utils.math;
/**
* Vertical align sides
*
* @author Ondřej Hruška (MightyPork)
*/
public enum AlignY
{
TOP, CENTER, BOTTOM;
}