org.vectomatic.svg.samples.client.xpath
Class XPathSample

java.lang.Object
  extended by org.vectomatic.svg.samples.client.SampleBase
      extended by org.vectomatic.svg.samples.client.xpath.XPathSample

public class XPathSample
extends SampleBase

Class to demonstrate the use of XPaths to navigate in SVG documents

Author:
laaglu

Field Summary
static Main.MainBundle mainBundle
           
static org.vectomatic.svg.samples.client.xpath.XPathSample.XPathBundle xpathBundle
           
 
Fields inherited from class org.vectomatic.svg.samples.client.SampleBase
HTML_SRC_DIR, sourceHtml, tabPanel, UIBINDER_SRC_DIR, uiBinderHtml
 
Constructor Summary
XPathSample()
           
 
Method Summary
 void checkbox(com.google.gwt.event.dom.client.ClickEvent event)
           
 void evaluate()
           
 void evaluate(com.google.gwt.event.dom.client.ClickEvent event)
           
 com.google.gwt.user.client.ui.TabLayoutPanel getPanel()
          Instantiates the tab panel which contains the sample
 void keyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
           
 
Methods inherited from class org.vectomatic.svg.samples.client.SampleBase
createCodeTabs, requestCodeContents, resize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xpathBundle

@UiField(provided=true)
public static org.vectomatic.svg.samples.client.xpath.XPathSample.XPathBundle xpathBundle

mainBundle

@UiField(provided=true)
public static Main.MainBundle mainBundle
Constructor Detail

XPathSample

public XPathSample()
Method Detail

getPanel

public com.google.gwt.user.client.ui.TabLayoutPanel getPanel()
Description copied from class: SampleBase
Instantiates the tab panel which contains the sample

Specified by:
getPanel in class SampleBase
Returns:

evaluate

@UiHandler(value="evaluateButton")
public void evaluate(com.google.gwt.event.dom.client.ClickEvent event)

checkbox

@UiHandler(value="evaluateCheckBox")
public void checkbox(com.google.gwt.event.dom.client.ClickEvent event)

keyUp

@UiHandler(value="xpathBox")
public void keyUp(com.google.gwt.event.dom.client.KeyUpEvent event)

evaluate

public void evaluate()


Copyright © 2011. All Rights Reserved.