Package | Description |
---|---|
org.fireweb | |
org.fireweb.css | |
org.fireweb.html |
Modifier and Type | Class and Description |
---|---|
class |
FireWebApplication
Element represent FireWeb application.
|
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
Element.clearElements(java.lang.Class<T> c)
Removes all children elements of this element.
|
<T extends Element> |
Element.findElement(java.lang.String objectId)
Finds element in application tree.
|
<T extends Element> |
Element.findParent(java.lang.Class<T> c)
Looking for first occurrence parent element in tree with given class
type.
|
static <T extends Element> |
Utils.findParent(java.lang.Class<T> c,
Element curr)
Looking in object tree parent object of given class type.
|
<T extends Element> |
Element.findViewElements(java.lang.Class<T> c)
Returns unmodifiable children list of element selected by any class type
of objects lying on element and elements in tree view where parent is
this element.
|
<T extends Element> |
Event.getElement()
Get element on which event had happen.
|
<T extends Element> |
Element.getElements(java.lang.Class<T> c)
Returns unmodifiable children list of this element selected by Element
subclass type and lying on this element.
|
<T extends Element> |
Element.getParent()
Return parent element.
|
Modifier and Type | Method and Description |
---|---|
Element |
Element.add(Element object)
Adds element to end of list of element lying on this element.
|
Element |
Element.addAllDropTargets(java.util.Collection<Element> drops)
Add collection of drop target elements.
|
Element |
Element.addDropTarget(Element dropTarget)
Add drop target element.
|
Element |
Element.addListener(EventListener el)
Add event to listen.
|
Element |
Element.addStyleClass(java.lang.String tagClass)
Add style class to list.
|
Element |
Element.alert(java.lang.String text)
Calls JavaScript alert()
|
Element |
Element.assignText(java.lang.String text)
Set text body value without changing object state and without sending
JavaScript to browser.
|
Element |
Element.callBack(int duration,
java.util.concurrent.TimeUnit unit)
Calls timer JavaScript to call back to the server without event options.
|
Element |
Element.callBack(int duration,
java.util.concurrent.TimeUnit unit,
int options)
Calls timer JavaScript to call back to the server.
|
Element |
Element.callScript(java.lang.String toCall)
Adds script to caller buffer no matter if object view was drown.
|
Element |
Element.clearDropTargets()
Remove all drop target element.
|
Element |
Element.clearElements()
Removes all children elements of this element.
|
<T extends Element> |
Element.clearElements(java.lang.Class<T> c)
Removes all children elements of this element.
|
Element |
Element.confirm(java.lang.String text)
Calls JavaScript confirm() without event processing options.
|
Element |
Element.confirm(java.lang.String text,
int options)
Calls JavaScript confirm().
|
protected Element |
Element.drawAttribute(java.lang.String attrName,
java.lang.Object attrValue)
Draws attribute to response output with it's value: attr=value.
|
static Element |
Utils.findElement(Element current,
java.lang.String objectId)
Find web object in elements tree.
|
Element |
Element.fireEvent(java.lang.Class<? extends EventListener> elc)
Fires event if object is listening on and the event is not browser event.
|
Element |
Element.fireEvent(java.lang.Class<? extends EventListener> elc,
Event we)
Fires event if object is listening on and the event is not browser event.
|
Element |
Element.fireEventOnView(java.lang.Class<? extends EventListener> elc)
Fires event on all objects in the view if objects are listening on and
the event is not browser event.
|
Element |
Element.fireEventOnView(java.lang.Class<? extends EventListener> elc,
Event we)
Fires event on all objects in view if objects are listening on and the
event is not browser event.
|
Element |
Element.firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Shortcut to PropertyChangeSupport method.
|
Element |
Element.focus()
The focus() method is used to give focus to a input or element with
tabIndex >= 0.
|
Element |
Event.getTarget()
Get web element which is the target element of the event.
|
Element |
Element.insert(int index,
Element object)
Insert's child element at given index.
|
Element |
Element.print()
Calls JavaScript print()
|
Element |
Element.prompt(java.lang.String title,
java.lang.String value)
Calls JavaScript prompt() without event processing options.
|
Element |
Element.prompt(java.lang.String title,
java.lang.String value,
int options)
Calls JavaScript prompt().
|
Element |
Element.remove(Element object)
Removes element form elements lying on this element.
|
Element |
Element.remove(int index)
Removes element at index form elements lying on this element.
|
protected Element |
Element.removeAttribute(java.lang.String name)
Calls removeAttribute Java Script on this element.
|
Element |
Element.removeDropTarget(Element dropTarget)
Remove drop target element.
|
Element |
Element.removeListener(java.lang.Class<? extends EventListener> elc)
Removes all event listeners form list of listeners with the class. if
event implements CustomEventListener interface the
disableEventUserJavaScript method is called.
|
Element |
Element.removeListener(EventListener el)
Removes event listener instance form list of listeners. if event
implements CustomEventListener interface the disableEventUserJavaScript
method is called.
|
Element |
Element.removeParent()
Detach the object from parent.
|
Element |
Element.removeStyleClass(java.lang.String tagClass)
Removes style class from the list
|
Element |
Element.replace(int index,
Element object)
Replace child element at given index.
|
Element |
Element.replaceStyleClass(java.lang.String fromClass,
java.lang.String toClass)
Replace style class from regex pattern to new one.
|
protected Element |
Element.setChangeChildrenSet(boolean changed)
Set up if element state changed
|
Element |
Element.setContenteditable(boolean contenteditable) |
Element |
Element.setCustomDragMove(java.lang.String customDragMove)
Set JavaScript function definition or name ones.
|
Element |
Element.setDir(Direction.Type dir)
Set text direction property
|
Element |
Element.setDragDropEventsOptions(DragDropEventsOptions dragDropEventsOptions)
Set options for & events
|
Element |
Element.setDraggable(boolean draggable)
On/Off Drag&Drop of this element.
|
protected Element |
Element.setDrawn(boolean drawn)
Set if element drown.
|
Element |
Element.setEscapeText(boolean escapeText)
Set if inner text is escaping.
|
Element |
Element.setLang(java.lang.String lang)
Set lang property.
|
Element |
Element.setParent(Element parent)
Set parent element of this object.
|
Element |
Element.setStyle(CSS tagStyle)
Set inline style of the element.
|
Element |
Element.setStyleClass(java.lang.String tagClass)
Set new style class.
|
Element |
Element.setTabIndex(java.lang.Integer tabIndex)
Set "tabindex" property and if element drew call script at browser.
|
Element |
Element.setText(java.lang.String text)
Set text body value and changing object state.
|
Element |
Element.setTitle(java.lang.String tagTitle)
Set title property of the element
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Element> |
Element.getDropTargets()
Unmodifiable set of drop targets for this element of Drag&Drop.
|
java.util.List<Element> |
Element.getElements()
Returns unmodifiable children list of this element
|
Modifier and Type | Method and Description |
---|---|
Element |
Element.add(Element object)
Adds element to end of list of element lying on this element.
|
Element |
Element.addDropTarget(Element dropTarget)
Add drop target element.
|
(package private) static void |
Utils.callInitDragDrop(Element ele)
Draw drag event JS
Constants.DRAG_BROWSER_EVENT listener of
Element |
java.lang.String |
CustomEventListener.disableCustomEventJavaScript(Element wo)
Overwrite this method if you want to add script to disable custom event
on browser.
|
(package private) static java.lang.String |
Utils.drawEventHTML(EventListener listener,
Element element,
boolean innerHTML)
This method is calling when html is drawing.
|
(package private) static java.lang.String |
Utils.drawEventScript(EventListener listener,
Element element)
This method is calling when we add listener after html drawing - the
object exist at browser.
|
(package private) static void |
Utils.drawHTML(Element we,
boolean innerHTMLtoJS,
boolean drawIntro)
drawing HTML view below elements of this element in tree.
|
(package private) static java.lang.String |
Utils.drawInitDragDrop(Element ele)
Draw DragDrop initialisation JS string.
|
java.lang.String |
CustomEventListener.enableCustomEventJavaScript(Element wo)
Overwrite this method if you want to add script to enable custom event on
browser.
|
static Element |
Utils.findElement(Element current,
java.lang.String objectId)
Find web object in elements tree.
|
static <T extends Element> |
Utils.findParent(java.lang.Class<T> c,
Element curr)
Looking in object tree parent object of given class type.
|
(package private) static java.lang.String |
Utils.getScriptInnerHTML(Element e)
Returns innerHTML prefix of Element.
|
static java.lang.String |
Utils.getScriptPrefix(Element e)
Returns prefix of FireWeb element selector
|
java.lang.String |
Event.getValue(Element wo)
Looking for value of element at event values.
|
Element |
Element.insert(int index,
Element object)
Insert's child element at given index.
|
Element |
Element.remove(Element object)
Removes element form elements lying on this element.
|
Element |
Element.removeDropTarget(Element dropTarget)
Remove drop target element.
|
Element |
Element.replace(int index,
Element object)
Replace child element at given index.
|
protected void |
Event.setElement(Element element) |
Element |
Element.setParent(Element parent)
Set parent element of this object.
|
protected void |
Event.setTargetWebElement(Element targetWebElement) |
Modifier and Type | Method and Description |
---|---|
Element |
Element.addAllDropTargets(java.util.Collection<Element> drops)
Add collection of drop target elements.
|
Constructor and Description |
---|
Event(Element element)
Create event object with element event context.
|
Modifier and Type | Method and Description |
---|---|
Element |
CSS.getWebElement() |
Modifier and Type | Method and Description |
---|---|
void |
CSS.setWebElement(Element parent)
Sets element of the style.
|
Modifier and Type | Class and Description |
---|---|
class |
Address
The <address> tag defines the contact information for the author or
owner of a document.
|
class |
Anchor
The <a> tag defines an anchor.
|
class |
Bdo
bdo stand for bidirectional override.
|
class |
Blockquote
The <blockquote> tag defines a long quotation.
|
class |
Button
The <button> tag defines a push button.
|
class |
CheckBox
<input type="checkbox" /> defines a checkbox.
|
class |
DefinitionDescription
The <dd> tag is used to describe an item in a definition list.
|
class |
DefinitionList
The <dl> tag defines a definition list.
|
class |
DefinitionTerm
The <dt> tag defines the start of a term in a definition list.
|
class |
DeletedText
Defines text that has been deleted in a document.
|
class |
Div
The <div> tag defines a division or a section in an HTML document.
|
class |
Fieldset
The <fieldset> tag is used to logically group together elements in a
form.
|
class |
Form
By default element have method = Method.Post and enctype = Enctype.Multipart.
|
class |
Heading
The <h1>to <h6>tags are used to define HTML headings.
|
class |
HorizontalRule
The <hr> tag inserts a horizontal rule.
|
class |
Image
The <img> tag embeds an image in an HTML page.
|
class |
Input
The <input> tag is used to select user information.
|
class |
InputButton
<input type="button" /> defines a clickable button, that does not do
anything.
|
class |
InputFile
<input type="file" /> is used for file uploads.
|
class |
InputImage
<input type="image" /> defines an image as a submit button.
|
class |
InputPassword
<input type="password" /> defines a password field.
|
class |
InputText
<input type="text" /> defines a one-line input field that a user can
enter text into.
|
class |
InsertedText
Defines inserted text.
|
class |
Label
The <label> tag defines a label for an input element.
|
class |
Legend
The <legend> tag defines a caption for the fieldset element.
|
class |
LineBreak
The <br> tag inserts a single line break.
|
class |
ListItem
The <li> tag defines a list item.
|
class |
Option
The <option> tag defines an option in a select list.
|
class |
OptionGroup
Defines an option group.
|
class |
OrderedList
The <ol> tag is used to create an ordered list.
|
class |
Paragraph
The <p< tag defines a paragraph.
|
class |
RadioButton
<input type="radio" /> defines a radio button.
|
class |
Select
The <select> tag is used to create a select list (drop-down list).
|
class |
Span
The <span> tag provides no visual change by itself.
|
class |
Table
The <table> tag defines an HTML table.
|
class |
TableCaption
The <caption> tag defines a table caption.
|
class |
TableCell
The <td> tag defines a standard cell in an HTML table.
|
class |
TableHeadCell
The <th> tag defines a header cell in an HTML table.
|
class |
TableRow
The <tr> tag defines a row in an HTML table.
|
class |
TextArea
The <textarea> tag defines a multi-line text input control.
|
class |
UnorderedList
The <ul> tag defines an unordered list (a bulleted list).
|
Modifier and Type | Method and Description |
---|---|
Element |
Label.getForElement()
Specifies which form element a label is bound to.
|
Modifier and Type | Method and Description |
---|---|
Label |
Label.setForElement(Element forElement)
Set "for" property and if element was draw call script at browser.
|
Constructor and Description |
---|
Label(Element forElement,
java.lang.String text)
Creates element with for element and text.
|