public class NBoxOptions extends DvtExtendedPatternOptions
NBoxOptions.
Binding options that allow the user to change the structure and functionality
of a NBox.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FACET_NAME_COLUMNS
Standard facet name for columns.
|
static java.lang.String |
FACET_NAME_ROWS
Standard facet name for rows.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges(BinderParams binderParams,
org.w3c.dom.Element elementNBox)
Applies changes from this set of properties to the subtree rooted by the
bind root in the bind params.
|
static NBoxOptions |
cloneFrom(NBoxOptions options)
Creates an options class from the specified options class, transferring any common properties
|
NBoxBindingOptions |
getBindingOptions()
Returns the
BindingOptions of this pattern if present. |
java.lang.String |
getColumnsTitle()
Retrieves the Columns title associated with the NBox.
|
NBoxExtendedProperties |
getExtendedProperties()
Returns the
ExtendedProperties of this pattern if present. |
java.util.HashMap<java.lang.String,java.util.List<NBoxRowOptions>> |
getHashMapFacetNameToNBoxRowOptions() |
java.util.List<NBoxColumnOptions> |
getNBoxColumnOptions()
Retrieves the
List of NBoxColumnOptions associated with the NBox. |
NBoxNodeOptions |
getNBoxNodeOptions()
Retrieves the
NBoxNodeOptions associated with the NBox. |
java.util.List<NBoxRowOptions> |
getNBoxRowOptions()
Retrieves the
List of NBoxRowOptions associated with the NBox. |
java.lang.String |
getRowsTitle()
Retrieves the Rows title associated with the NBox.
|
boolean |
isRebind(org.w3c.dom.Element elementRoot) |
MarkerOptions |
makeMarkerOptions()
Marker constructor. |
NBoxColumnOptions |
makeNBoxColumnOptions()
NBoxColumnOptions constructor. |
NBoxNodeOptions |
makeNBoxNodeOptions()
NBoxNodeOptions constructor. |
NBoxRowOptions |
makeNBoxRowOptions()
NBoxRowOptions constructor. |
java.lang.String |
setColumnsTitle(java.lang.String strColumnsTitle)
Specifies the Columns title associated with the NBox.
|
void |
setNBoxColumnOptions(java.lang.String strFacetName,
java.util.List<NBoxColumnOptions> listNBoxColumnOptions)
Specifies the
List of NBoxColumnOptions associated with the NBox. |
void |
setNBoxNodeOptions(NBoxNodeOptions nboxNodeOptions)
Specifies the
NBoxNodeOptions associated with the NBox. |
void |
setNBoxRowOptions(java.lang.String strFacetName,
java.util.List<NBoxRowOptions> listNBoxRowOptions)
Specifies the
List of NBoxRowOptions associated with the NBox. |
java.lang.String |
setRowsTitle(java.lang.String strRowsTitle)
Specifies the Rows title associated with the NBox.
|
mergepublic static final java.lang.String FACET_NAME_ROWS
public static final java.lang.String FACET_NAME_COLUMNS
public void applyChanges(BinderParams binderParams, org.w3c.dom.Element elementNBox)
binderParams - The bind params containing the binding rootelementNBox - A Elementpublic NBoxExtendedProperties getExtendedProperties()
ExtendedProperties of this pattern if present.
Properties may be set on the extended properties until the component is
bound.getExtendedProperties in class ExtendedPatternOptionspublic NBoxBindingOptions getBindingOptions()
DvtExtendedPatternOptionsBindingOptions of this pattern if present.
Binding related properties may be set on the BindingOptions class until the component is
bound.getBindingOptions in class DvtExtendedPatternOptionsBindingOptions that contains component specific options used by the binding task.
Check the component's options class for the specific implementation of BindingOptions used by that component.
For instance: charts are using ChartBindingOptionspublic static NBoxOptions cloneFrom(NBoxOptions options)
options - the options class that properties will be transferred frompublic boolean isRebind(org.w3c.dom.Element elementRoot)
public NBoxColumnOptions makeNBoxColumnOptions()
NBoxColumnOptions constructor.NBoxColumnOptionspublic NBoxRowOptions makeNBoxRowOptions()
NBoxRowOptions constructor.NBoxRowOptionspublic NBoxNodeOptions makeNBoxNodeOptions()
NBoxNodeOptions constructor.NBoxNodeOptionspublic MarkerOptions makeMarkerOptions()
Marker constructor.MarkerOptionspublic void setNBoxRowOptions(java.lang.String strFacetName,
java.util.List<NBoxRowOptions> listNBoxRowOptions)
List of NBoxRowOptions associated with the NBox.strFacetName - A String representing the facet name.listNBoxRowOptions - A List of NBoxRowOptions associated with the NBox.FACET_NAME_ROWSpublic java.util.List<NBoxRowOptions> getNBoxRowOptions()
List of NBoxRowOptions associated with the NBox.List of NBoxRowOptions associated with the NBox.public void setNBoxColumnOptions(java.lang.String strFacetName,
java.util.List<NBoxColumnOptions> listNBoxColumnOptions)
List of NBoxColumnOptions associated with the NBox.strFacetName - A String representing the facet name.listNBoxColumnOptions - A List of NBoxColumnOptions associated with the NBox.FACET_NAME_COLUMNSpublic java.util.List<NBoxColumnOptions> getNBoxColumnOptions()
List of NBoxColumnOptions associated with the NBox.List of NBoxColumnOptionss associated with the NBox.public void setNBoxNodeOptions(NBoxNodeOptions nboxNodeOptions)
NBoxNodeOptions associated with the NBox.nboxNodeOptions - A NBoxNodeOptions associated with the NBox.public NBoxNodeOptions getNBoxNodeOptions()
NBoxNodeOptions associated with the NBox.NBoxNodeOptions associated with the NBox.public java.lang.String setRowsTitle(java.lang.String strRowsTitle)
strRowsTitle - A String representing the Rows Title associated with the NBox.public java.lang.String getRowsTitle()
String representing the Rows Title associated with the NBox.public java.lang.String setColumnsTitle(java.lang.String strColumnsTitle)
strColumnsTitle - A String representing the Columns Title associated with the NBox.public java.lang.String getColumnsTitle()
String representing the Columns Title associated with the NBox.public java.util.HashMap<java.lang.String,java.util.List<NBoxRowOptions>> getHashMapFacetNameToNBoxRowOptions()