|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticy.gui.frame.IcyFrame
plugins.adufour.ezplug.EzDialog
plugins.adufour.ezplug.EzGUI
public class EzGUI
Nested Class Summary |
---|
Nested classes/interfaces inherited from class icy.gui.frame.IcyFrame |
---|
icy.gui.frame.IcyFrame.IcyFrameState |
Field Summary | |
---|---|
static int |
LOGO_HEIGHT
|
Fields inherited from class plugins.adufour.ezplug.EzDialog |
---|
currentParametersPath, FONT_SIZE, fullPackingTask, logoTitleColor |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EzGUI(EzPlug ezPlug)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addEzComponent(EzComponent component,
boolean isSingle)
|
void |
clickRun()
Simulates a click on the run button (useful to execute the plug-in right after initialization) |
VarDouble |
getProgressBarValue()
Returns the variable used by the interface's progress bar. |
void |
onClosed()
|
void |
setActionPanelVisible(boolean visible)
Sets whether the action panel (buttons and progress bar) are visible or not |
void |
setParametersIOVisible(boolean visible)
|
void |
setProgressBarMessage(java.lang.String string)
|
void |
setProgressBarValue(double value)
|
void |
setProgressBarVisible(boolean visible)
|
void |
setRunButtonEnabled(boolean runnable)
Sets the state of the "Run" button on the interface |
void |
setRunButtonText(java.lang.String text)
Sets the text of the run button |
void |
setStopButtonText(java.lang.String text)
Sets the text of the run button |
Methods inherited from class plugins.adufour.ezplug.EzDialog |
---|
addComponent, addEzComponent, close, createExternalFrame, createInternalFrame, foldStateChanged, hideDialog, paintTitlePane, repack, setHighlightedState, setOptimalLocation, showDialog, showDialog |
Methods inherited from class icy.gui.frame.IcyFrame |
---|
add, add, add, addComponentListener, addFrameListener, addKeyListener, addTo, addTo, addTo, addToMainDesktopPane, attach, canBeInternalized, center, detach, dispose, externalize, findIcyFrame, frameClosed, getAllFrames, getAllFrames, getBounds, getBoundsExternal, getBoundsInternal, getContentPane, getDefaultSystemMenu, getExternalFrame, getFrame, getHeight, getHeightExternal, getHeightInternal, getIcyExternalFrame, getIcyInternalFrame, getInternalFrame, getJMenuBar, getLocation, getLocationExternal, getLocationInternal, getMaximumSize, getMaximumSizeExternal, getMaximumSizeInternal, getMinimumSize, getMinimumSizeExternal, getMinimumSizeInternal, getMousePosition, getParent, getPreferredSize, getPreferredSizeExternal, getPreferredSizeInternal, getRootPane, getSize, getSizeExternal, getSizeInternal, getSwitchStateAction, getSystemMenuCallback, getTitle, getTitleBarVisible, getToolkit, getVisibleRect, getWidth, getWidthExternal, getWidthInternal, getX, getXExternal, getXInternal, getY, getYExternal, getYInternal, hasFocus, imageUpdate, internalFrameActivated, internalFrameClosed, internalFrameClosing, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened, internalize, isActive, isAlwaysOnTop, isClosable, isExternalized, isInternalized, isMaximized, isMaximizedExternal, isMaximizedInternal, isMinimized, isMinimizedExternal, isMinimizedInternal, isResizable, isSwitchStateItemVisible, isSyncProcess, isVisible, pack, propertyChange, remove, removeAll, removeComponentListener, removeFrameListener, removeFrom, removeFromMainDesktopPane, removeKeyListener, repaint, requestFocus, revalidate, setAlwaysOnTop, setBackground, setBorder, setBounds, setClosable, setContentPane, setDefaultCloseOperation, setFocusable, setForeground, setJMenuBar, setLayout, setLocation, setLocation, setLocationExternal, setLocationExternal, setLocationInternal, setLocationInternal, setMaximisable, setMaximized, setMaximizedExternal, setMaximizedInternal, setMaximumSize, setMaximumSizeExternal, setMaximumSizeInternal, setMinimized, setMinimizedExternal, setMinimizedInternal, setMinimumSize, setMinimumSizeExternal, setMinimumSizeInternal, setPreferredSize, setPreferredSizeExternal, setPreferredSizeInternal, setResizable, setSize, setSize, setSizeExternal, setSizeExternal, setSizeInternal, setSizeInternal, setSwitchStateItemVisible, setSyncProcess, setSystemMenuCallback, setTitle, setTitleBarVisible, setToolTipText, setVisible, stateChanged, switchState, toBack, toFront, updateSystemMenu, updateUI, validate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOGO_HEIGHT
Constructor Detail |
---|
public EzGUI(EzPlug ezPlug)
Method Detail |
---|
public void addEzComponent(EzComponent component, boolean isSingle)
addEzComponent
in class EzDialog
public void setRunButtonEnabled(boolean runnable)
public void setRunButtonText(java.lang.String text)
public void setStopButtonText(java.lang.String text)
public void setActionPanelVisible(boolean visible)
visible
- the new visibility state of the action panelpublic VarDouble getProgressBarValue()
public void setProgressBarValue(double value)
value
- A value between 0 and 1 (any other value will set an infinitely active state)public void setProgressBarVisible(boolean visible)
public void setParametersIOVisible(boolean visible)
public void clickRun()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void onClosed()
onClosed
in class EzDialog
public void setProgressBarMessage(java.lang.String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |