org.nakedobjects.plugins.html.component.html
Class HtmlComponentFactory
java.lang.Object
org.nakedobjects.plugins.html.component.html.HtmlComponentFactory
- All Implemented Interfaces:
- ComponentFactory
public class HtmlComponentFactory
- extends java.lang.Object
- implements ComponentFactory
|
Method Summary |
Component |
createAddOption(java.lang.String id,
java.lang.String fieldName)
|
Block |
createBlock(java.lang.String style,
java.lang.String description)
|
Component |
createBreadCrumbs(java.lang.String[] names,
boolean[] isLinked)
|
Component |
createCheckboxBlock(boolean isEditable,
boolean isSet)
|
Component |
createCollectionIcon(NakedObjectAssociation field,
NakedObject collection,
java.lang.String id)
|
Component |
createCollectionIcon(NakedObject collection,
java.lang.String collectionId)
|
DebugPane |
createDebugPane()
|
Component |
createEditOption(java.lang.String id)
|
Component |
createErrorMessage(java.lang.Exception e,
boolean isDebug)
|
Form |
createForm(java.lang.String id,
java.lang.String actionName,
int step,
int noOfPages,
boolean isEditing)
|
Component |
createHeading(java.lang.String name)
|
Component |
createInlineBlock(java.lang.String style,
java.lang.String text,
java.lang.String description)
|
Component |
createLink(java.lang.String link,
java.lang.String name,
java.lang.String description)
|
LogonFormPage |
createLogonPage(java.lang.String user,
java.lang.String password)
|
Component |
createMenuItem(java.lang.String actionId,
java.lang.String name,
java.lang.String description,
java.lang.String reasonDisabled,
NakedObjectActionType type,
boolean hasParameters,
java.lang.String targetObjectId)
|
Component |
createObjectIcon(NakedObjectAssociation field,
NakedObject object,
java.lang.String objectId,
java.lang.String style)
|
Component |
createObjectIcon(NakedObject object,
java.lang.String objectId,
java.lang.String style)
|
Page |
createPage()
|
Component |
createParseableField(NakedObjectAssociation field,
NakedObject value,
boolean isEditable)
|
Component |
createRemoveOption(java.lang.String id,
java.lang.String elementId,
java.lang.String fieldName)
|
Component |
createService(java.lang.String objectId,
java.lang.String title,
java.lang.String iconName)
|
Component |
createSubmenu(java.lang.String menuName,
Component[] items)
|
Table |
createTable(int noColumns,
boolean withSelectorColumn)
|
Component |
createUserSwap(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlComponentFactory
public HtmlComponentFactory()
createBlock
public Block createBlock(java.lang.String style,
java.lang.String description)
- Specified by:
createBlock in interface ComponentFactory
createBreadCrumbs
public Component createBreadCrumbs(java.lang.String[] names,
boolean[] isLinked)
- Specified by:
createBreadCrumbs in interface ComponentFactory
createCollectionIcon
public Component createCollectionIcon(NakedObjectAssociation field,
NakedObject collection,
java.lang.String id)
- Specified by:
createCollectionIcon in interface ComponentFactory
createDebugPane
public DebugPane createDebugPane()
- Specified by:
createDebugPane in interface ComponentFactory
createEditOption
public Component createEditOption(java.lang.String id)
- Specified by:
createEditOption in interface ComponentFactory
createRemoveOption
public Component createRemoveOption(java.lang.String id,
java.lang.String elementId,
java.lang.String fieldName)
- Specified by:
createRemoveOption in interface ComponentFactory
createAddOption
public Component createAddOption(java.lang.String id,
java.lang.String fieldName)
- Specified by:
createAddOption in interface ComponentFactory
createErrorMessage
public Component createErrorMessage(java.lang.Exception e,
boolean isDebug)
- Specified by:
createErrorMessage in interface ComponentFactory
createForm
public Form createForm(java.lang.String id,
java.lang.String actionName,
int step,
int noOfPages,
boolean isEditing)
- Specified by:
createForm in interface ComponentFactory
createHeading
public Component createHeading(java.lang.String name)
- Specified by:
createHeading in interface ComponentFactory
createInlineBlock
public Component createInlineBlock(java.lang.String style,
java.lang.String text,
java.lang.String description)
- Specified by:
createInlineBlock in interface ComponentFactory
createCheckboxBlock
public Component createCheckboxBlock(boolean isEditable,
boolean isSet)
- Specified by:
createCheckboxBlock in interface ComponentFactory
createSubmenu
public Component createSubmenu(java.lang.String menuName,
Component[] items)
- Specified by:
createSubmenu in interface ComponentFactory
createLink
public Component createLink(java.lang.String link,
java.lang.String name,
java.lang.String description)
- Specified by:
createLink in interface ComponentFactory
createMenuItem
public Component createMenuItem(java.lang.String actionId,
java.lang.String name,
java.lang.String description,
java.lang.String reasonDisabled,
NakedObjectActionType type,
boolean hasParameters,
java.lang.String targetObjectId)
- Specified by:
createMenuItem in interface ComponentFactory
createCollectionIcon
public Component createCollectionIcon(NakedObject collection,
java.lang.String collectionId)
- Specified by:
createCollectionIcon in interface ComponentFactory
createObjectIcon
public Component createObjectIcon(NakedObject object,
java.lang.String objectId,
java.lang.String style)
- Specified by:
createObjectIcon in interface ComponentFactory
createObjectIcon
public Component createObjectIcon(NakedObjectAssociation field,
NakedObject object,
java.lang.String objectId,
java.lang.String style)
- Specified by:
createObjectIcon in interface ComponentFactory
createPage
public Page createPage()
- Specified by:
createPage in interface ComponentFactory
createLogonPage
public LogonFormPage createLogonPage(java.lang.String user,
java.lang.String password)
createService
public Component createService(java.lang.String objectId,
java.lang.String title,
java.lang.String iconName)
- Specified by:
createService in interface ComponentFactory
createTable
public Table createTable(int noColumns,
boolean withSelectorColumn)
- Specified by:
createTable in interface ComponentFactory
createUserSwap
public Component createUserSwap(java.lang.String name)
- Specified by:
createUserSwap in interface ComponentFactory
createParseableField
public Component createParseableField(NakedObjectAssociation field,
NakedObject value,
boolean isEditable)
- Specified by:
createParseableField in interface ComponentFactory
value - -
may be null so subclass should handle.
- Returns:
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.