fr.xephi.authme.gui
Class CustomButton

java.lang.Object
  extended by org.getspout.spoutapi.gui.GenericWidget
      extended by org.getspout.spoutapi.gui.GenericControl
          extended by org.getspout.spoutapi.gui.GenericButton
              extended by fr.xephi.authme.gui.CustomButton
All Implemented Interfaces:
org.getspout.spoutapi.gui.Button, org.getspout.spoutapi.gui.Control, org.getspout.spoutapi.gui.Label, org.getspout.spoutapi.gui.Widget

public class CustomButton
extends org.getspout.spoutapi.gui.GenericButton


Field Summary
 Clickable handleRef
           
 
Constructor Summary
CustomButton(Clickable c)
           
 
Method Summary
 void onButtonClick(org.getspout.spoutapi.event.screen.ButtonClickEvent event)
           
 CustomButton setMidPos(int x, int y)
           
 
Methods inherited from class org.getspout.spoutapi.gui.GenericButton
copy, doResize, getAlign, getDisabledText, getHoverColor, getScale, getText, getTextColor, getType, getVersion, hasShadow, isAuto, isResize, readData, setAlign, setAuto, setDisabledText, setHoverColor, setResize, setScale, setShadow, setText, setTextColor, writeData
 
Methods inherited from class org.getspout.spoutapi.gui.GenericControl
getColor, getDisabledColor, isEnabled, isFocus, setColor, setDisabledColor, setEnabled, setFocus
 
Methods inherited from class org.getspout.spoutapi.gui.GenericWidget
animate, animate, animate, animateStart, animateStop, autoDirty, equals, getAnchor, getContainer, getFixed, getHeight, getId, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPlugin, getPriority, getScreen, getTooltip, getWidth, getX, getY, hasContainer, hashCode, hasPosition, hasSize, isAutoDirty, isDirty, isFixed, isSpoutcraft, isVisible, onAnimate, onAnimateStop, onTick, restorePos, savePos, setAnchor, setAutoDirty, setContainer, setDirty, setFixed, setHeight, setMargin, setMargin, setMargin, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setPlugin, setPriority, setScreen, setScreen, setTooltip, setVisible, setWidth, setX, setY, shiftXPos, shiftYPos, updateSize
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.getspout.spoutapi.gui.Control
getColor, getDisabledColor, isEnabled, isFocus, setColor, setDisabledColor, setEnabled, setFocus
 
Methods inherited from interface org.getspout.spoutapi.gui.Widget
animate, animate, animate, animateStart, animateStop, autoDirty, getAnchor, getContainer, getFixed, getHeight, getId, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPlugin, getPriority, getScreen, getTooltip, getWidth, getX, getY, hasContainer, hasPosition, hasSize, isAutoDirty, isDirty, isFixed, isSpoutcraft, isVisible, onAnimate, onAnimateStop, onTick, restorePos, savePos, setAnchor, setAutoDirty, setContainer, setDirty, setFixed, setHeight, setMargin, setMargin, setMargin, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setPlugin, setPriority, setScreen, setScreen, setTooltip, setVisible, setWidth, setX, setY, shiftXPos, shiftYPos, updateSize
 

Field Detail

handleRef

public Clickable handleRef
Constructor Detail

CustomButton

public CustomButton(Clickable c)
Method Detail

onButtonClick

public void onButtonClick(org.getspout.spoutapi.event.screen.ButtonClickEvent event)
Specified by:
onButtonClick in interface org.getspout.spoutapi.gui.Button
Overrides:
onButtonClick in class org.getspout.spoutapi.gui.GenericButton

setMidPos

public CustomButton setMidPos(int x,
                              int y)