|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PeerComponent | |
---|---|
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.impl | The implementation package should not be used by developers, it is an internal implementation detail which will break compatibility between major LWUIT releases. |
Uses of PeerComponent in com.sun.lwuit |
---|
Subclasses of PeerComponent in com.sun.lwuit | |
---|---|
class |
VideoComponent
Allows embedding a video into a LWUIT component, video creation/management is very platform specific and this component tries to abstract that logic as much as possible while maintaining portability. |
Methods in com.sun.lwuit that return PeerComponent | |
---|---|
static PeerComponent |
PeerComponent.create(java.lang.Object nativePeer)
Use this method to encapsulate a native UI object |
Uses of PeerComponent in com.sun.lwuit.impl |
---|
Methods in com.sun.lwuit.impl that return PeerComponent | |
---|---|
PeerComponent |
LWUITImplementation.createBrowserComponent(java.lang.Object browserComponent)
If the implementation supports the creation of a browser component it should be returned in this method |
PeerComponent |
LWUITImplementation.createNativePeer(java.lang.Object nativeComponent)
Creates a peer component for the given lightweight component |
Methods in com.sun.lwuit.impl with parameters of type PeerComponent | |
---|---|
void |
LWUITImplementation.browserBack(PeerComponent browserPeer)
Navigates back in the history |
void |
LWUITImplementation.browserClearHistory(PeerComponent browserPeer)
Clears navigation history |
void |
LWUITImplementation.browserExecute(PeerComponent browserPeer,
java.lang.String javaScript)
Executes the given JavaScript string within the current context |
void |
LWUITImplementation.browserExposeInJavaScript(PeerComponent browserPeer,
java.lang.Object o,
java.lang.String name)
Allows exposing the given object to JavaScript code so the JavaScript code can invoke methods and access fields on the given object. |
void |
LWUITImplementation.browserForward(PeerComponent browserPeer)
Navigates forward in the history |
boolean |
LWUITImplementation.browserHasBack(PeerComponent browserPeer)
Indicates whether back is currently available |
boolean |
LWUITImplementation.browserHasForward(PeerComponent browserPeer)
Indicates whether forward is currently available |
void |
LWUITImplementation.browserReload(PeerComponent browserPeer)
Reload the current page |
java.lang.String |
LWUITImplementation.getBrowserTitle(PeerComponent browserPeer)
The page title |
java.lang.String |
LWUITImplementation.getBrowserURL(PeerComponent browserPeer)
The page URL |
void |
LWUITImplementation.setBrowserPage(PeerComponent browserPeer,
java.lang.String html,
java.lang.String baseUrl)
Shows the given HTML in the native viewer |
void |
LWUITImplementation.setBrowserProperty(PeerComponent browserPeer,
java.lang.String key,
java.lang.Object value)
This method allows customizing the properties of a web view in various ways including platform specific settings. |
void |
LWUITImplementation.setBrowserURL(PeerComponent browserPeer,
java.lang.String url)
Sets the page URL, jar: URL's must be supported by the implementation |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |