WarpPI/core/src/main/java/it/cavallium/warppi/gui/GraphicalElement.java

31 lines
596 B
Java

package it.cavallium.warppi.gui;
public interface GraphicalElement {
/**
* Recompute element's dimension parameters, like <strong>width</strong>,
* <strong>height</strong>, <strong>line</strong> or
* <strong>length</strong>.
*/
public void recomputeDimensions();
/**
*
* @return Width of the element.
*/
public int getWidth();
/**
*
* @return Height of the element.
*/
public int getHeight();
/**
*
* @return Position of the vertical alignment line of the element, relative
* to itself.
*/
public int getLine();
}