IconClickable.java
537 Bytes
/*
* This file is part of LiteLoader.
* Copyright (C) 2012-16 Adam Mummery-Smith
* All Rights Reserved.
*/
package com.mumfrey.liteloader.util.render;
/**
* Icon with an onClicked handler
*
* @author Adam Mummery-Smith
*/
public interface IconClickable extends IconTextured
{
/**
* @param source Source of the event, usually the outermost gui screen
* @param container Container of this icon, the actual component hosting the
* icon
*/
public void onClicked(Object source, Object container);
}