public class HtmlDBClass extends HTMLComponent implements HtmlDBClassPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
FIELD_ATTRIBUTES |
static java.lang.String[] |
FIELD_VALUE |
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HtmlDBClass(DBClassAbstract abstractClass) |
HtmlDBClass(DBClassAbstract abstractClass,
HtmlDBClassPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
void |
compile(ClientBrowser browser)
This is the spot to put all your generation
of the HTML components.
|
HTMLAbstractAnchor |
makeDBClassAnchor(DBClassAbstract dbClass) |
HTMLAbstractAnchor |
makeFieldAnchor(DBField field) |
static java.lang.String |
makeFieldLabel(DBField field,
boolean longFormat) |
HTMLAbstractAnchor |
makeLinkAnchor(DBField field) |
static java.lang.String |
makePathToRoot(DBClassAbstract theClass) |
void |
setPathToRoot(java.lang.String path) |
void |
setSkeletonTree(boolean flag) |
void |
setWidth(java.lang.String width)
Set the width of this component
|
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerate, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touch
public static final java.lang.String[] FIELD_ATTRIBUTES
public static final java.lang.String[] FIELD_VALUE
public HtmlDBClass(DBClassAbstract abstractClass)
abstractClass
- public HtmlDBClass(DBClassAbstract abstractClass, HtmlDBClassPlugin plugin)
abstractClass
- plugin
- public void setSkeletonTree(boolean flag)
flag
- public void setWidth(java.lang.String width)
width
- public void compile(ClientBrowser browser)
HTMLComponent
compile
in class HTMLComponent
browser
- public static java.lang.String makeFieldLabel(DBField field, boolean longFormat)
field
- The fieldlongFormat
- public void setPathToRoot(java.lang.String path)
path
- public static java.lang.String makePathToRoot(DBClassAbstract theClass)
theClass
- The classpublic HTMLAbstractAnchor makeLinkAnchor(DBField field)
makeLinkAnchor
in interface HtmlDBClassPlugin
field
- The fieldpublic HTMLAbstractAnchor makeDBClassAnchor(DBClassAbstract dbClass)
makeDBClassAnchor
in interface HtmlDBClassPlugin
dbClass
- the classpublic HTMLAbstractAnchor makeFieldAnchor(DBField field)
makeFieldAnchor
in interface HtmlDBClassPlugin
field
- The fieldstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.