|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.aragost.araspect.HtmlUtils
Constructor Summary | |
HtmlUtils(Inspector inspector)
Creates a new HtmlUtils object. |
Method Summary | |
Element |
createBooleanEditElement(Path path,
PathElement elm,
boolean withNull)
Create an HTML element to edit a Boolean or boolean field |
Element |
createEditElement(Path path,
PathElement elm,
boolean withNull)
Create an HTML element to edit a field |
Element |
createExecuteButton(Path path,
PathElement elm)
|
Link |
createOmniDocLink(java.lang.Class type,
java.lang.String label)
Create a link element that links to omnidoc |
Link |
createOmniDocLink(java.lang.Object obj,
java.lang.Class type)
Create a link element that links to omnidoc |
CellHeader |
createRowHeader(Path path,
TableEntry entry,
int modifierMask)
Create a CellHeader that is meant to be the label of the row represented by the specified TableEntry. |
Table |
createSubHeaderedTable(java.lang.String mainTitle,
java.lang.String[] subTitles,
java.util.List entries,
Path path,
int modifierMask)
|
Table |
createTable(java.lang.String mainTitle,
java.lang.String[] subTitles,
java.util.List entries,
Path path,
int modifierMask)
|
Table |
createTable(java.lang.String title,
java.lang.String[] subTitles,
java.util.Map map,
Path path,
MapEvaluator evaluator)
Create a table with values from a Map |
Inspector |
getInspector()
Gets the inspector. |
Element |
pathElement(Path path)
Create an html Element to represent the current path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlUtils(Inspector inspector)
inspector
- The inspector for this util objectMethod Detail |
public Element createEditElement(Path path, PathElement elm, boolean withNull)
path
- The path to the containing objectelm
- The element corresponding to the fieldwithNull
- Can it be set to null?
public Element createBooleanEditElement(Path path, PathElement elm, boolean withNull)
path
- The path to the containing objectelm
- The element corresponding to the fieldwithNull
- Can it be set to null?
public Table createTable(java.lang.String title, java.lang.String[] subTitles, java.util.Map map, Path path, MapEvaluator evaluator)
title
- The title of the tablemap
- The mappath
- Path that will evaluate to the map
public Element createExecuteButton(Path path, PathElement elm)
public CellHeader createRowHeader(Path path, TableEntry entry, int modifierMask)
public Link createOmniDocLink(java.lang.Object obj, java.lang.Class type)
public Link createOmniDocLink(java.lang.Class type, java.lang.String label)
public Table createSubHeaderedTable(java.lang.String mainTitle, java.lang.String[] subTitles, java.util.List entries, Path path, int modifierMask)
public Table createTable(java.lang.String mainTitle, java.lang.String[] subTitles, java.util.List entries, Path path, int modifierMask)
public Element pathElement(Path path)
public Inspector getInspector()
|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |