|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractField<java.lang.Object>
com.vaadin.ui.AbstractSelect
com.vaadin.ui.Tree
public class Tree
Tree component. A Tree can be used to select an item (or multiple items) from a hierarchical set of items.
Nested Class Summary | |
---|---|
static class |
Tree.CollapseEvent
Collapse event |
static interface |
Tree.CollapseListener
Collapse event listener. |
static class |
Tree.ExpandEvent
Event to fired when a node is expanded. |
static interface |
Tree.ExpandListener
Expand event listener. |
static interface |
Tree.ItemStyleGenerator
ItemStyleGenerator can be used to add custom styles to tree items. |
class |
Tree.TargetInSubtree
An accept criterion that checks the parent node (or parent hierarchy) for the item identifier given in constructor. |
static class |
Tree.TargetItemAllowsChildren
A criterion that accepts Transferable only directly on a tree
node that can have children. |
static class |
Tree.TreeDragMode
Supported drag modes for Tree. |
static class |
Tree.TreeDropCriterion
Lazy loading accept criterion for Tree. |
class |
Tree.TreeTargetDetails
A TargetDetails implementation with Tree specific api. |
protected class |
Tree.TreeTransferable
Concrete implementation of DataBoundTransferable for data
transferred from a tree. |
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractField |
---|
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent |
Nested classes/interfaces inherited from interface com.vaadin.data.Container |
---|
Container.Editor, Container.Filter, Container.Filterable, Container.Hierarchical, Container.Indexed, Container.ItemSetChangeEvent, Container.ItemSetChangeListener, Container.ItemSetChangeNotifier, Container.Ordered, Container.PropertySetChangeEvent, Container.PropertySetChangeListener, Container.PropertySetChangeNotifier, Container.SimpleFilterable, Container.Sortable, Container.Viewer |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
---|
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener |
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable |
---|
Sizeable.Unit |
Nested classes/interfaces inherited from interface com.vaadin.ui.Field |
---|
Field.ValueChangeEvent |
Nested classes/interfaces inherited from interface com.vaadin.data.Buffered |
---|
Buffered.SourceException |
Nested classes/interfaces inherited from interface com.vaadin.data.Property |
---|
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer |
Field Summary |
---|
Fields inherited from class com.vaadin.ui.AbstractSelect |
---|
ITEM_CAPTION_MODE_EXPLICIT, ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID, ITEM_CAPTION_MODE_ICON_ONLY, ITEM_CAPTION_MODE_ID, ITEM_CAPTION_MODE_INDEX, ITEM_CAPTION_MODE_ITEM, ITEM_CAPTION_MODE_PROPERTY, itemIdMapper, items |
Fields inherited from class com.vaadin.ui.AbstractComponent |
---|
DESIGN_ATTR_PLAIN_TEXT |
Fields inherited from interface com.vaadin.server.Sizeable |
---|
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
Tree()
Creates a new empty tree. |
|
Tree(java.lang.String caption)
Creates a new empty tree with caption. |
|
Tree(java.lang.String caption,
Container dataSource)
Creates a new tree with caption and connect it to a Container. |
Method Summary | |
---|---|
void |
addActionHandler(Action.Handler actionHandler)
Adds an action handler. |
void |
addCollapseListener(Tree.CollapseListener listener)
Adds the collapse listener. |
void |
addExpandListener(Tree.ExpandListener listener)
Adds the expand listener. |
void |
addItemClickListener(ItemClickEvent.ItemClickListener listener)
Register a listener to handle ItemClickEvent s. |
void |
addListener(ItemClickEvent.ItemClickListener listener)
Deprecated. As of 7.0, replaced by #addItemClickListener(ItemClickListener) |
void |
addListener(Tree.CollapseListener listener)
Deprecated. As of 7.0, replaced by addCollapseListener(CollapseListener) |
void |
addListener(Tree.ExpandListener listener)
Deprecated. As of 7.0, replaced by addExpandListener(ExpandListener) |
boolean |
areChildrenAllowed(java.lang.Object itemId)
Tests if the Item with given ID can have any children. |
void |
changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables)
Invoked when the value of a variable has changed. |
boolean |
collapseItem(java.lang.Object itemId)
Collapses an item. |
boolean |
collapseItemsRecursively(java.lang.Object startItemId)
Collapses the items recursively. |
void |
containerItemSetChange(Container.ItemSetChangeEvent event)
Lets the listener know a Containers Item set has changed. |
boolean |
expandItem(java.lang.Object itemId)
Expands an item. |
boolean |
expandItemsRecursively(java.lang.Object startItemId)
Expands the items recursively Expands all the children recursively starting from an item. |
protected void |
fireCollapseEvent(java.lang.Object itemId)
Emits collapse event. |
protected void |
fireExpandEvent(java.lang.Object itemId)
Emits the expand event. |
java.util.Collection<?> |
getChildren(java.lang.Object itemId)
Gets the IDs of all Items that are children of the specified Item. |
Tree.TreeDragMode |
getDragMode()
|
DropHandler |
getDropHandler()
|
AbstractSelect.ItemDescriptionGenerator |
getItemDescriptionGenerator()
Get the item description generator which generates tooltips for tree items |
java.lang.String |
getItemIconAlternateText(java.lang.Object itemId)
Return the alternate text of an icon in a tree item. |
Tree.ItemStyleGenerator |
getItemStyleGenerator()
|
com.vaadin.shared.ui.MultiSelectMode |
getMultiselectMode()
Returns the mode the multiselect is in. |
java.lang.Object |
getParent(java.lang.Object itemId)
Gets the ID of the parent Item of the specified Item. |
Transferable |
getTransferable(java.util.Map<java.lang.String,java.lang.Object> payload)
DragSource may convert data added by client side component to meaningful values for server side developer or add other data based on it. |
java.util.Collection<?> |
getVisibleItemIds()
Gets the visible item ids. |
boolean |
hasChildren(java.lang.Object itemId)
Tests if the Item specified with itemId has child Items. |
boolean |
isExpanded(java.lang.Object itemId)
Check is an item is expanded |
boolean |
isRoot(java.lang.Object itemId)
Tests if the Item specified with itemId is a root Item. |
boolean |
isSelectable()
Returns the current selectable state. |
void |
markAsDirty()
Marks that this connector's state might have changed. |
void |
paintContent(PaintTarget target)
Paints any needed component-specific things to the given UIDL stream. |
protected java.lang.String |
readItem(org.jsoup.nodes.Element node,
java.util.Set<java.lang.String> selected,
DesignContext context)
Reads an Item from a design and inserts it into the data source. |
void |
removeActionHandler(Action.Handler actionHandler)
Removes an action handler. |
void |
removeAllActionHandlers()
Removes all action handlers |
void |
removeCollapseListener(Tree.CollapseListener listener)
Removes the collapse listener. |
void |
removeExpandListener(Tree.ExpandListener listener)
Removes the expand listener. |
boolean |
removeItem(java.lang.Object itemId)
Removes the Item identified by ItemId from the Container. |
void |
removeItemClickListener(ItemClickEvent.ItemClickListener listener)
Removes an ItemClickListener. |
void |
removeListener(ItemClickEvent.ItemClickListener listener)
Deprecated. As of 7.0, replaced by #removeItemClickListener(ItemClickListener) |
void |
removeListener(Tree.CollapseListener listener)
Deprecated. As of 7.0, replaced by removeCollapseListener(CollapseListener) |
void |
removeListener(Tree.ExpandListener listener)
Deprecated. As of 7.0, replaced by removeExpandListener(ExpandListener) |
java.util.Collection<?> |
rootItemIds()
Gets the IDs of all Items in the container that don't have a parent. |
boolean |
setChildrenAllowed(java.lang.Object itemId,
boolean areChildrenAllowed)
Sets the given Item's capability to have children. |
void |
setContainerDataSource(Container newDataSource)
Sets the Container that serves as the data source of the viewer. |
void |
setDragMode(Tree.TreeDragMode dragMode)
Sets the drag mode that controls how Tree behaves as a DragSource
. |
void |
setDropHandler(DropHandler dropHandler)
|
void |
setItemDescriptionGenerator(AbstractSelect.ItemDescriptionGenerator generator)
Set the item description generator which generates tooltips for the tree items |
void |
setItemIcon(java.lang.Object itemId,
Resource icon)
Sets the icon for an item. |
void |
setItemIcon(java.lang.Object itemId,
Resource icon,
java.lang.String altText)
Sets the icon for an item. |
void |
setItemIconAlternateText(java.lang.Object itemId,
java.lang.String altText)
Set the alternate text for an item. |
void |
setItemStyleGenerator(Tree.ItemStyleGenerator itemStyleGenerator)
Sets the Tree.ItemStyleGenerator to be used with this tree. |
void |
setMultiselectMode(com.vaadin.shared.ui.MultiSelectMode mode)
Sets the behavior of the multiselect mode |
void |
setNewItemsAllowed(boolean allowNewOptions)
Adding new items is not supported. |
void |
setNullSelectionItemId(java.lang.Object nullSelectionItemId)
Tree does not support setNullSelectionItemId . |
boolean |
setParent(java.lang.Object itemId,
java.lang.Object newParentId)
Sets the parent of an Item. |
void |
setSelectable(boolean selectable)
Sets the selectable state. |
Tree.TreeTargetDetails |
translateDropTargetDetails(java.util.Map<java.lang.String,java.lang.Object> clientVariables)
Called before the DragAndDropEvent is passed to
DropHandler . |
protected org.jsoup.nodes.Element |
writeItem(org.jsoup.nodes.Element design,
java.lang.Object itemId,
DesignContext context)
Recursively writes a data source Item and its children to a design. |
protected void |
writeItems(org.jsoup.nodes.Element design,
DesignContext context)
Recursively writes the root items and their children to a design. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.vaadin.data.Container |
---|
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, size |
Methods inherited from interface com.vaadin.ui.Component |
---|
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, readDesign, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible, writeDesign |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Methods inherited from interface com.vaadin.server.Sizeable |
---|
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined |
Methods inherited from interface com.vaadin.server.VariableOwner |
---|
isEnabled, isImmediate |
Methods inherited from interface com.vaadin.event.Action.ShortcutNotifier |
---|
addShortcutListener, removeShortcutListener |
Constructor Detail |
---|
public Tree()
public Tree(java.lang.String caption)
caption
- public Tree(java.lang.String caption, Container dataSource)
caption
- dataSource
- Method Detail |
---|
public void setItemIcon(java.lang.Object itemId, Resource icon)
AbstractSelect
setItemIcon
in class AbstractSelect
itemId
- the id of the item to be assigned an icon.icon
- the icon to use or null.public void setItemIcon(java.lang.Object itemId, Resource icon, java.lang.String altText)
itemId
- the id of the item to be assigned an icon.icon
- the icon to use or null.altText
- the alternative text for the iconpublic void setItemIconAlternateText(java.lang.Object itemId, java.lang.String altText)
itemId
- the id of the item to be assigned an icon.altText
- the alternative text for the iconpublic java.lang.String getItemIconAlternateText(java.lang.Object itemId)
itemId
- Object with the ID of the item
public boolean isExpanded(java.lang.Object itemId)
itemId
- the item id.
public boolean expandItem(java.lang.Object itemId)
itemId
- the item id.
public void markAsDirty()
ClientConnector
ClientConnector.beforeClientResponse(boolean)
followed by ClientConnector.encodeState()
for all connectors that are marked as dirty and send any updated state
info to the client.
markAsDirty
in interface ClientConnector
markAsDirty
in interface LegacyComponent
markAsDirty
in class AbstractClientConnector
ClientConnector.markAsDirty()
public boolean expandItemsRecursively(java.lang.Object startItemId)
startItemId
-
public boolean collapseItem(java.lang.Object itemId)
itemId
- the item id.
public boolean collapseItemsRecursively(java.lang.Object startItemId)
startItemId
-
public boolean isSelectable()
AbstractSelect.setValue(Object)
or AbstractSelect.select(Object)
.
The tree is selectable by default.
public void setSelectable(boolean selectable)
AbstractSelect.setValue(Object)
or AbstractSelect.select(Object)
.
The tree is selectable by default.
selectable
- The new selectable state.public void setMultiselectMode(com.vaadin.shared.ui.MultiSelectMode mode)
mode
- The mode to setpublic com.vaadin.shared.ui.MultiSelectMode getMultiselectMode()
public void changeVariables(java.lang.Object source, java.util.Map<java.lang.String,java.lang.Object> variables)
AbstractSelect
changeVariables
in interface VariableOwner
changeVariables
in class AbstractSelect
source
- the Source of the variable change. This is the origin of the
event. For example in Web Adapter this is the request.variables
- the Mapping from variable names to new variable values.com.vaadin.ui.AbstractComponent#changeVariables(java.lang.Object,
java.util.Map)
public void paintContent(PaintTarget target) throws PaintException
paintContent
in interface LegacyComponent
paintContent
in class AbstractSelect
target
- the Paint Event.
PaintException
- if the paint operation failed.com.vaadin.ui.AbstractComponent#paintContent(PaintTarget)
public boolean areChildrenAllowed(java.lang.Object itemId)
areChildrenAllowed
in interface Container.Hierarchical
itemId
- ID of the Item in the container whose child capability is
to be tested
true
if the specified Item exists in the
Container and it can have children, false
if
it's not found from the container or it can't have children.Container.Hierarchical.areChildrenAllowed(Object)
public java.util.Collection<?> getChildren(java.lang.Object itemId)
getChildren
in interface Container.Hierarchical
itemId
- ID of the Item whose children the caller is interested in
collection
containing the IDs of all other Items that are children in
the container hierarchyContainer.Hierarchical.getChildren(Object)
public java.lang.Object getParent(java.lang.Object itemId)
getParent
in interface Container.Hierarchical
itemId
- ID of the Item whose parent the caller wishes to find out.
null
if the
specified Item is a root element.Container.Hierarchical.getParent(Object)
public boolean hasChildren(java.lang.Object itemId)
itemId
has child Items.
hasChildren
in interface Container.Hierarchical
itemId
- ID of the Item to be tested
true
if the specified Item has children,
false
if not (is a leaf)Container.Hierarchical.hasChildren(Object)
public boolean isRoot(java.lang.Object itemId)
itemId
is a root Item.
isRoot
in interface Container.Hierarchical
itemId
- ID of the Item whose root status is to be tested
true
if the specified Item is a root,
false
if notContainer.Hierarchical.isRoot(Object)
public java.util.Collection<?> rootItemIds()
rootItemIds
in interface Container.Hierarchical
collection
containing IDs of all root elements of the containerContainer.Hierarchical.rootItemIds()
public boolean setChildrenAllowed(java.lang.Object itemId, boolean areChildrenAllowed)
setChildrenAllowed
in interface Container.Hierarchical
itemId
- ID of the Item in the container whose child capability is
to be setareChildrenAllowed
- boolean value specifying if the Item can have children or
not
true
if the operation succeeded,
false
if notContainer.Hierarchical.setChildrenAllowed(Object,
boolean)
public boolean setParent(java.lang.Object itemId, java.lang.Object newParentId)
Container.Hierarchical
Sets the parent of an Item. The new parent item must exist and be
able to have children. (
). It is
also possible to detach a node from the hierarchy (and thus make it
root) by setting the parent Container.Hierarchical.areChildrenAllowed(Object)
== truenull
.
This operation is optional.
setParent
in interface Container.Hierarchical
itemId
- ID of the item to be set as the child of the Item
identified with newParentId
newParentId
- ID of the Item that's to be the new parent of the Item
identified with itemId
true
if the operation succeeded,
false
if notpublic void setContainerDataSource(Container newDataSource)
setContainerDataSource
in interface Container.Viewer
setContainerDataSource
in class AbstractSelect
newDataSource
- the new data source.Container.Viewer.setContainerDataSource(Container)
public void containerItemSetChange(Container.ItemSetChangeEvent event)
AbstractSelect
containerItemSetChange
in interface Container.ItemSetChangeListener
containerItemSetChange
in class AbstractSelect
event
- change event textContainer.ItemSetChangeListener.containerItemSetChange(com.vaadin.data.Container.ItemSetChangeEvent)
public void addExpandListener(Tree.ExpandListener listener)
listener
- the Listener to be added.@Deprecated public void addListener(Tree.ExpandListener listener)
addExpandListener(ExpandListener)
public void removeExpandListener(Tree.ExpandListener listener)
listener
- the Listener to be removed.@Deprecated public void removeListener(Tree.ExpandListener listener)
removeExpandListener(ExpandListener)
protected void fireExpandEvent(java.lang.Object itemId)
itemId
- the item id.public void addCollapseListener(Tree.CollapseListener listener)
listener
- the Listener to be added.@Deprecated public void addListener(Tree.CollapseListener listener)
addCollapseListener(CollapseListener)
public void removeCollapseListener(Tree.CollapseListener listener)
listener
- the Listener to be removed.@Deprecated public void removeListener(Tree.CollapseListener listener)
removeCollapseListener(CollapseListener)
protected void fireCollapseEvent(java.lang.Object itemId)
itemId
- the item id.public void addActionHandler(Action.Handler actionHandler)
addActionHandler
in interface Action.Container
actionHandler
- the new handler to be added.Action.Container.addActionHandler(Action.Handler)
public void removeActionHandler(Action.Handler actionHandler)
removeActionHandler
in interface Action.Container
actionHandler
- the handler to be removed.Action.Container.removeActionHandler(Action.Handler)
public void removeAllActionHandlers()
public java.util.Collection<?> getVisibleItemIds()
getVisibleItemIds
in class AbstractSelect
AbstractSelect.getVisibleItemIds()
public void setNullSelectionItemId(java.lang.Object nullSelectionItemId) throws java.lang.UnsupportedOperationException
setNullSelectionItemId
.
setNullSelectionItemId
in class AbstractSelect
nullSelectionItemId
- the nullSelectionItemId to set.
java.lang.UnsupportedOperationException
AbstractSelect.setNullSelectionItemId(java.lang.Object)
public void setNewItemsAllowed(boolean allowNewOptions) throws java.lang.UnsupportedOperationException
setNewItemsAllowed
in class AbstractSelect
allowNewOptions
- the New value of property allowNewOptions.
java.lang.UnsupportedOperationException
- if set to true.AbstractSelect.setNewItemsAllowed(boolean)
public void addItemClickListener(ItemClickEvent.ItemClickListener listener)
ItemClickEvent.ItemClickNotifier
ItemClickEvent
s.
addItemClickListener
in interface ItemClickEvent.ItemClickNotifier
listener
- ItemClickListener to be registered@Deprecated public void addListener(ItemClickEvent.ItemClickListener listener)
#addItemClickListener(ItemClickListener)
addListener
in interface ItemClickEvent.ItemClickNotifier
public void removeItemClickListener(ItemClickEvent.ItemClickListener listener)
ItemClickEvent.ItemClickNotifier
removeItemClickListener
in interface ItemClickEvent.ItemClickNotifier
listener
- ItemClickListener to be removed@Deprecated public void removeListener(ItemClickEvent.ItemClickListener listener)
#removeItemClickListener(ItemClickListener)
removeListener
in interface ItemClickEvent.ItemClickNotifier
public void setItemStyleGenerator(Tree.ItemStyleGenerator itemStyleGenerator)
Tree.ItemStyleGenerator
to be used with this tree.
itemStyleGenerator
- item style generator or null to remove generatorpublic Tree.ItemStyleGenerator getItemStyleGenerator()
Tree.ItemStyleGenerator
for this tree. Null if
Tree.ItemStyleGenerator
is not set.public boolean removeItem(java.lang.Object itemId) throws java.lang.UnsupportedOperationException
Container
ItemId
from the Container.
Containers that support filtering should also allow removing an item that is currently filtered out.
This functionality is optional.
removeItem
in interface Container
removeItem
in interface Container.Hierarchical
removeItem
in class AbstractSelect
itemId
- ID of the Item to remove
true
if the operation succeeded, false
if not
java.lang.UnsupportedOperationException
- if the container does not support removing individual itemspublic DropHandler getDropHandler()
getDropHandler
in interface DropTarget
public void setDropHandler(DropHandler dropHandler)
public Tree.TreeTargetDetails translateDropTargetDetails(java.util.Map<java.lang.String,java.lang.Object> clientVariables)
DropTarget
DragAndDropEvent
is passed to
DropHandler
. Implementation may for example translate the drop
target details provided by the client side (drop target) to meaningful
server side values. If null is returned the terminal implementation will
automatically create a TargetDetails
with raw client side data.
translateDropTargetDetails
in interface DropTarget
clientVariables
- data passed from the DropTargets client side counterpart.
DragSource.getTransferable(Map)
public void setDragMode(Tree.TreeDragMode dragMode)
DragSource
.
dragMode
- public Tree.TreeDragMode getDragMode()
DragSource
.Tree.TreeDragMode
public Transferable getTransferable(java.util.Map<java.lang.String,java.lang.Object> payload)
DragSource
For example Tree converts item identifiers to generated string keys for
the client side. Vaadin developer don't and can't know anything about
these generated keys, only about item identifiers. When tree node is
dragged client puts that key to Transferable
s client side
counterpart. In getTransferable(Map)
the key is converted
back to item identifier that the server side developer can use.
getTransferable
in interface DragSource
payload
- the data that client side initially included in
Transferable
s client side counterpart.
Transferable
instance that will be passed to
DropHandler
(and/or AcceptCriterion
)public void setItemDescriptionGenerator(AbstractSelect.ItemDescriptionGenerator generator)
generator
- The generator to use or null to disablepublic AbstractSelect.ItemDescriptionGenerator getItemDescriptionGenerator()
protected java.lang.String readItem(org.jsoup.nodes.Element node, java.util.Set<java.lang.String> selected, DesignContext context)
readItem
in class AbstractSelect
node
- an element representing the item (tree node).selected
- A set accumulating selected items. If the item that is read is
marked as selected, its item id should be added to this set.context
- the DesignContext instance used in parsing
DesignException
- if the tag name of the node
element is not
node
.protected void writeItems(org.jsoup.nodes.Element design, DesignContext context)
writeItems
in class AbstractSelect
design
- the element into which to insert the itemscontext
- the DesignContext instance used in writingprotected org.jsoup.nodes.Element writeItem(org.jsoup.nodes.Element design, java.lang.Object itemId, DesignContext context)
writeItem
in class AbstractSelect
design
- the element into which to insert the itemitemId
- the id of the item to writecontext
- the DesignContext instance used in writing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |