|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUI
This interface describes methods for the "gui" context of the MIB Explorer script API. It allows a script to prompt input values such as strings or MIB object values.
Method Summary | |
---|---|
void |
promptForVariable(VariableBinding vb)
Prompts for the value of a given variable binding with a modal dialog. |
java.lang.String |
promptString(java.lang.String message)
Prompts the user for a String with a modal input dialog. |
java.util.Vector |
selectModules(java.lang.String message,
boolean includeImported)
Prompts for a list of MIB modules from the repository. |
void |
showErrorMessage(java.lang.String message,
java.lang.String title)
Displays an error message. |
void |
showWarningMessage(java.lang.String message,
java.lang.String title)
Displays a warning message. |
Method Detail |
---|
java.lang.String promptString(java.lang.String message)
message
- the message text to be shown.
null
if the user
pressed canceled the dialog.void promptForVariable(VariableBinding vb)
vb
- the VariableBinding to prompt for. The OID of the VB has to be set
before. The new value will be stored into the VB when the user pressed
OK.java.util.Vector selectModules(java.lang.String message, boolean includeImported)
message
- the message text to be shown.includeImported
- if true
imported
Vector
that contains the selected MIB modules, or
null
if the user has canceled the dialog.void showErrorMessage(java.lang.String message, java.lang.String title)
message
- the message to display.title
- the title of the message dialog.void showWarningMessage(java.lang.String message, java.lang.String title)
message
- the message to display.title
- the title of the message dialog.
|
Copyright 2003-2011, Frank Fock, All Rights Reserved. http://www.mibexplorer.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |