|
|||||||||||
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.Frame
wt.clients.effectivity.ConfigItemFrame
This class is used to create, update, and view a ConfigurationItem.
It uses the AttributesForm to set & display the attributes of
a ConfigurationItem. Navigation is from the WindchillExplorer.
Supported API: false.
Extendable: false.
Nested Class Summary | |
(package private) class |
ConfigItemFrame.SearchAction
|
(package private) class |
ConfigItemFrame.SymAction
|
(package private) class |
ConfigItemFrame.SymWindow
|
Nested classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
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) AttributesForm |
attributesForm1
|
(package private) Panel |
buttonPanel
|
(package private) Button |
closeButton
|
private ConfigurationItem |
configItem
|
protected ThreadGroup |
contextGroup
|
static int |
CREATE
|
(package private) boolean |
fComponentsAdjusted
|
(package private) Button |
helpButton
|
(package private) HelpContext |
helpContext
|
(package private) HelpSystem |
helpSystem
|
(package private) symantec.itools.awt.shape.HorizontalLine |
horizontalLine1
|
protected int |
mode
|
(package private) Button |
okButton
|
private Applet |
parentApplet
|
private Frame |
parentFrame
|
protected ProductSolution |
productSolution
|
(package private) Label |
productSolutionLabel
|
(package private) TextField |
productSolutionTextField
|
protected static WTProperties |
properties
|
private static ResourceBundle |
resource
|
private static String |
RESOURCE
|
(package private) Button |
searchButton
|
(package private) symantec.itools.awt.StatusBar |
statusBar1
|
static int |
UPDATE
|
static int |
VIEW
|
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ConfigItemFrame()
This is the no arg constructor for the configItemFrame. |
|
ConfigItemFrame(int mode)
This constructor can be used to set the mode of the frame. |
|
ConfigItemFrame(int mode,
ConfigurationItem item)
This constructor should be used for Updating or viewing the configItem passed in. |
|
ConfigItemFrame(String title)
This constructor can be used to set the title of the frame. |
Method Summary | |
void |
addHelpListener(PropertyChangeListener pcl)
Method addHelpListener adds the given listener to be notified
of PropertyChangeEvents in the help system. |
void |
addNotify()
Called when the componets are painted and resizes them for localization. |
protected void |
addProductSolutionSupport()
Determines whether or not support for adding a Product Solution should be displayed in this GUI. |
(package private) void |
closeButton_ActionPerformed(ActionEvent event)
|
private void |
dispatchRefresh(Object source,
int action,
Object obj)
|
private String |
display(String key,
Object[] params)
Returns the localized string to be displayed to the user given a key. |
protected void |
displayException(Exception e)
Displays the exception to the user and prints the stack trace. |
void |
dispose()
Overrides Frames dispose() to make sure the InputContext is correctly dealt with and avoid an IllegalStateException. |
(package private) void |
Frame1_WindowClosing(WindowEvent event)
|
private WTContext |
getContext()
Retrieves the WTContext associated with this dialog. |
HelpContext |
getHelpContext()
This is the public getter for the HelpContext being used for the online help. |
HelpSystem |
getHelpSystem()
This is the public getter for the HelpSystem being used for the online help. |
int |
getMode()
This is the public getter for the current mode of the frame. |
ConfigurationItem |
getObject()
This is the public getter to get the object that is being updated or viewed. |
Applet |
getParentApplet()
This is the public getter for the parent applet that constructed this instance. |
Frame |
getParentFrame()
This is the public getter for the parent frame that constructed this instance. |
(package private) Frame |
getTopLevelParent(Component component)
This method gets the top level parent of the Component passed in and
returns it if it is a Frame . |
(package private) void |
helpButton_ActionPerformed(ActionEvent event)
|
private void |
initHelpSystem()
|
(package private) void |
initializeHelp()
|
private void |
initResources()
Initializes resource bundles used by this class. |
protected void |
localize()
Sets the labels of displayed fields to the localized string. |
static void |
main(String[] args)
Constructs an instance of this frame Supported API: false. |
(package private) PropertyChangeListener |
newHelpListener()
|
(package private) void |
okButton_ActionPerformed(ActionEvent event)
|
protected void |
processOkCommand()
|
void |
removeHelpListener(PropertyChangeListener pcl)
Method removeHelpListener removes a listener which was being
notified of PropertyChangeEvents in the help system. |
(package private) void |
searchButton_ActionPerformed(ActionEvent event)
|
protected void |
searchForProductSolution()
|
private void |
setContext(boolean context_on)
|
protected void |
setEdits()
Sets which fields are editable in the AttributesForm depending on the mode. |
void |
setMode(int mode)
This is the public setter for the mode. |
void |
setObject(ConfigurationItem item)
This is the public setter to set the object to be updated or viewed. |
void |
setParentApplet(Applet applet)
This is the public setter for the parent applet that constructed this instance. |
void |
setParentFrame(Frame frame)
This is the public setter for the parent frame that constructed this instance. |
void |
setProductSolution(ProductSolution solution)
|
void |
setVisible(boolean b)
Shows or hides the component depending on the boolean flag b. |
void |
show()
Sets the focus to the first editable field when the frame is shown. |
Methods inherited from class java.awt.Frame |
finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public static final int CREATE
public static final int UPDATE
public static final int VIEW
protected int mode
protected ProductSolution productSolution
private static ResourceBundle resource
private static String RESOURCE
protected static WTProperties properties
HelpSystem helpSystem
HelpContext helpContext
protected ThreadGroup contextGroup
private Frame parentFrame
private Applet parentApplet
private ConfigurationItem configItem
boolean fComponentsAdjusted
AttributesForm attributesForm1
Panel buttonPanel
Button okButton
Button closeButton
Button helpButton
symantec.itools.awt.shape.HorizontalLine horizontalLine1
symantec.itools.awt.StatusBar statusBar1
Button searchButton
Label productSolutionLabel
TextField productSolutionTextField
Constructor Detail |
public ConfigItemFrame()
public ConfigItemFrame(String title)
public ConfigItemFrame(int mode)
public ConfigItemFrame(int mode, ConfigurationItem item)
Method Detail |
public void setMode(int mode)
public int getMode()
public void setParentApplet(Applet applet)
public Applet getParentApplet()
public void setParentFrame(Frame frame)
public Frame getParentFrame()
public void setObject(ConfigurationItem item)
public ConfigurationItem getObject()
public void setVisible(boolean b)
b
- if true, show the component; otherwise, hide the component.Component.isVisible()
protected void localize()
protected void setEdits()
public static void main(String[] args)
public void addNotify()
void Frame1_WindowClosing(WindowEvent event)
void okButton_ActionPerformed(ActionEvent event)
protected void processOkCommand()
void closeButton_ActionPerformed(ActionEvent event)
void helpButton_ActionPerformed(ActionEvent event)
private WTContext getContext()
WTContext
associated with this dialog.
If the parentApplet
has been set, the
parentApplet
is used to retrieve the appropriate
context.
WTContext
associate with this dialogsetParentApplet(java.applet.Applet)
,
WTContext
private void setContext(boolean context_on)
private void initResources()
private String display(String key, Object[] params)
key
- The string that represents the key in the
EffectivityRB
.
void initializeHelp()
PropertyChangeListener newHelpListener()
private void initHelpSystem()
public HelpSystem getHelpSystem()
public HelpContext getHelpContext()
public void addHelpListener(PropertyChangeListener pcl)
addHelpListener
adds the given listener to be notified
of PropertyChangeEvents
in the help system. Tool description
PropertyChangeEvents
are generated when the user mouses over
the buttons and list of ContentItems
in this panel. The
given listener will be notified of those events.
pcl
- The PropertyChangeListener
to be notified of
PropertyChangeEvents
generated by the help system.removeHelpListener(java.beans.PropertyChangeListener)
,
HelpSystem
,
HelpContext
,
PropertyChangeListener
public void removeHelpListener(PropertyChangeListener pcl)
removeHelpListener
removes a listener which was being
notified of PropertyChangeEvents
in the help system. If
the given listener is not currently a listener, no changes are made.
pcl
- the PropertyChangeListener
to be removed as a
listener of events generated by the help system of this panel.addHelpListener(java.beans.PropertyChangeListener)
,
PropertyChangeListener
protected void displayException(Exception e)
Frame getTopLevelParent(Component component)
Component
passed in and
returns it if it is a Frame
. If not, it
returns null.
Frame
public void show()
private void dispatchRefresh(Object source, int action, Object obj)
protected void addProductSolutionSupport()
void searchButton_ActionPerformed(ActionEvent event)
protected void searchForProductSolution()
public void setProductSolution(ProductSolution solution)
public void dispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |