2013-12-27 23:59:59 +01:00
|
|
|
package appeng.client.gui.widgets;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* AEBaseGui controlled Tooltip Interface.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface ITooltip
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* returns the tooltip message.
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
String getMsg();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* x Location for the object that triggers the tooltip.
|
|
|
|
*
|
|
|
|
* @return xPosition
|
|
|
|
*/
|
|
|
|
int xPos();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* y Location for the object that triggers the tooltip.
|
|
|
|
*
|
|
|
|
* @return yPosition
|
|
|
|
*/
|
|
|
|
int yPos();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Width of the object that triggers the tooltip.
|
|
|
|
*
|
|
|
|
* @return width
|
|
|
|
*/
|
|
|
|
int getWidth();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Height for the object that triggers the tooltip.
|
|
|
|
*
|
|
|
|
* @return height
|
|
|
|
*/
|
|
|
|
int getHeight();
|
|
|
|
|
2014-01-05 09:41:03 +01:00
|
|
|
/**
|
|
|
|
* @return true if button being drawn
|
|
|
|
*/
|
|
|
|
boolean isVisible();
|
|
|
|
|
2013-12-27 23:59:59 +01:00
|
|
|
}
|