|
|||||||||
| 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
verinec.importer.parser.ImporterDialog
public class ImporterDialog
Dialog to configure and start importing existing configuration. ImporterDialog implements JFrame. The user can choose different options in the window; these are stored in the object's variables.
| Nested Class Summary | |
|---|---|
class |
ImporterDialog.PanelLocal
Panel for local import. |
class |
ImporterDialog.PanelRemote
Panel for remote import. |
class |
ImporterDialog.PanelTest
Configuration Settings for import from local files. |
class |
ImporterDialog.SettingsPanelBase
Configuration panel. |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private JPanel |
centralPanel
Central area of dialog. |
(package private) ImporterEnvironment |
config
The environment to use. |
private Container |
contentPane
Swing stuff. |
private ButtonGroup |
group
Swing stuff. |
private ImporterModule |
importer
The importer module |
private ImporterDialog.PanelLocal |
local
Swing stuff. |
private Logger |
log
|
private PCNode |
node
The node to add imported information to. |
private ImporterDialog.PanelRemote |
remote
Swing stuff. |
private Vector |
serviceParsers
List of IServiceParser instances. |
private ImporterDialog.PanelTest |
test
Swing stuff. |
| 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.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 | |
|---|---|
ImporterDialog(ImporterModule mod)
Create the dialog to import existing configuration and create a new node with it. |
|
ImporterDialog(ImporterModule mod,
PCNode node)
Create the dialog to import existing configuration for node already in Verinec. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Action handler for the panel. |
private void |
init()
Init Main window. |
private JPanel |
panelChoice()
JPanel for the import method choices. |
private JPanel |
panelControls()
Create the panel with the control buttons. |
private void |
runImports()
|
private void |
updatePanel(ImporterDialog.SettingsPanelBase mode)
|
| Methods inherited from class java.awt.Frame |
|---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, 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 |
|---|
private Logger log
private ImporterModule importer
private PCNode node
ImporterEnvironment config
private Container contentPane
private JPanel centralPanel
private ImporterDialog.PanelLocal local
private ImporterDialog.PanelRemote remote
private ImporterDialog.PanelTest test
private ButtonGroup group
private Vector serviceParsers
IServiceParser instances.
They are used for their config panels and to execute the import.
| Constructor Detail |
|---|
public ImporterDialog(ImporterModule mod,
PCNode node)
throws VerinecException
mod - The importer module to update newly created nodesnode - The node to attach the new configuration to.
VerinecException - If anything fails.
public ImporterDialog(ImporterModule mod)
throws VerinecException
mod - The importer module to update newly created nodes
VerinecException - If anything fails.| Method Detail |
|---|
private void init()
private JPanel panelControls()
private JPanel panelChoice()
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerevent - The event to handle.private void updatePanel(ImporterDialog.SettingsPanelBase mode)
private void runImports()
throws VerinecException
VerinecException
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||