com.aelitis.azureus.ui.swt.views.skin
Class StandardButtonsArea

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.views.skin.StandardButtonsArea

public abstract class StandardButtonsArea
extends java.lang.Object


Constructor Summary
StandardButtonsArea()
           
 
Method Summary
protected abstract  void clicked(int buttonValue)
           
 int getButtonCount()
           
 int getButtonPosFromVal(int buttonVal)
           
 org.eclipse.swt.widgets.Button[] getButtons()
           
 int getButtonVal(int buttonPos)
           
 void setButtonEnabled(int buttonVal, boolean enable)
           
 void setButtonIDs(java.lang.String[] buttons)
           
 void setButtonVals(java.lang.Integer[] buttonVals)
           
 void setDefaultButtonPos(int defaultOption)
           
 void swt_createButtons(org.eclipse.swt.widgets.Composite cBottomArea)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardButtonsArea

public StandardButtonsArea()
Method Detail

setButtonIDs

public void setButtonIDs(java.lang.String[] buttons)

setButtonVals

public void setButtonVals(java.lang.Integer[] buttonVals)

setDefaultButtonPos

public void setDefaultButtonPos(int defaultOption)

getButtonVal

public int getButtonVal(int buttonPos)

getButtonCount

public int getButtonCount()

getButtonPosFromVal

public int getButtonPosFromVal(int buttonVal)

swt_createButtons

public void swt_createButtons(org.eclipse.swt.widgets.Composite cBottomArea)

clicked

protected abstract void clicked(int buttonValue)

setButtonEnabled

public void setButtonEnabled(int buttonVal,
                             boolean enable)

getButtons

public org.eclipse.swt.widgets.Button[] getButtons()