|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame frontend.mibBrowser
This class was developed as part of one of the two main frontend windows our project is dealing with. This window is responsible for displaying/updating specific SNMP information often refered to as an MIB Browser. The browser is not responsible for getting or setting the information, hence it does not do any remote communication with the nodes. It in fact just lay's out the ability for a user to manipulate a specific SNMP ready node on the network with great ease. Many functions exists for the user to gain maximum performance. These functions include: Printing results, saving results, setting OID's, getting OID's, getting a full listing of OID's, easy navigation thought the RFC1213 standard MIB's, and much more. Please see the availble help menu for more information.
Nested Class Summary |
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 |
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 java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
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 | |
mibBrowser(boolean statusBarState,
boolean toolBarState,
String snmpCommunity)
This Creates the mibBrowser and setups the components on the screen as specified. |
|
mibBrowser(String hostAddress,
boolean statusBarState,
boolean toolBarState,
String snmpCommunity)
This Creates the mibBrowser and setups the components on the screen as specified Precondition: Nothing. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
To handle the Possible events that might occur based on the users decisions. |
protected void |
createHelp()
|
void |
lostOwnership(Clipboard parClipboard,
Transferable parTransferable)
If access to the clipboad is no longer available. |
void |
mouseClicked(MouseEvent e)
This action handler is for the mouse listener if a certain object is clicked on it will be passed over to this module to handled by. |
void |
mouseEntered(MouseEvent e)
Precondition: Nothing. |
void |
mouseExited(MouseEvent e)
Precondition: Nothing. |
void |
mousePressed(MouseEvent e)
When the mouse is pressed on a certain object and the user holds the mouse button down we still want the text on the toolbar to be displayed therefore those objects are passed in and their corresponding string value is outputted to the status bar. |
void |
mouseReleased(MouseEvent e)
Once the mouse is release we want the status bar to be reset and not show any information. |
int |
print(Graphics g,
PageFormat pageFormat,
int pageIndex)
Method needed to implement the printable interface This method will be called upon when ready to print. |
void |
run()
The run method is to a thread what the main() method is to a traidional nonthreaded program. |
Methods inherited from class java.awt.Frame |
addNotify, 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 |
Constructor Detail |
public mibBrowser(boolean statusBarState, boolean toolBarState, String snmpCommunity)
snmpCommunity
- statusBarState
- toolBarState
- public mibBrowser(String hostAddress, boolean statusBarState, boolean toolBarState, String snmpCommunity)
snmpCommunity
- hostAddress
- statusBarState
- toolBarState
- Method Detail |
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- The Object that received the Actionpublic void run()
run
in interface Runnable
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
e
- The Object in which the mouse is overpublic void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
e
- The Object in which the mouse is overpublic void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
e
- The Object in which the mouse is overpublic void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
e
- The Object in which the mouse is overpublic void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
e
- public void lostOwnership(Clipboard parClipboard, Transferable parTransferable)
lostOwnership
in interface ClipboardOwner
parClipboard
- Clipboard object that the system is wokring withparTransferable
- public int print(Graphics g, PageFormat pageFormat, int pageIndex)
print
in interface Printable
g
- pageFormat
- pageIndex
-
protected void createHelp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |