|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
wt.clients.administrator.DomainBrowserDialog
This Dialog allows a user to select an Administrative Domain. It invokes
the com/ptc/core/domain/admin/client/impl classes through reflection so
no compile time dependencies exist. The toolbar provides a gateway to
Policy Administrator functions, so domains can be directly altered. Also
Domains can be moved through this interface via cut and paste.
Supported API: false
Extendable: false
Nested Class Summary | |
(package private) class |
DomainBrowserDialog.Action
|
(package private) class |
DomainBrowserDialog.Selection
|
Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
(package private) JButton |
btnCancel
|
(package private) JButton |
btnOk
|
private WTContext |
context
|
(package private) DomainTree |
domainTree
|
private static String |
HELP_RESOURCE
|
private HelpSystem |
helpSystem
|
protected Vector |
listeners
Vector of listeners who are notified when an object is
selected or when this dialog is cancelled. |
(package private) JPanel |
panBlank
|
private ResourceBundle |
RB
|
private static String |
RESOURCES
|
Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
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 | |
DomainBrowserDialog(Dialog parent,
boolean modal)
Constructor for this dialog. |
Method Summary | |
void |
addListener(DomainSelectionListener a_listener)
Method addListener adds the given
DomainSelectionListener to receive notification when this
dialog is closed. |
(package private) void |
btnCancel_Action(ActionEvent event)
|
(package private) void |
btnOk_Action(ActionEvent event)
|
void |
dispose()
|
AdminDomainRef |
getSelectedDomain()
|
private void |
localize()
|
private void |
notifySelectionListeners(DomainSelectionEvent an_event)
Method to notify all DomainSelectionListeners when a
DomainSelectionEvent has been generated. |
void |
removeListener(DomainSelectionListener a_listener)
Method removeListener removes the given
DomainSelectionListener from the list of listeners to
DomainSelectionEvent events. |
void |
setFeaturedDomain(AdminDomainRef domain)
|
Methods inherited from class java.awt.Dialog |
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private HelpSystem helpSystem
private WTContext context
private ResourceBundle RB
private static final String HELP_RESOURCE
private static final String RESOURCES
protected Vector listeners
Vector
of listeners who are notified when an object is
selected or when this dialog is cancelled.
DomainTree domainTree
JButton btnCancel
JButton btnOk
JPanel panBlank
Constructor Detail |
public DomainBrowserDialog(Dialog parent, boolean modal)
parent
- the Frame owner of the dialogmodal
- true, if the dialog should be displayed
as modal and block input to the parent
window
Method Detail |
public void setFeaturedDomain(AdminDomainRef domain)
public AdminDomainRef getSelectedDomain()
private void localize()
void btnOk_Action(ActionEvent event)
void btnCancel_Action(ActionEvent event)
public void addListener(DomainSelectionListener a_listener)
addListener
adds the given
DomainSelectionListener
to receive notification when this
dialog is closed.
a_listener
- the DomainSelectionListener
interested
in receiving notification when a domain has been selectedremoveListener(wt.clients.administrator.DomainSelectionListener)
,
DomainSelectionEvent
,
DomainSelectionListener
public void removeListener(DomainSelectionListener a_listener)
removeListener
removes the given
DomainSelectionListener
from the list of listeners to
DomainSelectionEvent
events. The given listener will
no longer receive notification when this dialog is closed. If the
given listener is not currently contained in the list, no action is
taken and the list is not modified.
a_listener
- the DomainSelectionListener
to be
removed from receiving notification when a domain has been selectedaddListener(wt.clients.administrator.DomainSelectionListener)
,
DomainSelectionEvent
,
DomainSelectionListener
private void notifySelectionListeners(DomainSelectionEvent an_event)
DomainSelectionListeners
when a
DomainSelectionEvent
has been generated.
an_event
- the DomainSelectionEvent
which the
DomainSelectionListeners
will be
notified ofaddListener(wt.clients.administrator.DomainSelectionListener)
,
removeListener(wt.clients.administrator.DomainSelectionListener)
,
DomainSelectionEvent
,
DomainSelectionListener
public void dispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |