|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
verinec.importer.analysis.AnalysisConfigPanel
public class AnalysisConfigPanel
Dialog to configure and start network analysis. Allows to control sniffing, traceroute and portscan parts. A config file will be created wich will be read by StartSniffer upon clicking the run button. * Is this still true? *
| Nested Class Summary | |
|---|---|
(package private) class |
AnalysisConfigPanel.AnalysingDialog
Create a wait dialog for analysing network. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| 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 JTabbedPane |
configElements
|
private static String |
configfile
|
static boolean |
DEBUG
If true, generated logfiles will not be deleted and the found hosts will be output to an xml in java.io.tmpdir |
private JButton |
ExitButton
|
private JPanel |
firstPanel
|
private JButton |
LoadCFButton
|
(package private) JDialog |
parent
|
private JButton |
RunButton
|
private JButton |
SaveCFButton
|
StartScan.ConfigPanel |
scanPanel
The scan configuration panel, holding settings for portscans. |
(package private) AnalysisConfigPanel.AnalysingDialog |
sd
|
private JPanel |
secondPanel
|
private boolean |
simulate
Wheter we are in simulation mode. |
StartSniffer.ConfigPanel |
sniffPanel
The sniff configuration panel, holding sniffer settings. |
(package private) VerinecStudio |
studio
|
private JPanel |
thirdPanel
|
StartTraceRoute.ConfigPanel |
trPanel
The traceroute configuration panel, holding settings for traceroutes. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| 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 | |
|---|---|
private |
AnalysisConfigPanel(JDialog parent,
VerinecStudio analyser)
This constructor just creates a Panel in an existing JFrame. |
| Method Summary | |
|---|---|
private void |
addWidgets()
This method adds the widgets to the JPanel |
static JDialog |
createDialog(VerinecStudio analyser)
Factory method to create a config panel inside a modal dialog. |
void |
finishedSniffing()
Tell the panel that sniffing finished. |
boolean |
isConfigValid()
Checks if all the necessary fields are filled in. |
private void |
loadConfiguration()
Load stored configuration for analysis. |
private void |
saveConfiguration()
Save configuration for analysis to config file. |
void |
setSimulation(boolean b)
Tell the panel whether network sniffing is simulated. |
void |
setStatus(String message)
Set the current state of the panel. |
void |
showErrorMessage(String title,
String message)
Standard error pane. |
void |
startSniffing()
Tell the panel that we start with the analysis. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final String configfile
private JTabbedPane configElements
public StartSniffer.ConfigPanel sniffPanel
public StartScan.ConfigPanel scanPanel
public StartTraceRoute.ConfigPanel trPanel
JDialog parent
private JPanel firstPanel
private JPanel secondPanel
private JPanel thirdPanel
private JButton LoadCFButton
private JButton SaveCFButton
private JButton RunButton
private JButton ExitButton
VerinecStudio studio
AnalysisConfigPanel.AnalysingDialog sd
private boolean simulate
public static final boolean DEBUG
| Constructor Detail |
|---|
private AnalysisConfigPanel(JDialog parent,
VerinecStudio analyser)
throws VerinecException
parent - Parent frame.analyser - The main application.
VerinecException| Method Detail |
|---|
public static JDialog createDialog(VerinecStudio analyser)
throws VerinecException
analyser - The main application.
VerinecException
private void addWidgets()
throws VerinecException
VerinecException - if icons can not be loaded.public void startSniffing()
public void finishedSniffing()
public void setStatus(String message)
message - A status messagepublic void setSimulation(boolean b)
b - If true, traceroute and scan panels are disabled.private void loadConfiguration()
private void saveConfiguration()
public boolean isConfigValid()
public void showErrorMessage(String title,
String message)
title - The title for the pane.message - Message for the pane.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||