|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.VirtualPanelAdapter
se.entra.phantom.server.VirtualComponentAdapter
se.entra.phantom.server.rconsole.AdminConfigWebServer
public class AdminConfigWebServer
Handles a user definition.
| Field Summary | |
|---|---|
static String |
NOACCESS
The text for no access. |
| Fields inherited from interface se.entra.phantom.server.VirtualPanelListener |
|---|
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES |
| Constructor Summary | |
|---|---|
AdminConfigWebServer()
Starts editing the dialog box. |
|
AdminConfigWebServer(VirtualPanel vp)
Starts editing the dialog box. |
|
| Method Summary | |
|---|---|
boolean |
applySelection(String path,
VirtualControl control)
Applies the selection chosen (using the browse buttons) for directory/filename. |
static AdminConfigProtection |
getAccessControl(String id)
Gets an access control (protection) definition from an ID. |
static Enumeration<String> |
getAccessControlIDs()
Gets an the list of available access control IDs (protections) as a String enumeration. |
static AdminConfigResource |
getCGIResource(String name)
Gets a CGI resource from a name. |
static Vector<String> |
getClientCertAccessControlNames()
Gets a list of all the access control names (vector of strings in lower case) used to load the client certificates by SSL. |
static AdminConfigResource |
getFileOrCGIResource(String name)
Gets a file or CGI resource from a name (file before CGI). |
static AdminConfigResource |
getFileResource(String name)
Gets a file resource from a name. |
static AdminConfigResource |
getResource(String name)
Gets the resource from a name. |
static Enumeration<AdminConfigResource> |
getResources()
Gets all the resources. |
static Vector<String> |
getRevokedCertAccessControlNames()
Gets a list of all the access control names (vector of strings in lower case) used to load the revoked certificates by SSL. |
boolean |
isSelectionValid(String path,
VirtualControl control,
VirtualPanel vpChooser)
Checks if a selection for a directory/filename is valid (for the browse buttons). |
static void |
loadResources(boolean isCaseSensitive)
Loads the resources from the 'resources.ini' file. |
void |
onAction(VirtualPanel vp,
String controlID)
Push buttons and menu items generates this event when selected. |
void |
onCheckedChange(VirtualPanel vp,
VirtualControl control,
String controlID,
int state)
Check boxes and radio buttons generates this event when state is changed on the client side. |
void |
onContentChanged(VirtualPanel vp,
VirtualControl control,
String controlID,
String text,
int line)
Combination boxes and spin buttons generates this message. |
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed, but before any other processing has been done. |
void |
onPanelCreate(VirtualPanel vp)
Starts editing the dialog box. |
void |
onSelectionChanged(VirtualPanel vp,
VirtualCListBox list,
String controlID,
int line,
int column)
List boxes generates this message. |
void |
performWebServerRestart(VirtualPanel vp)
Restarts the web server. |
String |
retreiveSelection(VirtualControl control)
Gets the selection of a directory/filename for the browse buttons. |
| Methods inherited from class se.entra.phantom.server.VirtualComponentAdapter |
|---|
onAction, onAction, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange |
| Methods inherited from class se.entra.phantom.server.VirtualPanelAdapter |
|---|
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelDestroy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface se.entra.phantom.server.VirtualPanelListener |
|---|
onPageActivated, onPanelClose, onPanelDestroy |
| Field Detail |
|---|
public static final String NOACCESS
| Constructor Detail |
|---|
public AdminConfigWebServer()
public AdminConfigWebServer(VirtualPanel vp)
| Method Detail |
|---|
public static void loadResources(boolean isCaseSensitive)
throws IOException
IOException - when an error occurs.public static Vector<String> getClientCertAccessControlNames()
public static Vector<String> getRevokedCertAccessControlNames()
public static Enumeration<AdminConfigResource> getResources()
public static AdminConfigResource getResource(String name)
public static AdminConfigResource getFileResource(String name)
public static AdminConfigResource getFileOrCGIResource(String name)
public static AdminConfigResource getCGIResource(String name)
public void onPanelCreate(VirtualPanel vp)
onPanelCreate in interface VirtualPanelListeneronPanelCreate in class VirtualPanelAdapter
public void onContentChanged(VirtualPanel vp,
VirtualControl control,
String controlID,
String text,
int line)
line
parameter is set to -1 if no line is selected.
onContentChanged in interface VirtualComponentListeneronContentChanged in class VirtualComponentAdapter
public void onSelectionChanged(VirtualPanel vp,
VirtualCListBox list,
String controlID,
int line,
int column)
line and column
parameter are individually set to -1 if no line or column is selected respectively.
onSelectionChanged in interface VirtualComponentListeneronSelectionChanged in class VirtualComponentAdapterpublic boolean onPanelClosing(VirtualPanel vp)
onPanelClose is called.
onPanelClosing in interface VirtualPanelListeneronPanelClosing in class VirtualPanelAdapterVirtualPanelAdapter.onPanelClose(se.entra.phantom.server.VirtualPanel)public void performWebServerRestart(VirtualPanel vp)
public void onAction(VirtualPanel vp,
String controlID)
onAction in class VirtualComponentAdapter
public void onCheckedChange(VirtualPanel vp,
VirtualControl control,
String controlID,
int state)
The state is 0=unchecked, 1=checked and 2=third state (only for check boxes, or PhantomCCheckBox.STATE_UNDETERMINED).
onCheckedChange in interface VirtualComponentListeneronCheckedChange in class VirtualComponentAdapterpublic String retreiveSelection(VirtualControl control)
retreiveSelection in interface SelectionInterface
public boolean isSelectionValid(String path,
VirtualControl control,
VirtualPanel vpChooser)
isSelectionValid in interface SelectionInterfacepath - The new path to insert.control - The VirtualControl to insert it into.vpChooser - The chooser dialogs virtual panel. This is passed along to enable the class
implementing this interface to create a dialog for a message, with the chooser
dialog as its parent.
public boolean applySelection(String path,
VirtualControl control)
applySelection in interface SelectionInterfacepath - The new path to insert.control - The VirtualControl to insert it into.public static Enumeration<String> getAccessControlIDs()
public static AdminConfigProtection getAccessControl(String id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||