|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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 | +--org.opennms.bb.eui.common.components.AboutDialog
AboutDialog allows the user to display a standard dialog with the following information - product logo - product name with revision - copyright info and company logo - user and user company
all of which are configurable with 'set' methods
Inner classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Inner classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Inner classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.AWTTreeLock |
Field Summary | |
(package private) JLabel |
companyLabel
|
(package private) JLabel |
copyrightLabel
|
(package private) JLabel |
productIcon
|
(package private) JLabel |
productLabel
|
(package private) JLabel |
userLabel
|
(package private) JLabel |
websiteLabel
|
Fields inherited from class javax.swing.JDialog |
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, nativeActive, OPENED, ownedWindowList, state, warningString, weakThis, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, needsPaint, printing, printingThreads |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
AboutDialog(JFrame frame,
String title)
Creates the standard bluebird about dialog |
|
AboutDialog(JFrame frame,
String title,
ImageIcon productIcon,
String product,
String copyright,
ImageIcon companyIcon,
String website,
String user,
String userCompany)
Creates a about dialog with the information passed in |
Method Summary | |
protected void |
buildDialog()
Layout the dialog components |
void |
setCopyright(String copyright)
Sets the copyright to a string |
void |
setCopyright(String copyright,
ImageIcon companyIcon)
Sets the copyright string and company icon |
void |
setProduct(String product)
Sets the product - Queries the system to find the OS and adds that to the product info Note: The input should contain both the product name and its revision |
void |
setProductIcon(Icon product)
Sets the product icon |
void |
setUser(String user,
String company)
Sets the user and user company |
void |
setWebsite(String website)
Sets the website |
Methods inherited from class java.awt.Dialog |
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
JLabel productIcon
JLabel productLabel
JLabel copyrightLabel
JLabel websiteLabel
JLabel userLabel
JLabel companyLabel
Constructor Detail |
public AboutDialog(JFrame frame, String title)
public AboutDialog(JFrame frame, String title, ImageIcon productIcon, String product, String copyright, ImageIcon companyIcon, String website, String user, String userCompany)
Method Detail |
protected void buildDialog()
public void setProductIcon(Icon product)
public void setProduct(String product)
Sets the product - Queries the system to find the OS and adds that to the product info Note: The input should contain both the product name and its revision
public void setCopyright(String copyright)
public void setCopyright(String copyright, ImageIcon companyIcon)
public void setWebsite(String website)
public void setUser(String user, String company)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |