|
|||||||||
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 java.awt.Window java.awt.Dialog javax.swing.JDialog dev.gui.JCDialog com.jp.protection.gui.dialogs.LicenseErrorDialog
public class LicenseErrorDialog
The dialog intended to show errors occurred during the license reading and validation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class dev.gui.JCDialog |
---|
dev.gui.JCDialog.CloseController, dev.gui.JCDialog.TemporaryComponentHighlighter, dev.gui.JCDialog.WatermarkComponent |
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
javax.swing.JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
java.awt.Dialog.AccessibleAWTDialog |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) javax.swing.JButton |
btnOK
|
(package private) java.awt.FlowLayout |
flowLayout2
|
(package private) java.awt.FlowLayout |
flowLayout3
|
(package private) java.awt.GridBagLayout |
gridBagLayout1
|
(package private) javax.swing.JLabel |
lblContact
|
(package private) dev.gui.HyperlinkLabel |
lblContactValue
|
(package private) javax.swing.JLabel |
lblErrorText
|
(package private) javax.swing.JLabel |
lblImage
|
(package private) javax.swing.JLabel |
lblMessage
|
(package private) javax.swing.JLabel |
lblSite
|
(package private) dev.gui.HyperlinkLabel |
lblSiteValue
|
(package private) javax.swing.JLabel |
lblThankYou
|
(package private) javax.swing.JPanel |
pnlContact
|
(package private) javax.swing.JPanel |
pnlContent
|
(package private) javax.swing.JPanel |
pnlSite
|
(package private) static java.util.ResourceBundle |
res
|
Fields inherited from class dev.gui.JCDialog |
---|
fBeanContextChild, fCloseOnEscape, fDefaultFocusOwner, fInsetContentPane, fKeyEventDispatcher, fModalResult, fNeedSoftResizable, fSoftResizable, fWaitStateSupport, fWatermarkComponent, RESULT_CANCEL, RESULT_HELP, RESULT_NO, RESULT_NONE, RESULT_OK, RESULT_YES |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
LicenseErrorDialog()
Creates a new instance of the LicenseErrorDialog |
|
LicenseErrorDialog(java.awt.Component anOwner)
Creates a new instance of the LicenseErrorDialog |
Method Summary | |
---|---|
(package private) void |
btnOK_actionPerformed(java.awt.event.ActionEvent e)
|
static void |
execute(java.awt.Component anOwner,
java.lang.String aTitle,
java.lang.String anErrorText)
Creates and shows the dialog |
static void |
execute(LicenseErrorDialog aDialog)
Shows the dialog specified by parameter |
java.lang.String |
getContactPrompt()
Returns contact prompt displayed by the dialog |
java.lang.String |
getContactText()
Returns contact text displayed by the dialog |
java.lang.String |
getContactTooltipText()
Returns contact tooltip text displayed by the dialog |
java.lang.String |
getContactURL()
Returns contact URL displayed by the dialog |
java.lang.String |
getErrorText()
Returns error text displayed by the dialog |
java.lang.String |
getMessage()
Returns message displayed by the dialog |
java.lang.String |
getSiteText()
Returns site text displayed by the dialog |
java.lang.String |
getSiteTooltipText()
Returns site tooltip text displayed by the dialog |
java.lang.String |
getSiteURL()
Returns site URL displayed by the dialog |
void |
setContactPrompt(java.lang.String aContactPrompt)
Specifies contact prompt (e.g To obtain a valid license please contact...) to be displayed by the dialog |
void |
setContactText(java.lang.String aContactText)
Specifies contact text to be displayed by the dialog |
void |
setContactTooltipText(java.lang.String aContactTooltipText)
Specifies contact tooltip text to be displayed by the dialog |
void |
setContactURL(java.lang.String aContactURL)
Specifies contact URL to be displayed by the dialog |
void |
setErrorText(java.lang.String anErrorText)
Specifies error text to be displayed by the dialog |
void |
setMessage(java.lang.String aMessage)
Specifies message to be displayed by the dialog |
void |
setSiteText(java.lang.String aSiteText)
Specifies site text to be displayed by the dialog |
void |
setSiteTooltipText(java.lang.String aSiteTooltipText)
Specifies site tooltip text to be displayed by the dialog |
void |
setSiteURL(java.lang.String aSiteURL)
Specifies site URL to be displayed by the dialog |
void |
updateUI()
Calls the updateUI() method of a dialog's content pane |
Methods inherited from class dev.gui.JCDialog |
---|
canCancel, canClose, canUse, centerOnOwner, centerOnScreen, componentResized, dispose, doCancel, error, executeModal, executeModal, executeModal, getAdjustedSize, getBeanContext, getBeanContextProxy, getDefaultFocusOwner, getDialogMaximumSize, getDialogMinimumSize, getMessageTitle, getModalResult, getParentDialog, getParentFrame, getService, getService, getWatermarkComponent, hasVisiblePopups, initBeanContext, isCloseOnEscape, isCloseOnEscape, isInsetContentPane, isInUse, isSoftResizable, isWaitState, main, message, onAnyComponentKeyPressed, pack, prompt, prompt, releaseService, serviceRevoked, setBeanContext, setCloseOnEscape, setDefaultButton, setDefaultFocusOwner, setDialogMaximumSize, setDialogMinimumSize, setInsetContentPane, setModalResult, setResizable, setVisible, setWaitState, setWatermarkComponent, updateSizeToFitRange, useBegin, useEnd, warning, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class javax.swing.JDialog |
---|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setTitle, setUndecorated, show |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, toBack, toFront |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static java.util.ResourceBundle res
javax.swing.JPanel pnlContent
java.awt.GridBagLayout gridBagLayout1
javax.swing.JLabel lblImage
javax.swing.JLabel lblContact
dev.gui.HyperlinkLabel lblContactValue
javax.swing.JLabel lblSite
dev.gui.HyperlinkLabel lblSiteValue
javax.swing.JLabel lblThankYou
javax.swing.JButton btnOK
javax.swing.JPanel pnlContact
javax.swing.JPanel pnlSite
java.awt.FlowLayout flowLayout2
java.awt.FlowLayout flowLayout3
javax.swing.JLabel lblErrorText
javax.swing.JLabel lblMessage
Constructor Detail |
---|
public LicenseErrorDialog(java.awt.Component anOwner)
LicenseErrorDialog
anOwner
- owner for the dialogpublic LicenseErrorDialog()
LicenseErrorDialog
Method Detail |
---|
public void updateUI()
updateUI()
method of a dialog's content pane
void btnOK_actionPerformed(java.awt.event.ActionEvent e)
public java.lang.String getMessage()
public void setMessage(java.lang.String aMessage)
aMessage
- message to be displayed by the dialogpublic java.lang.String getErrorText()
public void setErrorText(java.lang.String anErrorText)
anErrorText
- error text to be displayed by the dialogpublic java.lang.String getContactPrompt()
public void setContactPrompt(java.lang.String aContactPrompt)
aContactPrompt
- contact text to be displayed by the dialogpublic java.lang.String getContactText()
public void setContactText(java.lang.String aContactText)
aContactText
- contact text to be displayed by the dialogpublic java.lang.String getContactTooltipText()
public void setContactTooltipText(java.lang.String aContactTooltipText)
aContactTooltipText
- contact tooltip text to be displayed by the dialogpublic java.lang.String getContactURL()
public void setContactURL(java.lang.String aContactURL)
aContactURL
- contact URL to be displayed by the dialogpublic java.lang.String getSiteText()
public void setSiteText(java.lang.String aSiteText)
aSiteText
- site text to be displayed by the dialogpublic java.lang.String getSiteTooltipText()
public void setSiteTooltipText(java.lang.String aSiteTooltipText)
aSiteTooltipText
- site tooltip text to be displayed by the dialogpublic java.lang.String getSiteURL()
public void setSiteURL(java.lang.String aSiteURL)
aSiteURL
- site URL to be displayed by the dialogpublic static void execute(LicenseErrorDialog aDialog)
aDialog
- dialog to showpublic static void execute(java.awt.Component anOwner, java.lang.String aTitle, java.lang.String anErrorText)
anOwner
- owner for the dialogaTitle
- title for the dialoganErrorText
- error text to show
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |