|
Dashboard Builder UI Panels 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dashboard.ui.panel.PanelDriver
org.jboss.dashboard.ui.panel.advancedHTML.HTMLDriver
public class HTMLDriver
| Field Summary | |
|---|---|
static String |
PARAMETER_EDITING_LANG
|
static String |
PARAMETER_HTML
|
static String |
PARAMETER_USE_DEFAULTS
|
| Fields inherited from class org.jboss.dashboard.ui.panel.PanelDriver |
|---|
PAGE_HEADER, PAGE_HELP_MODE, PAGE_MANAGE_INVALID_DRIVER, panelSecurity, PARAMETER_ACTION_EXECUTED_ENABLED, parameters |
| Constructor Summary | |
|---|---|
HTMLDriver()
|
|
| Method Summary | |
|---|---|
org.jboss.dashboard.ui.controller.CommandResponse |
actionChangeEditingLanguage(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
org.jboss.dashboard.ui.controller.CommandResponse |
actionSaveChanges(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
org.jboss.dashboard.ui.controller.CommandResponse |
actionSelectImage(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
org.jboss.dashboard.ui.controller.CommandResponse |
actionSelectLink(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
void |
activateEditMode(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
Defines the action to be taken when activating edit mode |
void |
activateNormalMode(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
Defines the action to be taken when activating edit mode |
protected void |
beforePanelInstanceRemove(org.jboss.dashboard.workspace.PanelInstance instance)
|
void |
exportContent(org.jboss.dashboard.workspace.PanelInstance instance,
OutputStream os)
Write instance content to given OutputStream, which must not be closed. |
int |
getEditHeight(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
String |
getEditingLanguage(org.jboss.dashboard.workspace.Panel panel)
Determine the editing language. |
int |
getEditWidth(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
|
Map |
getHtmlCode(org.jboss.dashboard.workspace.Panel panel)
Determine the text being shown for given panel. |
protected String |
getPanelHTMLContent(org.jboss.dashboard.workspace.PanelInstance instance,
String lang)
|
void |
importContent(org.jboss.dashboard.workspace.PanelInstance instance,
InputStream is)
Read instance content from given InputStream, which must not be closed. |
void |
init(org.jboss.dashboard.ui.panel.PanelProvider provider)
|
void |
initPanelSession(org.jboss.dashboard.workspace.PanelSession status,
javax.servlet.http.HttpSession session)
|
boolean |
isUsingDefaultLanguage(org.jboss.dashboard.workspace.Panel panel)
Returns if this driver is using default language |
boolean |
isUsingDefaultLanguage(org.jboss.dashboard.workspace.PanelInstance panel)
Returns if this driver is using default language |
HTMLText |
load(org.jboss.dashboard.workspace.PanelInstance instance)
|
void |
replicateData(org.jboss.dashboard.workspace.PanelInstance src,
org.jboss.dashboard.workspace.PanelInstance dest)
Replicates panel data. |
boolean |
supportsEditMode(org.jboss.dashboard.workspace.Panel panel)
Returns if this driver defines support to activate edit mode. |
protected Map |
toEditableObject(HTMLText text)
|
| Methods inherited from class org.jboss.dashboard.ui.panel.PanelDriver |
|---|
actionChangePage, activateConfigMode, activateHelpMode, addMethodPermission, addParameter, addParameters, addSystemParameter, afterInvokeAction, afterPanelClosed, afterPanelCustomPropertiesModified, afterPanelPlacedInRegion, afterPanelPropertiesModified, afterRenderPanel, beforeInvokeAction, beforePanelClosed, beforePanelInstanceRemove, beforePanelPlacedInRegion, beforePanelRemoved, beforeRenderPanel, canInvokeAction, checkInvokeAction, checkMethodSecurity, copyDirectory, copyFile, execute, fireAfterInvokeAction, fireAfterPanelClosed, fireAfterPanelPlacedInRegion, fireAfterRenderPanel, fireBeforeInvokeAction, fireBeforePanelInstanceRemove, fireBeforePanelPlacedInRegion, fireBeforePanelRemoved, fireBeforeRenderPanel, firePanelCustomPropertiesModified, firePanelPropertiesModified, getActionsBundle, getAllParameters, getConfigHeight, getConfigWidth, getHelpHeight, getHelpWidth, getMethodName, getPageEdit, getPageHelpMode, getPanelDir, getPanelDir, getPanelDirMapping, getPanelDirMapping, getPanelSession, getPanelSession, getPanelSession, getResourceForPermission, getShowPanelPageComponent, getTextShownByInstance, getURLWhenMaximized, hasMethodAccess, initPanel, initPermissionsParameters, initSystemParameters, isDoubleClickProtected, isSystemAction, move, panelActionClose, panelActionEditMode, panelActionFactory, panelActionHelpMode, panelActionInvalidateCache, panelActionMaximize, panelActionMaximizeInRegion, panelActionMinimize, panelActionMoveBack, panelActionMoveForward, panelActionRefreshPanel, panelActionRemove, panelActionRestore, panelActionSelect, panelActionShowMode, panelActionStartConfig, supportsHelpMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAMETER_HTML
public static final String PARAMETER_EDITING_LANG
public static final String PARAMETER_USE_DEFAULTS
| Constructor Detail |
|---|
public HTMLDriver()
| Method Detail |
|---|
public void init(org.jboss.dashboard.ui.panel.PanelProvider provider)
throws Exception
init in class org.jboss.dashboard.ui.panel.PanelDriverException
public void initPanelSession(org.jboss.dashboard.workspace.PanelSession status,
javax.servlet.http.HttpSession session)
initPanelSession in class org.jboss.dashboard.ui.panel.PanelDriver
protected void beforePanelInstanceRemove(org.jboss.dashboard.workspace.PanelInstance instance)
throws Exception
beforePanelInstanceRemove in class org.jboss.dashboard.ui.panel.PanelDriverExceptionpublic boolean supportsEditMode(org.jboss.dashboard.workspace.Panel panel)
supportsEditMode in class org.jboss.dashboard.ui.panel.PanelDriver
public int getEditWidth(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
getEditWidth in class org.jboss.dashboard.ui.panel.PanelDriver
public int getEditHeight(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
getEditHeight in class org.jboss.dashboard.ui.panel.PanelDriver
public void activateEditMode(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
activateEditMode in class org.jboss.dashboard.ui.panel.PanelDriverExceptionprotected Map toEditableObject(HTMLText text)
public void activateNormalMode(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
activateNormalMode in class org.jboss.dashboard.ui.panel.PanelDriverExceptionpublic boolean isUsingDefaultLanguage(org.jboss.dashboard.workspace.Panel panel)
panel -
public boolean isUsingDefaultLanguage(org.jboss.dashboard.workspace.PanelInstance panel)
panel -
public Map getHtmlCode(org.jboss.dashboard.workspace.Panel panel)
panel -
public String getEditingLanguage(org.jboss.dashboard.workspace.Panel panel)
public org.jboss.dashboard.ui.controller.CommandResponse actionChangeEditingLanguage(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
Exception
public org.jboss.dashboard.ui.controller.CommandResponse actionSaveChanges(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
Exception
public org.jboss.dashboard.ui.controller.CommandResponse actionSelectImage(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
Exception
public org.jboss.dashboard.ui.controller.CommandResponse actionSelectLink(org.jboss.dashboard.workspace.Panel panel,
org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
Exceptionpublic HTMLText load(org.jboss.dashboard.workspace.PanelInstance instance)
public void replicateData(org.jboss.dashboard.workspace.PanelInstance src,
org.jboss.dashboard.workspace.PanelInstance dest)
throws Exception
replicateData in class org.jboss.dashboard.ui.panel.PanelDriversrc - Source PanelInstancedest - Destinaton PanelInstance
Exception
public void exportContent(org.jboss.dashboard.workspace.PanelInstance instance,
OutputStream os)
throws Exception
exportContent in interface org.jboss.dashboard.workspace.export.ExportableException
public void importContent(org.jboss.dashboard.workspace.PanelInstance instance,
InputStream is)
throws Exception
importContent in interface org.jboss.dashboard.workspace.export.ExportableException
protected String getPanelHTMLContent(org.jboss.dashboard.workspace.PanelInstance instance,
String lang)
getPanelHTMLContent in class org.jboss.dashboard.ui.panel.PanelDriver
|
Dashboard Builder UI Panels 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||