Added Hideable and Aligns
This commit is contained in:
@@ -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();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package mightypork.utils.math;
|
||||
|
||||
|
||||
/**
|
||||
* Horizontal align sides
|
||||
*
|
||||
* @author Ondřej Hruška (MightyPork)
|
||||
*/
|
||||
public enum AlignX
|
||||
{
|
||||
LEFT, CENTER, RIGHT;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package mightypork.utils.math;
|
||||
|
||||
|
||||
/**
|
||||
* Vertical align sides
|
||||
*
|
||||
* @author Ondřej Hruška (MightyPork)
|
||||
*/
|
||||
public enum AlignY
|
||||
{
|
||||
TOP, CENTER, BOTTOM;
|
||||
}
|
||||
Reference in New Issue
Block a user