com.google.gwt.gadgets.client
Class View
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.gadgets.client.View
public class View
- extends com.google.gwt.core.client.JavaScriptObject
This class is the base for all view objects.
|
Constructor Summary |
protected |
View()
|
|
Method Summary |
java.lang.String |
getName()
Returns the name of the view. |
java.lang.String |
getUrlTemplate()
Returns a string URI template conforming to the IETF spec draft with
variables for substitution. |
boolean |
isOnlyVisibleGadget()
Returns true if the gadget is the only visible gadget in this view. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
View
protected View()
getName
public final java.lang.String getName()
- Returns the name of the view.
TODO(haeberling): The spec says, that getName could also return ViewType.
getUrlTemplate
public final java.lang.String getUrlTemplate()
- Returns a string URI template conforming to the IETF spec draft with
variables for substitution.
isOnlyVisibleGadget
public final boolean isOnlyVisibleGadget()
- Returns true if the gadget is the only visible gadget in this view.