|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vectomatic.svg.samples.client.SampleBase
public abstract class SampleBase
Base class for lib-gwt-svg samples. All samples are stored in a tab panel with three tabs.
Field Summary | |
---|---|
static String |
HTML_SRC_DIR
Directory where HTML-ified source code is generated |
com.google.gwt.user.client.ui.HTML |
sourceHtml
The HTML-ified source code |
com.google.gwt.user.client.ui.TabLayoutPanel |
tabPanel
The tab panel containing this sample |
static String |
UIBINDER_SRC_DIR
Directory where HTML-ified UiBinder code is generated |
com.google.gwt.user.client.ui.HTML |
uiBinderHtml
The HTML-ified UiBinder code |
Constructor Summary | |
---|---|
SampleBase()
|
Method Summary | |
---|---|
protected void |
createCodeTabs(String sampleName)
Dynamically create the source code tab and UiBinder code tab |
abstract com.google.gwt.user.client.ui.TabLayoutPanel |
getPanel()
Instantiates the tab panel which contains the sample |
protected void |
requestCodeContents(String partialPath,
com.google.gwt.user.client.ui.HTML html)
Load the sample HTML source code |
protected void |
resize(int width,
int height)
Resizes the sample |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HTML_SRC_DIR
public static final String UIBINDER_SRC_DIR
public com.google.gwt.user.client.ui.HTML sourceHtml
public com.google.gwt.user.client.ui.HTML uiBinderHtml
@UiField public com.google.gwt.user.client.ui.TabLayoutPanel tabPanel
Constructor Detail |
---|
public SampleBase()
Method Detail |
---|
public abstract com.google.gwt.user.client.ui.TabLayoutPanel getPanel()
protected void createCodeTabs(String sampleName)
sampleName
- The name of the sampleprotected void requestCodeContents(String partialPath, com.google.gwt.user.client.ui.HTML html)
protected void resize(int width, int height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |