mirror of
https://github.com/macocianradu/javaGUItoolkit.git
synced 2026-03-18 21:50:04 +00:00
fixed rest of animations
fixed drop downs and side dropdowns made isInside public to let element decide finished input text box
This commit is contained in:
@@ -12,27 +12,19 @@ public abstract class MenuItem extends Visual {
|
||||
|
||||
public abstract void setOpenedSize(Integer width, Integer height);
|
||||
|
||||
public abstract int getClosedWidth();
|
||||
|
||||
public abstract int getClosedHeight();
|
||||
|
||||
public abstract int getOpenedWidth();
|
||||
|
||||
public abstract int getOpenedHeight();
|
||||
|
||||
public void setClosedWidth(Integer width) {
|
||||
setClosedSize(width, getClosedHeight());
|
||||
setClosedSize(width, getClosedSize().y);
|
||||
}
|
||||
|
||||
public void setClosedHeight(Integer height) {
|
||||
setClosedSize(getClosedWidth(), height);
|
||||
setClosedSize(getClosedSize().x, height);
|
||||
}
|
||||
|
||||
public void setOpenedWidth(Integer width) {
|
||||
setOpenedSize(width, getOpenedHeight());
|
||||
setOpenedSize(width, getOpenedSize().y);
|
||||
}
|
||||
|
||||
public void setOpenedHeight(Integer height) {
|
||||
setOpenedSize(getOpenedWidth(), height);
|
||||
setOpenedSize(getOpenedSize().x, height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user