|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.smartgwt.client.widgets.BaseWidget
com.smartgwt.client.widgets.Canvas
com.smartgwt.client.widgets.plugins.BrowserPlugin
com.smartgwt.client.widgets.plugins.SVG
public class SVG
ISC Abstraction for SVG controls
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.widgets.BaseWidget |
|---|
config, configOnly, id, isElementSet, scClassName |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
SVG()
|
|
SVG(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
protected JavaScriptObject |
create()
|
static SVG |
getOrCreateRef(JavaScriptObject jsObj)
|
String |
getPluginsPage()
This attribute specifies the page the user should go to to get the plugin required to view this SVG. |
String |
getSrc()
Location from which to load the SVG. |
static void |
setDefaultProperties(SVG sVGProperties)
Class level method to set the default properties of this class. |
void |
setPluginsPage(String pluginsPage)
This attribute specifies the page the user should go to to get the plugin required to view this SVG. |
void |
setSrc(String src)
Location from which to load the SVG. |
| Methods inherited from class com.smartgwt.client.widgets.plugins.BrowserPlugin |
|---|
setDefaultProperties |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public SVG()
public SVG(JavaScriptObject jsObj)
| Method Detail |
|---|
public static SVG getOrCreateRef(JavaScriptObject jsObj)
protected JavaScriptObject create()
create in class BrowserPlugin
public void setPluginsPage(String pluginsPage)
throws IllegalStateException
The default pluginsPage is: "http://www.adobe.com/svg/viewer/install/"
pluginsPage - pluginsPage Default value is see below
IllegalStateException - this property cannot be changed after the component has been createdpublic String getPluginsPage()
The default pluginsPage is: "http://www.adobe.com/svg/viewer/install/"
public void setSrc(String src)
throws IllegalStateException
Note: if you do not specify a src value, ISC will load the special svg 'svgCanvas.svg' from the helpers directory. This SVG is simply an empty root element - essentially a blank canvas. You can use this feature to write components that programmatically manipulate the SVG DOM without needing to ship placeholder SVG files.
src - src Default value is [HELPERS]svgCanvas.svg
IllegalStateException - this property cannot be changed after the component has been createdpublic String getSrc()
Note: if you do not specify a src value, ISC will load the special svg 'svgCanvas.svg' from the helpers directory. This SVG is simply an empty root element - essentially a blank canvas. You can use this feature to write components that programmatically manipulate the SVG DOM without needing to ship placeholder SVG files.
public static void setDefaultProperties(SVG sVGProperties)
Note: This method is intended for setting default attributes only and will effect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead.
sVGProperties - properties that should be used as new defaults when instances of this class are created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||