|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--planetj.gui.CMPanelJ | +--planetj.gui.CopyrightOkCancelPanelJ
This is the standard ok, cancel, help panel which allows for copyright information. It includes a CMProgressBar which can be used to display the status of tasks started from this panel. NOTE: If the progress bar is used, then the UseMultipleThreads property should be set to true.
Field Summary |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CopyrightOkCancelPanelJ()
Constructor |
|
CopyrightOkCancelPanelJ(boolean isDoubleBuffered)
CopyrightOkCancelPanelJ constructor comment. |
|
CopyrightOkCancelPanelJ(LayoutManager layout)
CopyrightOkCancelPanelJ constructor comment. |
|
CopyrightOkCancelPanelJ(LayoutManager layout,
boolean isDoubleBuffered)
CopyrightOkCancelPanelJ constructor comment. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Method to handle events for the ActionListener interface. |
void |
addCopyrightOkCancelPanelJListener(CopyrightOkCancelPanelJListener newListener)
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
boolean |
getCancelEnabled()
Method generated to support the promotion of the cancelEnabled attribute. |
String |
getCancelJBText()
Method generated to support the promotion of the cancelJBText attribute. |
String |
getCancelText()
Method generated to support the promotion of the cancelText attribute. |
boolean |
getCancelVisible()
Method generated to support the promotion of the cancelVisible attribute. |
String |
getCopyrightCompanyLabel()
Method generated to support the promotion of the copyrightCompanyLabel attribute. |
boolean |
getHelpEnabled()
Method generated to support the promotion of the helpEnabled attribute. |
String |
getHelpText()
Method generated to support the promotion of the helpText attribute. |
boolean |
getHelpVisibile()
Method generated to support the promotion of the helpVisibile attribute. |
boolean |
getOkEnabled()
Method generated to support the promotion of the okEnabled attribute. |
String |
getOkText()
Method generated to support the promotion of the okText attribute. |
boolean |
getOkVisible()
Method generated to support the promotion of the okVisible attribute. |
CMProgressBar |
getProgressBar()
Return the ProgressBar property value. |
boolean |
isRequestFocusOnOkButton()
Checks to see if focus is requested on the ok button when the window is opened Creation date: (1/27/00 11:03:46 AM) |
boolean |
isUseMultipleThreads()
Tests if a separate thread should be used to process the OK click. |
void |
keyPressed(KeyEvent e)
Method to handle events for the KeyListener interface. |
void |
keyReleased(KeyEvent e)
Method to handle events for the KeyListener interface. |
void |
keyTyped(KeyEvent e)
Method to handle events for the KeyListener interface. |
static void |
main(String[] args)
main entrypoint - starts the part when it is run as an application |
void |
OkClickedToTransferFocus()
Comment |
void |
okDoClick()
|
void |
okDoClick(int pressTime)
|
void |
propertyChange(PropertyChangeEvent evt)
Method to handle events for the PropertyChangeListener interface. |
void |
removeCopyrightOkCancelPanelJListener(CopyrightOkCancelPanelJListener newListener)
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
returnPressedOnOK(KeyEvent keyEvent)
Comment |
void |
setCancelEnabled(boolean arg1)
Method generated to support the promotion of the cancelEnabled attribute. |
void |
setCancelJBText(String arg1)
Method generated to support the promotion of the cancelJBText attribute. |
void |
setCancelText(String arg1)
Method generated to support the promotion of the cancelText attribute. |
void |
setCancelVisible(boolean arg1)
Method generated to support the promotion of the cancelVisible attribute. |
void |
setCopyrightCompanyLabel(String arg1)
Method generated to support the promotion of the copyrightCompanyLabel attribute. |
void |
setHelpEnabled(boolean arg1)
Method generated to support the promotion of the helpEnabled attribute. |
void |
setHelpText(String arg1)
Method generated to support the promotion of the helpText attribute. |
void |
setHelpVisibile(boolean arg1)
Method generated to support the promotion of the helpVisibile attribute. |
void |
setOkEnabled(boolean arg1)
Method generated to support the promotion of the okEnabled attribute. |
void |
setOkText(String arg1)
Method generated to support the promotion of the okText attribute. |
void |
setOkVisible(boolean arg1)
Method generated to support the promotion of the okVisible attribute. |
void |
setProgressValue(int value)
Sets the progress bar's value. |
void |
setRequestFocusOnOkButton(boolean newRequestFocusOnOkButton)
This will set the focus to the ok button when the window is opened Creation date: (1/27/00 11:03:46 AM) |
void |
setUseMultipleThreads(boolean newUseMultipleThreads)
Sets if a separate thread should be used to process the OK click. |
Methods inherited from class planetj.gui.CMPanelJ |
showBusyCursor, showDefaultCursor, showException, showException, showException |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CopyrightOkCancelPanelJ()
public CopyrightOkCancelPanelJ(LayoutManager layout)
layout
- java.awt.LayoutManagerpublic CopyrightOkCancelPanelJ(LayoutManager layout, boolean isDoubleBuffered)
layout
- java.awt.LayoutManagerisDoubleBuffered
- booleanpublic CopyrightOkCancelPanelJ(boolean isDoubleBuffered)
isDoubleBuffered
- booleanMethod Detail |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- java.awt.event.ActionEventpublic void addCopyrightOkCancelPanelJListener(CopyrightOkCancelPanelJListener newListener)
newListener
- com.cybra.guiBeans.CopyrightOkCancelPanelJListenerpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in class JComponent
listener
- java.beans.PropertyChangeListenerpublic void firePropertyChange(String propertyName, Object oldValue, Object newValue)
firePropertyChange
in class JComponent
propertyName
- java.lang.StringoldValue
- java.lang.ObjectnewValue
- java.lang.Objectpublic boolean getCancelEnabled()
public String getCancelJBText()
public String getCancelText()
public boolean getCancelVisible()
public String getCopyrightCompanyLabel()
public boolean getHelpEnabled()
public String getHelpText()
public boolean getHelpVisibile()
public boolean getOkEnabled()
public String getOkText()
public boolean getOkVisible()
public CMProgressBar getProgressBar()
public boolean isRequestFocusOnOkButton()
public boolean isUseMultipleThreads()
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
e
- java.awt.event.KeyEventpublic void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
e
- java.awt.event.KeyEventpublic void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
e
- java.awt.event.KeyEventpublic static void main(String[] args)
args
- java.lang.String[]public void OkClickedToTransferFocus()
public void okDoClick()
public void okDoClick(int pressTime)
pressTime
- intpublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
evt
- java.beans.PropertyChangeEventpublic void removeCopyrightOkCancelPanelJListener(CopyrightOkCancelPanelJListener newListener)
newListener
- com.cybra.guiBeans.CopyrightOkCancelPanelJListenerpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in class JComponent
listener
- java.beans.PropertyChangeListenerpublic void returnPressedOnOK(KeyEvent keyEvent)
public void setCancelEnabled(boolean arg1)
arg1
- booleanpublic void setCancelJBText(String arg1)
arg1
- java.lang.Stringpublic void setCancelText(String arg1)
arg1
- java.lang.Stringpublic void setCancelVisible(boolean arg1)
arg1
- booleanpublic void setCopyrightCompanyLabel(String arg1)
arg1
- java.lang.Stringpublic void setHelpEnabled(boolean arg1)
arg1
- booleanpublic void setHelpText(String arg1)
arg1
- java.lang.Stringpublic void setHelpVisibile(boolean arg1)
arg1
- booleanpublic void setOkEnabled(boolean arg1)
arg1
- booleanpublic void setOkText(String arg1)
arg1
- java.lang.Stringpublic void setOkVisible(boolean arg1)
arg1
- booleanpublic void setProgressValue(int value)
public void setRequestFocusOnOkButton(boolean newRequestFocusOnOkButton)
newRequestFocusOnOkButton
- booleanpublic void setUseMultipleThreads(boolean newUseMultipleThreads)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |