|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.webview.BasicWebViewFactory
public class BasicWebViewFactory
Factory implementation for creating WebView instances. This implementation detected the operating system, and creates
an instance of WebView appropriate for that system. On Windows, it creates WindowsWebView. On Mac OS, it
creates MacWebView. Other operating systems are not supported at this time.
| Constructor Summary | |
|---|---|
BasicWebViewFactory()
Create the factory. |
|
| Method Summary | |
|---|---|
protected WebView |
createLinuxWebView(Dimension frameSize)
Create a WebView for Linux. |
protected WebView |
createMacWebView(Dimension frameSize)
Create a WebView for Mac OS. |
protected WebView |
createUnknownOSWebView(Dimension frameSize)
Create a WebView for an operating system other than Windows, Mac, or Linux. |
WebView |
createWebView(Dimension frameSize)
Returns a new WebView with the specified frameSize. |
protected WebView |
createWindowsWebView(Dimension frameSize)
Create a WebView for Windows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicWebViewFactory()
| Method Detail |
|---|
protected WebView createLinuxWebView(Dimension frameSize)
frameSize - The size in pixels of the WebView's window frame.
UnsupportedOperationException - Linux WebView is not supported at this time.protected WebView createMacWebView(Dimension frameSize)
frameSize - The size in pixels of the WebView's window frame.
protected WebView createUnknownOSWebView(Dimension frameSize)
frameSize - The size in pixels of the WebView's window frame.
UnsupportedOperationException - WebView is only implemented for Windows and Mac at this time.public WebView createWebView(Dimension frameSize)
frameSize.
createWebView in interface WebViewFactoryframeSize - The size in pixels of the WebView's window frame.
frameSize.protected WebView createWindowsWebView(Dimension frameSize)
frameSize - The size in pixels of the WebView's window frame.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||