| java.lang.Object com.salmonllc.html.HtmlPageBase com.salmonllc.html.HtmlPage com.salmonllc.jsp.JspController com.salmonllc.examples.example16.CustomizeSkinController
All known Subclasses: com.salmonllc.examples.example16.CustomizeSwingSkinController, com.salmonllc.examples.example16.CustomizeWebSkinController,
CustomizeSkinController | abstract public class CustomizeSkinController extends JspController implements SubmitListener,PageListener(Code) | | A base controller for skin data entry. It provides the functionality to build a GUI, load and save and apply skins.
|
TYPE_COLOR | final protected static int TYPE_COLOR(Code) | | |
TYPE_FONT | final protected static int TYPE_FONT(Code) | | |
TYPE_INT | final protected static int TYPE_INT(Code) | | |
TYPE_STYLE_FONT | final protected static int TYPE_STYLE_FONT(Code) | | |
addProperty | protected int addProperty(HtmlTable tab, int row, String caption, String property, int type, boolean separator)(Code) | | Used to build the user interface dynamically, call this method once for each property you want to edit
Parameters: tab - The table the property will go in Parameters: row - The row on the table to place the property component Parameters: caption - The caption to display Parameters: property - The property you are editing Parameters: type - One of the TYPE constants described at the top of the class Parameters: separator - true to put a seperator bar after the component the row in the table to put the next component |
initialize | public void initialize()(Code) | | set up the page
|
pageRequested | public void pageRequested(PageEvent p)(Code) | | fired each time the page is requested. If we are comming from the Personilization page, load up the skin specified in the skin parm
|
setSwing | protected void setSwing(boolean swing, String firstTab)(Code) | | Call this from the initialize method to set whether the page is editing Swing skin or a web skin
Parameters: swing - True if it is a web skin Parameters: firstTab - The name of the first tab to display |
showTab | abstract protected void showTab(String name)(Code) | | display a particular table when the user clicks a link
|
submitPerformed | public boolean submitPerformed(SubmitEvent e) throws Exception(Code) | | fired when the user clicks on a button or a submit link
|
Methods inherited from com.salmonllc.jsp.JspController | public void assignComponentToField(String fieldName, HtmlComponent comp, boolean addToPage)(Code)(Java Doc) public void assignDataSourceToField(String fieldName, DataStoreBuffer ds)(Code)(Java Doc) public void assignPropertyExpression(String component, String propName, String expression, DataStoreBuffer dataStore)(Code)(Java Doc) public void autoBindComponents() throws Exception(Code)(Java Doc) public void clearAllPagesFromSession()(Code)(Java Doc) public void clearAllPagesFromSessionButCurrent()(Code)(Java Doc) public void clearInitializing()(Code)(Java Doc) public void clearPageFromSession()(Code)(Java Doc) public String convertExpressionOperators(String expression)(Code)(Java Doc) public synchronized int doGet(HttpServletRequest req, boolean pre) throws Exception(Code)(Java Doc) public synchronized int doPost(HttpServletRequest req, HttpServletResponse res) throws Exception(Code)(Java Doc) public void forward(String url) throws IOException, ServletException(Code)(Java Doc) public void generateBodyHtml(JspWriter p) throws IOException(Code)(Java Doc) public void generateCode(PrintWriter pw, String controllerName) throws IOException(Code)(Java Doc) public void generateScriptHtml(JspWriter p) throws java.lang.Exception(Code)(Java Doc) public void generateSessionKeepAliveHtml(JspWriter p) throws IOException(Code)(Java Doc) public boolean getAddExpireHeaders()(Code)(Java Doc) public HtmlFormComponent getBoundComponent(DataStoreBuffer dsb, String columnName)(Code)(Java Doc) public HtmlComponent getComponent(String name)(Code)(Java Doc) public Hashtable getComponentTable()(Code)(Java Doc) public DataStoreBuffer getDataSource(String name)(Code)(Java Doc) public DataStoreBuffer getDataSource(Class c)(Code)(Java Doc) public Hashtable getDataSourceTable()(Code)(Java Doc) public Enumeration getDataSources()(Code)(Java Doc) public boolean getDoPostRedirected()(Code)(Java Doc) public boolean getHideAllComponents()(Code)(Java Doc) public boolean getKeepOnSession()(Code)(Java Doc) public String getOnClick()(Code)(Java Doc) public String getOnLoad()(Code)(Java Doc) public String getOnLoadFunction()(Code)(Java Doc) public PageContext getPageContext()(Code)(Java Doc) public String getPageURL()(Code)(Java Doc) public String getPageURLNoQueryString()(Code)(Java Doc) public int getRefIndex()(Code)(Java Doc) public JspController getSecondaryController()(Code)(Java Doc) public int getSessionKeepAliveMinutes()(Code)(Java Doc) public String getSessionKey()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) public Vector getValidators()(Code)(Java Doc) public String getWebAppName()(Code)(Java Doc) public void gotoSiteMapActionPage(String logicalName, String actionName, String additionalParms) throws IOException, ServletException(Code)(Java Doc) public void gotoSiteMapActionPage(String actionName, String additionalParms) throws IOException, ServletException(Code)(Java Doc) public void gotoSiteMapActionPage(String actionName) throws IOException, ServletException(Code)(Java Doc) public void gotoSiteMapPage(String logicalName) throws IOException, ServletException(Code)(Java Doc) public void gotoSiteMapPage(String logicalName, String additionalParms) throws IOException, ServletException(Code)(Java Doc) public void incrementRefIndex()(Code)(Java Doc) public void initialize() throws Exception(Code)(Java Doc) public void initializeContainers() throws Exception(Code)(Java Doc) public boolean isExpired()(Code)(Java Doc) public boolean isIncludeIDAfterPost()(Code)(Java Doc) public boolean isInitialized()(Code)(Java Doc) public boolean isInitializing()(Code)(Java Doc) public boolean isReferredByCurrentPage()(Code)(Java Doc) public boolean isRequestFromForward()(Code)(Java Doc) public void loadProperties()(Code)(Java Doc) protected boolean notifyListeners(int event, boolean pre) throws Exception(Code)(Java Doc) public void printVars(PrintWriter p) throws IOException(Code)(Java Doc) public void recordTimerActivity(String name, long timeInMillis)(Code)(Java Doc) public void replaceComponent(String name, HtmlComponent newComponent)(Code)(Java Doc) public void replaceDataSource(String name, DataStoreBuffer newDs)(Code)(Java Doc) public void sendPageRedirect() throws IOException(Code)(Java Doc) public void sendPageRedirect(String anchor) throws IOException(Code)(Java Doc) public void sendRedirect(String url) throws IOException(Code)(Java Doc) public void setAddExpireHeaders(boolean val)(Code)(Java Doc) public void setApplicationName(String name)(Code)(Java Doc) public void setCurrentRequest(HttpServletRequest r)(Code)(Java Doc) public void setCurrentResponse(HttpServletResponse r)(Code)(Java Doc) public void setDoPostRedirected(boolean dopostredirected)(Code)(Java Doc) public void setHideAllComponents(boolean hideAllComponents)(Code)(Java Doc) public void setIncludeIDAfterPost(boolean includeIDAfterPost)(Code)(Java Doc) public void setInitialized()(Code)(Java Doc) public void setKeepOnSession(boolean keep)(Code)(Java Doc) public void setOnBlur(String script)(Code)(Java Doc) public void setOnClick(String script)(Code)(Java Doc) public void setOnFocus(String script)(Code)(Java Doc) public void setOnKeydown(String script)(Code)(Java Doc) public void setOnLoad(String script)(Code)(Java Doc) public void setOrigApplicationName(String name)(Code)(Java Doc) public void setPageContext(PageContext cont)(Code)(Java Doc) public void setPageExpired(boolean exp)(Code)(Java Doc) public void setPageName(String name)(Code)(Java Doc) public void setRemoveFromQueryString(String val)(Code)(Java Doc) public void setSecondaryController(JspController cont)(Code)(Java Doc) public void setServerURL(String url)(Code)(Java Doc) public void setServletBaseURL(String url)(Code)(Java Doc) public void setSession(HttpSession s)(Code)(Java Doc) public void setSessionExpired(boolean exp)(Code)(Java Doc) public void setSessionKeepAliveMinutes(int keepAliveMinutes)(Code)(Java Doc) public void setSessionKey(String key)(Code)(Java Doc) public void setStyle(String style)(Code)(Java Doc)
|
Methods inherited from com.salmonllc.html.HtmlPage | public void add(HtmlComponent comp)(Code)(Java Doc) public void addHtml(String name, String html)(Code)(Java Doc) public void addNavBar(JspNavBar jspNavBar)(Code)(Java Doc) public void addPageListener(PageListener p)(Code)(Java Doc) public void addPopup(HtmlPopup popup)(Code)(Java Doc) public void addPropertyExpression(Object comp, String propertyName, DataStoreBuffer ds, DataStoreExpression propExpression) throws NoSuchMethodException, DataStoreException(Code)(Java Doc) public void addPropertyExpression(Object comp, String propertyName, DataStoreBuffer ds, String expression) throws NoSuchMethodException, DataStoreException(Code)(Java Doc) public void addPropertyExpression(Object comp, String propertyName, DataStoreEvaluator expEval) throws NoSuchMethodException, DataStoreException(Code)(Java Doc) public void addScript(String name, String script)(Code)(Java Doc) public void applySkin(Skin skin, boolean doSetTheme)(Code)(Java Doc) public void cancelRunThread()(Code)(Java Doc) public void clearCurrentPageReferer()(Code)(Java Doc) public void clearFormComponents()(Code)(Java Doc) public void clearPortletException()(Code)(Java Doc) public void clearPropertyExpressions()(Code)(Java Doc) public void displayPortletException(String ex)(Code)(Java Doc) public void displayPortletException(String ex, String font)(Code)(Java Doc) public static void executePropertyMethod(Object comp, Method meth, DataStoreEvaluator eval, int row)(Code)(Java Doc) public synchronized void generateHTML(PrintWriter p) throws Exception(Code)(Java Doc) public void generateImage(String compName, String imageName, OutputStream out) throws IOException(Code)(Java Doc) protected String generateToken()(Code)(Java Doc) public String getActivelinkColor()(Code)(Java Doc) public Vector getApplets()(Code)(Java Doc) public String getBackground()(Code)(Java Doc) public String getBackgroundColor()(Code)(Java Doc) public String getBaseTag()(Code)(Java Doc) public boolean getBooleanParameter(String name)(Code)(Java Doc) public Enumeration getComponents()(Code)(Java Doc) public HtmlSubmitButton getDefaultButton()(Code)(Java Doc) public String getDocumentType()(Code)(Java Doc) public boolean getEncodeURLs()(Code)(Java Doc) public int getFormType()(Code)(Java Doc) public boolean getGenerateFormTag()(Code)(Java Doc) public String getHoverLinkColor()(Code)(Java Doc) public ImageGenerator getImageGenerator(String compName)(Code)(Java Doc) public int getIntParameter(String name, int defaultValue)(Code)(Java Doc) public int getIntParameter(String name)(Code)(Java Doc) protected String getLastReferer()(Code)(Java Doc) protected JspForm getLastSubmitForm()(Code)(Java Doc) public int getLeftMargin()(Code)(Java Doc) public String getLinkColor()(Code)(Java Doc) public int getMarginHeight()(Code)(Java Doc) public int getMarginWidth()(Code)(Java Doc) public String getMetaTag()(Code)(Java Doc) public Vector getNavBarsVector()(Code)(Java Doc) public String getOnLoad()(Code)(Java Doc) public String getParameter(String name, String defaultValue)(Code)(Java Doc) public String getParameter(String name)(Code)(Java Doc) public HtmlLookUpComponent getPopupLookupComponent()(Code)(Java Doc) public int getPopupLookupComponentRow()(Code)(Java Doc) public SalmonPortletException getPortletException()(Code)(Java Doc) public static StringBuffer getRequestURL(javax.servlet.http.HttpServletRequest req)(Code)(Java Doc) public int getRightMargin()(Code)(Java Doc) public Exception getRunThreadException()(Code)(Java Doc) public int getRunThreadPercentComplete()(Code)(Java Doc) public int getRunThreadStatus()(Code)(Java Doc) public SiteMap getSiteMap()(Code)(Java Doc) public String getSiteMapActionURL(String logicalName, String actionName, String additionalParms, boolean javaScriptOK)(Code)(Java Doc) public String getSiteMapActionURL(String logicalName, String actionName)(Code)(Java Doc) public String getSiteMapEntryNameForPage()(Code)(Java Doc) public String getSiteMapURL(String logicalName)(Code)(Java Doc) public String getSiteMapURL(String logicalName, String additionalParms, boolean javaScriptOK)(Code)(Java Doc) public HtmlComponent getSubPage(String name)(Code)(Java Doc) public String getSubPageMimeType(String name)(Code)(Java Doc) public HtmlComponent getSubmitComponent()(Code)(Java Doc) public String getTextColor()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public HtmlContainer getTopContainer()(Code)(Java Doc) public int getTopMargin()(Code)(Java Doc) public boolean getUseIFrames()(Code)(Java Doc) public String getVisitedLinkColor()(Code)(Java Doc) public void handlePortletException(Exception ex, boolean logEx, boolean throwEx, String displayHTML) throws SalmonPortletException(Code)(Java Doc) public boolean isExpired()(Code)(Java Doc) public boolean isHtmlAdded(String name)(Code)(Java Doc) public boolean isReferredByCurrentPage()(Code)(Java Doc) public boolean isScriptAdded(String name)(Code)(Java Doc) public boolean isTokenValid()(Code)(Java Doc) public boolean isWMLMaintained()(Code)(Java Doc) public void loadProperties()(Code)(Java Doc) protected boolean notifyListeners(int event, boolean pre) throws Exception(Code)(Java Doc) public synchronized void processParms(boolean iFrameSubmit) throws Exception(Code)(Java Doc) protected void processPropertyExpressions()(Code)(Java Doc) public void registerImageGenerator(String key, ImageGenerator gen)(Code)(Java Doc) public void registerSubPage(String name, HtmlComponent comp)(Code)(Java Doc) public void registerSubPage(String name, HtmlComponent comp, String mimeType)(Code)(Java Doc) public void remove(HtmlComponent comp)(Code)(Java Doc) public void removePageListener(PageListener p)(Code)(Java Doc) public void resetComponents()(Code)(Java Doc) public void resetToken()(Code)(Java Doc) public void saveToken()(Code)(Java Doc) public void scrollToItem(String itemName)(Code)(Java Doc) public void setActiveLinkColor(String value)(Code)(Java Doc) public void setBackground(String value)(Code)(Java Doc) public void setBackgroundColor(String value)(Code)(Java Doc) public void setBaseTag(String value)(Code)(Java Doc) public void setDefaultButton(HtmlSubmitButton button)(Code)(Java Doc) public void setDocumentType(String sDocumentType)(Code)(Java Doc) public void setEncodeURLs(boolean encodeURLs)(Code)(Java Doc) public void setFormType()(Code)(Java Doc) public void setFormType(int type)(Code)(Java Doc) public void setGenerateFormTag(boolean gen)(Code)(Java Doc) public void setHoverLinkColor(String value)(Code)(Java Doc) public void setLeftMargin(int margin)(Code)(Java Doc) public void setLinkColor(String value)(Code)(Java Doc) public void setMarginHeight(int height)(Code)(Java Doc) public void setMarginWidth(int width)(Code)(Java Doc) public void setMetaTag(String value)(Code)(Java Doc) public void setOnLoad(String value)(Code)(Java Doc) public void setRightMargin(int margin)(Code)(Java Doc) public void setTextColor(String value)(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setTopMargin(int margin)(Code)(Java Doc) public void setVisitedLinkColor(String value)(Code)(Java Doc) public void setWMLMaintained(boolean isWmlMaintained)(Code)(Java Doc) public void startRunThread(PageRunThread r, int pageRefreshInterval)(Code)(Java Doc) public String toHex(byte buffer)(Code)(Java Doc) protected String trimUrl(String url, PortletInfo info)(Code)(Java Doc) protected String trimUrl(String url)(Code)(Java Doc) public void writeNamedHtml(Writer pw) throws IOException(Code)(Java Doc) public void writeNamedScripts(Writer pw) throws IOException(Code)(Java Doc) public void writeScript(String script)(Code)(Java Doc)
|
|
|