Package | Description |
---|---|
org.fireweb | |
org.fireweb.annotations | |
org.fireweb.attributes | |
org.fireweb.html |
Modifier and Type | Class and Description |
---|---|
class |
EventOptionsTest |
class |
EventsAnnotationTest |
class |
EventsListener |
class |
EventsListenerChild |
class |
FireWebApplication
Element represent FireWeb application.
|
class |
SerializedApp |
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.
|
<T extends Element> |
Event.getTarget()
Get web element which is the target element of the event.
|
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.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.
|
Element |
Element.callScript(java.lang.String script)
Send script to browser or add to buffer if WebCocket is not available.
|
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().
|
static Element |
Utils.findElement(Element current,
java.lang.String objectId)
Finds web object in elements tree.
|
Element |
Element.fireEvent(java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Fires event if object is listening on and the event is not browser event.
|
Element |
Element.fireEvent(java.lang.Class<? extends java.lang.annotation.Annotation> eventType,
Event we)
Fires event if object is listening on and the event is not browser event.
|
Element |
Element.fireEventOnView(java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
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 java.lang.annotation.Annotation> eventType,
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 |
Element.insert(int index,
Element object)
Insert's child element at given index.
|
Element |
Element.listenerOff(java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Mark event listener as disabled and draws JavaScript to browser.
|
Element |
Element.listenerOn(java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Remove tag event listener as disabled and draws JavaScript to browser.
|
Element |
Element.print()
Calls JavaScript print()
|
Element |
Element.prompt(java.lang.String title,
java.lang.String value)
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.
|
Element |
Element.removeDropTarget(Element dropTarget)
Remove drop target element.
|
Element |
Element.removeEventOptions(java.lang.Class<? extends java.lang.annotation.Annotation> eventType,
java.lang.Class<? extends java.lang.annotation.Annotation>... eventOptionType)
Removes event options.
|
Element |
Element.removeParent()
Detach the object from parent.
|
Element |
Element.removeStyle(java.lang.Class<? extends StyleElement> styleType)
Removes inline style of the element.
|
Element |
Element.removeStyleClass(java.lang.String tagClass)
Removes style class from the list
|
Element |
Element.removeStyles()
Clears inline styles of the element
|
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.
|
Element |
Element.setChangeChildrenSet(boolean changed)
Set up if element state changed
|
Element |
Element.setContenteditable(boolean contenteditable) |
Element |
Element.setDir(Direction.Type dir)
Set text direction property
|
Element |
Element.setDrawn(boolean drawn)
Set if element drown.
|
Element |
Element.setEventOptions(java.lang.Class<? extends java.lang.annotation.Annotation> eventType,
java.lang.annotation.Annotation... newValues)
Override event options.
|
Element |
Element.setLang(java.lang.String lang)
Set lang property.
|
Element |
Element.setParent(Element parent)
Set parent element of this object.
|
Element |
Element.setStyle(StyleElement styleElement)
Add inline style to the element.
|
Element |
Element.setStyleClass(java.lang.String tagClass)
Set new style class.
|
Element |
Element.setStyles(java.util.Set<StyleElement> styles)
Replaces inline styles of the element.
|
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.
|
java.lang.String |
CustomizedListener.disableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
Overwrite this method if you want to add script to disable custom event
on browser.
|
static void |
Utils.drawAttributes(Element element,
java.lang.StringBuilder sb)
Draws all annotated fields with
Annotation of the Element. |
static void |
Utils.drawHTML(Element current,
FireWebApplication app,
java.lang.StringBuilder sb,
boolean intro)
Drawing HTML view below elements of this element in tree.
|
java.lang.String |
CustomizedListener.enableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType)
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)
Finds 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.
|
static java.lang.String |
Utils.getScriptPrefix(Element e)
Returns prefix of FireWeb element selector
|
org.json.JSONArray |
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.
|
Element |
Element.setParent(Element parent)
Set parent element of this object.
|
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,
FireWebApplication application)
Create event object with element event context.
|
Modifier and Type | Method and Description |
---|---|
static void |
DragDropCustomizedListener.callInitDragDrop(Element ele)
Sends to browser drag and drop event's listeners.
|
java.lang.String |
EngineEventsCustomizedListener.disableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType) |
java.lang.String |
DragDropCustomizedListener.disableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType) |
java.lang.String |
EngineEventsCustomizedListener.enableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType) |
java.lang.String |
DragDropCustomizedListener.enableEvent(Element wo,
java.lang.Class<? extends java.lang.annotation.Annotation> eventType) |
Modifier and Type | Class and Description |
---|---|
class |
Marker |
class |
MarkerWithNoBoolean |
class |
RepeatedAttributeName |
class |
SomethingWithoutValueMethod |
class |
SomethnigWithAttributes |
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 |
Heading1
The <h1>to <h6>tags are used to define HTML headings.
|
class |
Heading2
The <h1>to <h6>tags are used to define HTML headings.
|
class |
Heading3
The <h1>to <h6>tags are used to define HTML headings.
|
class |
Heading4
The <h1>to <h6>tags are used to define HTML headings.
|
class |
Heading5
The <h1>to <h6>tags are used to define HTML headings.
|
class |
Heading6
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.
|