|
|||||||||||
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
javax.swing.JFrame
wt.clients.tools.transfer.ImportPolicyEditor
Import Policy Panel Import Policies determine the actions to be taken during an Import for a specific type of object: 1) Action for when Import Object does not exist in the database 2) Action for when Import Object already exists in the database This utility provides the User Interface functionality for editing/saving/creating of Import Policies
Nested Class Summary | |
(package private) class |
ImportPolicyEditor.keyaction
|
(package private) class |
ImportPolicyEditor.SymAction
|
(package private) class |
ImportPolicyEditor.SymWindow
|
Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
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) JMenuItem |
aboutMenuItem
|
(package private) JButton |
cancelSaveButton
|
(package private) JCheckBox |
caseBox
|
(package private) GridBagConstraints |
constraints
|
(package private) Cursor |
cursor_default
|
(package private) Cursor |
cursor_wait
|
(package private) JMenuItem |
exitMenuItem
|
(package private) Font |
f2
|
(package private) boolean |
fComponentsAdjusted
|
(package private) JMenu |
filemenu
|
(package private) JMenuItem |
findMenuItem
|
(package private) JMenuItem |
findnextMenuItem
|
(package private) JTextField |
findTextField
|
(package private) JMenu |
helpmenu
|
private HelpSystem |
helpSystem
|
(package private) ImportPolicyPanel |
importPolicyPanel
|
(package private) Insets |
in1
|
(package private) Insets |
in2
|
(package private) Hashtable |
ishash
|
(package private) JDialog |
jd
|
(package private) GridBagLayout |
jdgb
|
(package private) int |
lastButtonHit
|
(package private) JButton |
loadSearchButton
|
(package private) static boolean |
m_bInstalledDefaultButtonFix
|
(package private) JMenuBar |
mainMenuBar
|
(package private) JTextField |
nameText
|
(package private) JMenuItem |
newMenuItem
|
(package private) JButton |
noSaveButton
|
private Object |
object
|
(package private) JButton |
okMessageButton
|
(package private) JButton |
openCancelButton
|
(package private) JFileChooser |
openFileDialog1
|
(package private) JMenuItem |
openMenuItem
|
(package private) JButton |
openOpenButton
|
(package private) JMenuItem |
overviewMenuItem
|
(package private) JList |
pickList
|
(package private) DefaultListModel |
pickListModel
|
(package private) JScrollPane |
plpane
|
(package private) JButton |
runLaterSaveButton
|
(package private) JMenuItem |
saveMenuItem
|
(package private) JRadioButton |
searchDownRadioButton
|
(package private) JTextField |
searchtext
|
(package private) JRadioButton |
searchUpRadioButton
|
(package private) String |
specname
|
(package private) JTextField |
spectext
|
(package private) int |
stop
|
(package private) GridBagLayout |
transfergb
|
(package private) JMenuItem |
tutorialMenuItem
|
(package private) JMenu |
viewmenu
|
(package private) JButton |
yesSaveButton
|
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
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 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 | |
ImportPolicyEditor()
Constructor |
Method Summary | |
(package private) void |
aboutMenuItem_ActionPerformed(ActionEvent event)
Action performed by the about menu |
void |
addNotify()
|
private void |
Addto(DefaultListModel dlf,
String name)
Adds a name to a list alphabetically using binary search |
private void |
buildConstraints(GridBagConstraints gbc,
int x,
int y,
int w,
int h,
double wx,
double wy,
int anchor,
int fill)
Utility method to aid in the creation of gridbag layout |
(package private) void |
Cancel_button_ActionPerformed()
Action performed by the cancel button |
(package private) void |
cancelSaveButton_ActionPerformed()
Action performed by the OK button on dialogs |
private void |
configureRootMenu()
Enable the root Object menu depending on the Transfer Mode |
void |
displayHelp(String key)
display the new help window |
private void |
enable_buttons()
Enable buttons when a valid spec is being edited |
(package private) void |
exitMenuItem_ActionPerformed()
Action performed by the exit menu |
(package private) void |
findMenuItem_ActionPerformed()
Action performed by the find menu |
(package private) void |
findnextMenuItem_ActionPerformed()
Action performed by the find next menu |
(package private) void |
getnewspec()
Brings up the dialog to open/search for specs |
(package private) void |
Help_button_ActionPerformed()
Action performed by the help button |
private static void |
installDefaultButtonFix()
|
void |
loadSearchButton_ActionPerformed()
Action performed by the search button on the load dialog |
static void |
main(String[] args)
|
(package private) void |
newMenuItem_ActionPerformed()
Action performed by the exit menu |
(package private) void |
noSaveButton_ActionPerformed()
Action performed by the NO button on dialogs |
(package private) void |
Ok_button_ActionPerformed()
Action performed by the OK button,on the Main window |
(package private) void |
okMessageButton_ActionPerformed()
Action performed by the OK button on dialogs |
(package private) void |
openCancelButton_ActionPerformed()
Action performed by the cancel button on the load dialog |
(package private) void |
openMenuItem_ActionPerformed()
Action performed by the load menu |
(package private) void |
openOpenButton_ActionPerformed()
Action performed by the open button on the load dialog |
(package private) void |
Save_button_ActionPerformed()
Action performed by the save button |
(package private) void |
saveMenuItem_ActionPerformed()
Action performed by the save menu |
void |
setHelpSystem(HelpSystem helpSystem)
brings up a new help window |
void |
setVisible(boolean b)
|
(package private) boolean |
shouldsave()
returns whether or not the current spec should prompt ton save changes |
(package private) void |
showConfirmSaveDialog(String text)
Show a save? dialog |
(package private) void |
showErrorMessage(String errmes)
Show a save? dialog |
(package private) void |
showFindTextDialog(String mess)
Show a find dialog |
(package private) void |
showWithSize(int x,
int y)
show a dialog, and if it comes up with 0 size, resize it to x,y |
(package private) void |
yesSaveButton_ActionPerformed()
Action performed by the YES button on dialogs |
Methods inherited from class java.awt.Frame |
finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, 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 |
JFileChooser openFileDialog1
ImportPolicyPanel importPolicyPanel
static boolean m_bInstalledDefaultButtonFix
boolean fComponentsAdjusted
GridBagLayout transfergb
GridBagConstraints constraints
JButton openOpenButton
JButton openCancelButton
JButton runLaterSaveButton
JButton okMessageButton
JButton cancelSaveButton
JButton yesSaveButton
JButton noSaveButton
JButton loadSearchButton
Cursor cursor_wait
Cursor cursor_default
Insets in1
Insets in2
private HelpSystem helpSystem
DefaultListModel pickListModel
JList pickList
JScrollPane plpane
JTextField searchtext
JTextField spectext
JTextField nameText
JTextField findTextField
JCheckBox caseBox
JRadioButton searchDownRadioButton
JRadioButton searchUpRadioButton
Hashtable ishash
String specname
int stop
int lastButtonHit
JDialog jd
GridBagLayout jdgb
Font f2
private Object object
JMenuBar mainMenuBar
JMenu filemenu
JMenuItem exitMenuItem
JMenuItem newMenuItem
JMenuItem openMenuItem
JMenuItem saveMenuItem
JMenu viewmenu
JMenuItem findMenuItem
JMenuItem findnextMenuItem
JMenu helpmenu
JMenuItem aboutMenuItem
JMenuItem overviewMenuItem
JMenuItem tutorialMenuItem
Constructor Detail |
public ImportPolicyEditor()
Method Detail |
private static void installDefaultButtonFix()
public void setVisible(boolean b)
b
- booleanpublic static void main(String[] args)
public void addNotify()
void okMessageButton_ActionPerformed()
void cancelSaveButton_ActionPerformed()
void yesSaveButton_ActionPerformed()
void noSaveButton_ActionPerformed()
void aboutMenuItem_ActionPerformed(ActionEvent event)
void newMenuItem_ActionPerformed()
void exitMenuItem_ActionPerformed()
void openMenuItem_ActionPerformed()
void getnewspec()
void openOpenButton_ActionPerformed()
void openCancelButton_ActionPerformed()
boolean shouldsave()
void saveMenuItem_ActionPerformed()
void Cancel_button_ActionPerformed()
void Save_button_ActionPerformed()
void Help_button_ActionPerformed()
void Ok_button_ActionPerformed()
void findMenuItem_ActionPerformed()
void findnextMenuItem_ActionPerformed()
public void displayHelp(String key)
public void setHelpSystem(HelpSystem helpSystem)
private void buildConstraints(GridBagConstraints gbc, int x, int y, int w, int h, double wx, double wy, int anchor, int fill)
private void Addto(DefaultListModel dlf, String name)
dlf
- List to add objectname
- - object to addpublic void loadSearchButton_ActionPerformed()
private void enable_buttons()
private void configureRootMenu()
void showFindTextDialog(String mess)
mess
- message to describe findvoid showConfirmSaveDialog(String text)
text
- save text messagevoid showErrorMessage(String errmes)
errmes
- text of errorvoid showWithSize(int x, int y)
x
- width of dialogy
- height of dialog
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |