| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| com.codename1.ui.html |
This package is deprecated and used only for legacy support, use the WebBrowser component
from the components package.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Ads.actionPerformed(ActionEvent evt,
HTMLComponent htmlC,
HTMLElement element)
Deprecated.
Called whenever an ActionEvent is triggered in one of the controls in the HTMLComponent
For example, button press, checkbox/radiobutton check etc.
|
void |
Ads.dataChanged(int type,
int index,
HTMLComponent htmlC,
TextField textField,
HTMLElement element)
Deprecated.
Called when the user types in a TextField inside the HTMLComponent
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
Ads.focusGained(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
Deprecated.
Called when one of the controls in the HTMLComponent obtained focus
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
Ads.focusLost(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
Deprecated.
Called when one of the controls in the HTMLComponent lost focus
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
Ads.selectionChanged(int oldSelected,
int newSelected,
HTMLComponent htmlC,
List list,
HTMLElement element)
Deprecated.
Called when the user selects an item in a List inside the HTMLComponent
Note: Selection is traversing through the items - once the user has actually decided, an ActionEvent will be sent as well
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
| Modifier and Type | Method and Description |
|---|---|
HTMLElement |
HTMLComponent.getDOM()
Deprecated.
Returns the DOM representing this document
|
HTMLElement |
HTMLElement.getFirstChildByTagId(int tagId)
Returns an HTMLElement's child by a tag ID (One of the TAG_* constants)
|
HTMLElement |
HTMLParser.parseHTML(InputStreamReader isr)
A convenience method that casts the returned type of the parse method to HTMLElement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLCallback.actionPerformed(ActionEvent evt,
HTMLComponent htmlC,
HTMLElement element)
Called whenever an ActionEvent is triggered in one of the controls in the HTMLComponent
For example, button press, checkbox/radiobutton check etc.
|
void |
DefaultHTMLCallback.actionPerformed(ActionEvent evt,
HTMLComponent htmlC,
HTMLElement element)
{Called whenever an ActionEvent is triggered in one of the controls in the HTMLComponent
For example, button press, checkbox/radiobutton check etc.}
|
void |
HTMLCallback.dataChanged(int type,
int index,
HTMLComponent htmlC,
TextField textField,
HTMLElement element)
Called when the user types in a TextField inside the HTMLComponent
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
DefaultHTMLCallback.dataChanged(int type,
int index,
HTMLComponent htmlC,
TextField textField,
HTMLElement element)
{Called when the user types in a TextField inside the HTMLComponent
This method will be called only if HTMLComponent.isEventsEnabled() is true}
|
void |
HTMLCallback.focusGained(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
Called when one of the controls in the HTMLComponent obtained focus
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
DefaultHTMLCallback.focusGained(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
{Called when one of the controls in the HTMLComponent obtained focus
This method will be called only if HTMLComponent.isEventsEnabled() is true}
|
void |
HTMLCallback.focusLost(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
Called when one of the controls in the HTMLComponent lost focus
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
DefaultHTMLCallback.focusLost(Component cmp,
HTMLComponent htmlC,
HTMLElement element)
{Called when one of the controls in the HTMLComponent lost focus
This method will be called only if HTMLComponent.isEventsEnabled() is true}
|
void |
HTMLComponent.scrollToElement(HTMLElement element,
boolean animate)
Deprecated.
Scrolls the HTMLComponent to the specified element
|
void |
HTMLCallback.selectionChanged(int oldSelected,
int newSelected,
HTMLComponent htmlC,
List list,
HTMLElement element)
Called when the user selects an item in a List inside the HTMLComponent
Note: Selection is traversing through the items - once the user has actually decided, an ActionEvent will be sent as well
This method will be called only if HTMLComponent.isEventsEnabled() is true
|
void |
DefaultHTMLCallback.selectionChanged(int oldSelected,
int newSelected,
HTMLComponent htmlC,
List list,
HTMLElement element)
{Called when the user selects an item in a List inside the HTMLComponent
Note: Selection is traversing through the items - once the user has actually decided, an ActionEvent will be sent as well
This method will be called only if HTMLComponent.isEventsEnabled() is true}
|
void |
HTMLComponent.setDOM(HTMLElement dom)
Deprecated.
Sets this HTMLComponent to render the document in the specified DOM.
|
void |
HTMLComponent.setDOM(HTMLElement dom,
String baseURL)
Deprecated.
Sets this HTMLComponent to render the document in the specified DOM
|
Copyright © 2023. All rights reserved.