uk.ac.essex.common.gui.util
Interface ButtonPanel

All Known Implementing Classes:
ButtonPanelImpl

public interface ButtonPanel

A ButtonPanel is essentially a wrapper around a button and a panel to display when that button is clicked.

Copyright: Copyright (c) 2004
Company: MSX-International


Field Summary
static int BOTTOM
           
static int LEFT
           
static int RIGHT
           
static int TOP
           
 
Method Summary
 java.lang.String getButtonLabel()
           
 int getDividerLocation()
           
 java.lang.String getId()
           
 int getOrientation()
           
 javax.swing.JPanel getView()
           
 boolean isHidden()
           
 void setButtonLabel(java.lang.String buttonLabel)
           
 void setDividerLocation(int dividerLocation)
           
 void setHidden(boolean hidden)
           
 void setOrientation(int orientation)
           
 

Field Detail

LEFT

static final int LEFT
See Also:
Constant Field Values

RIGHT

static final int RIGHT
See Also:
Constant Field Values

TOP

static final int TOP
See Also:
Constant Field Values

BOTTOM

static final int BOTTOM
See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()

getButtonLabel

java.lang.String getButtonLabel()

setButtonLabel

void setButtonLabel(java.lang.String buttonLabel)

getView

javax.swing.JPanel getView()

getOrientation

int getOrientation()

setOrientation

void setOrientation(int orientation)

isHidden

boolean isHidden()

setHidden

void setHidden(boolean hidden)

getDividerLocation

int getDividerLocation()

setDividerLocation

void setDividerLocation(int dividerLocation)