A B C D E F G H I J L M N P R S T U V W

A

addHyperlinkListener(HyperlinkListener) - Method in class net.sourceforge.sillyview.HTMLPane
Add a HyperlinkListener to this pane.
addTokens(Map) - Method in class net.sourceforge.sillyview.HTMLPaneView
Adds all the name/value pairs and then updates the model.
addTokens(Map) - Method in class net.sourceforge.sillyview.JFrameView
Sets the given tokens en-masse, then calculates the JPanelView's text.
addTokens(Map) - Method in class net.sourceforge.sillyview.JInternalFrameView
Sets the given tokens en-masse, then calculates the JPanelView's text.
addTokens(Map) - Method in class net.sourceforge.sillyview.JPanelView
Adds all the name/value pairs and then updates the model.
addTokens(Map) - Method in class net.sourceforge.sillyview.StringBufferView
Adds all the name/value pairs and then updates the model.
addTokens(Map) - Method in interface net.sourceforge.sillyview.WidgetView
Describe addTokens method here.
autodump - Variable in class net.sourceforge.sillyview.HTMLPane
 

B

buf - Variable in class net.sourceforge.sillyview.StringBufferView
This view's data.
bugFixSetText(String) - Method in class net.sourceforge.sillyview.HTMLPane
Sets the text to the given value, tearing down the JEditorPane's backing model, which prevents peculiarities.

C

cat - Variable in class net.sourceforge.sillyview.HTMLPane
 
cat - Variable in class net.sourceforge.sillyview.JPanelView
 
cat - Static variable in class net.sourceforge.sillyview.URLParser
 
cat - Static variable in class net.sourceforge.sillyview.VelocityModel
 
comp - Variable in class net.sourceforge.sillyview.JPanelView
The component that the data is displayed in.
context - Variable in class net.sourceforge.sillyview.VelocityModel
The VelocityContext to which tokens are delegated.
converter - Variable in class net.sourceforge.sillyview.HTMLPane
 

D

dString - Variable in class net.sourceforge.sillyview.HTMLPane
 
doLayout() - Method in class net.sourceforge.sillyview.HTMLPane
Tries to do super.doLayout() and warns if this causes an exception.
dump() - Method in class net.sourceforge.sillyview.HTMLPane
Dumps the current stylesheet for debugging.
dump(StyleSheet) - Method in class net.sourceforge.sillyview.HTMLPane
Sends all style rules to be printed out to System.out.

E

ed - Variable in class net.sourceforge.sillyview.JPanelView
If data displayed in a JEditorPane, this is that JEditorPane.
equals(Object) - Method in class net.sourceforge.sillyview.StringBufferView
Uses StringBuffer.equals() to test for equality.

F

FALSE - Static variable in interface net.sourceforge.sillyview.WidgetModel
Describe constant FALSE here.
FALSE - Static variable in interface net.sourceforge.sillyview.WidgetView
Used to set boolean properties to false.

G

getConverter() - Method in class net.sourceforge.sillyview.HTMLPane
Describe getConverter method here.
getCurrentModel() - Method in class net.sourceforge.sillyview.VelocityModel
Returns the current model as a String.
getCurrentModel() - Method in interface net.sourceforge.sillyview.WidgetModel
Returns the current model, with tokens processed.
getDocument(String) - Static method in class net.sourceforge.sillyview.HTMLPane
Returns the HTML document at the given URL as a String.
getDocument(URL) - Static method in class net.sourceforge.sillyview.HTMLPane
Returns the HTML document at the given URL as a String.
getDocumentStyleSheet() - Method in class net.sourceforge.sillyview.HTMLPane
Returns the stylesheet for the current document.
getFilenameWithoutPath(URL) - Static method in class net.sourceforge.sillyview.URLParser
Strips the last element of the URL's path and returns it.
getFilenameWithoutPath(String) - Static method in class net.sourceforge.sillyview.URLParser
Given, for example, the string "http://foo.bar.com/some/dir/lala.jpg?foo=bar" will return "lala.jpg".
getHTMLEditorKit() - Method in class net.sourceforge.sillyview.HTMLPane
Returns the editorkit if it is a HTMLEditorKit, or null otherwise.
getModel() - Method in class net.sourceforge.sillyview.HTMLPaneView
Gets the backing model.
getModel() - Method in class net.sourceforge.sillyview.JFrameView
Return the backing model.
getModel() - Method in class net.sourceforge.sillyview.JInternalFrameView
Return the backing model.
getModel() - Method in class net.sourceforge.sillyview.JPanelView
Returns the backing model.
getModel() - Method in class net.sourceforge.sillyview.StringBufferView
Returns the backing model.
getModel(String) - Static method in class net.sourceforge.sillyview.VelocityModel
Static factory method for creating a VelocityModel with the raw velocity template at the given URL.
getModel() - Method in interface net.sourceforge.sillyview.WidgetView
Describe getModel method here.
getRawModel() - Method in class net.sourceforge.sillyview.VelocityModel
Returns the template without applying existing token values.
getRawModel() - Method in interface net.sourceforge.sillyview.WidgetModel
Returns the current model, with tokens unprocessed.
getStyleSheet(LookAndFeel) - Method in class net.sourceforge.sillyview.HTMLPane
 
getTemplate(URL) - Method in class net.sourceforge.sillyview.VelocityModel
 
getText() - Method in class net.sourceforge.sillyview.JPanelView
Gets this view's text.
getValue(Object) - Method in class net.sourceforge.sillyview.HTMLPaneView
Gets the named value.
getValue(Object) - Method in class net.sourceforge.sillyview.JFrameView
Return the value of the named token.
getValue(Object) - Method in class net.sourceforge.sillyview.JInternalFrameView
Returns the value of the named token.
getValue(Object) - Method in class net.sourceforge.sillyview.JPanelView
Gets the named value.
getValue(Object) - Method in class net.sourceforge.sillyview.StringBufferView
Gets the value of the named token.
getValue(Object) - Method in class net.sourceforge.sillyview.VelocityModel
Returns the value of the named token, taking it from the VelocityContext.
getValue(Object) - Method in interface net.sourceforge.sillyview.WidgetModel
Describe getValue method here.
getValue(Object) - Method in interface net.sourceforge.sillyview.WidgetView
Describe getValue method here.
getView() - Method in class net.sourceforge.sillyview.Widget
Get the View value.

H

HEIGHT - Static variable in interface net.sourceforge.sillyview.WindowView
Token for setting the window's height.
HTMLPANE - Static variable in class net.sourceforge.sillyview.JPanelView
If you want data displayed in a HTMLPane.
HTMLPane - class net.sourceforge.sillyview.HTMLPane.
This class is a convenience class for JEditorPanes used to show HTML content that are un-editable (so as to enable listening for hyperlink events) and handle UTF-8 characters gracefully.
HTMLPane() - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance with no text.
HTMLPane(String) - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance with the given text.
HTMLPane(StyleSheet) - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance with the given stylesheet.
HTMLPane(String, StyleSheet) - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance with the given text and stylesheet.
HTMLPane(URL) - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance showing the HTML page at the given URL and with no accessory stylesheet.
HTMLPane(URL, StyleSheet) - Constructor for class net.sourceforge.sillyview.HTMLPane
Creates a new HTMLPane instance showing the HTML page at the given URL and with the given accesory stylesheet.
HTMLPaneView - class net.sourceforge.sillyview.HTMLPaneView.
This class connects a HTMLPane as a view to a WidgetModel.
HTMLPaneView(WidgetModel) - Constructor for class net.sourceforge.sillyview.HTMLPaneView
Creates a new HTMLPaneView instance backed by the given model.
HYPERLINK_LISTENER - Static variable in class net.sourceforge.sillyview.HTMLPaneView
A token for setting the view's hyperlink listener.
HYPERLINK_LISTENER - Static variable in class net.sourceforge.sillyview.JPanelView
A token for setting the view's hyperlink listener.

I

init() - Method in class net.sourceforge.sillyview.HTMLPane
Sets the pane to non-editable, the content type to "text/html; UTF-8" and deactivates "autoformsubmission" so that HyperlinkListeners can handle form submission events.
init() - Method in class net.sourceforge.sillyview.VelocityModel
Initializes velocity and creates a new context.
initialized - Variable in class net.sourceforge.sillyview.HTMLPane
 

J

JEDITORPANE - Static variable in class net.sourceforge.sillyview.JPanelView
If you want data displayed in a JEditorPane.
JFrameView - class net.sourceforge.sillyview.JFrameView.
This is a convenience class which wraps a JPanelView in a JFrame.
JFrameView(WidgetModel, int) - Constructor for class net.sourceforge.sillyview.JFrameView
Creates a JFrameView with the given backing model and view type.
JFrameView(int) - Constructor for class net.sourceforge.sillyview.JFrameView
Creates a JFrameView with no backing model and the given view type.
JInternalFrameView - class net.sourceforge.sillyview.JInternalFrameView.
This is a convenience class which wraps a JPanelView in a JInternalFrame.
JInternalFrameView(WidgetModel, int) - Constructor for class net.sourceforge.sillyview.JInternalFrameView
Creates a JFrameView with the given backing model and view type.
JLABEL - Static variable in class net.sourceforge.sillyview.JPanelView
If you want data displayed in a JLabel.
JPanelView - class net.sourceforge.sillyview.JPanelView.
This is a central class in sillyview.
JPanelView(WidgetModel, int) - Constructor for class net.sourceforge.sillyview.JPanelView
Creates a new JPanelView instance backed by the given WidgetModel and of type JLABEL, JEDITORPANE, or HTMLPANE.
jPanel - Variable in class net.sourceforge.sillyview.JFrameView
 
jPanel - Variable in class net.sourceforge.sillyview.JInternalFrameView
Describe variable jPanel here.

L

lab - Variable in class net.sourceforge.sillyview.JPanelView
If data displayed as a JLabel, this is that JLabel.
lastLookAndFeel - Variable in class net.sourceforge.sillyview.HTMLPane
 
lastUI - Variable in class net.sourceforge.sillyview.HTMLPane
 

M

MIN - Static variable in class net.sourceforge.sillyview.JPanelView
 
mod - Variable in class net.sourceforge.sillyview.HTMLPaneView
The model this view gets its data from.
mod - Variable in class net.sourceforge.sillyview.JPanelView
The model this view gets its data from.
mod - Variable in class net.sourceforge.sillyview.StringBufferView
The model this view gets its data from.

N

net.sourceforge.sillyview - package net.sourceforge.sillyview
 

P

PREF - Static variable in class net.sourceforge.sillyview.JPanelView
 
parseVariables(URL) - Static method in class net.sourceforge.sillyview.URLParser
Takes the name/value pairs of the URL's query and returns them as a Hashtable.
parseVariables(String) - Static method in class net.sourceforge.sillyview.URLParser
Parses a set of name/value pairs in the form of "name=value&foo=bar" into a Hashtable and returns it.
postToken - Static variable in class net.sourceforge.sillyview.URLParser
 
preToken - Static variable in class net.sourceforge.sillyview.URLParser
 

R

resizeComponent(int, Dimension) - Method in class net.sourceforge.sillyview.JPanelView
 

S

StringBufferView - class net.sourceforge.sillyview.StringBufferView.
A StringBuffer that has a backing WidgetModel to provide its data.
StringBufferView(WidgetModel) - Constructor for class net.sourceforge.sillyview.StringBufferView
Creates a new StringBufferView instance.
setAutoDump(boolean) - Method in class net.sourceforge.sillyview.HTMLPane
Setting autoDump to true causes the stylesheet to be printed every time it is changed.
setAutoDump(boolean) - Method in class net.sourceforge.sillyview.JPanelView
If the view component is a HTMLPane, will set its autodump property.
setConverter(LookAndFeelToCSS) - Method in class net.sourceforge.sillyview.HTMLPane
Allows you to plug in a LookAndFeel to CSS converter of your choice.
setMinimumSize(Dimension) - Method in class net.sourceforge.sillyview.JPanelView
Sets the minimum size of this panel as well as the view component.
setModel(WidgetModel) - Method in class net.sourceforge.sillyview.HTMLPaneView
Sets the backing model.
setModel(WidgetModel) - Method in class net.sourceforge.sillyview.JFrameView
Set the backing model.
setModel(WidgetModel) - Method in class net.sourceforge.sillyview.JInternalFrameView
Set the backing model.
setModel(WidgetModel) - Method in class net.sourceforge.sillyview.JPanelView
Sets the backing model.
setModel(WidgetModel) - Method in class net.sourceforge.sillyview.StringBufferView
Sets the backing model.
setModel(WidgetModel) - Method in interface net.sourceforge.sillyview.WidgetView
Describe setModel method here.
setPostToken(String) - Static method in class net.sourceforge.sillyview.URLParser
 
setPreToken(String) - Static method in class net.sourceforge.sillyview.URLParser
 
setPreferredSize(Dimension) - Method in class net.sourceforge.sillyview.JPanelView
Sets the preferred size of this panel as well as the view component.
setRawModel(Object) - Method in class net.sourceforge.sillyview.VelocityModel
Updates the template without modifying the current tokens.
setText(String) - Method in class net.sourceforge.sillyview.HTMLPane
Sets the text and clears and clears any applied "theme" stylesheets.
setText(URL) - Method in class net.sourceforge.sillyview.HTMLPane
Sets the text to the HTML document at the given URL.
setText(String) - Method in class net.sourceforge.sillyview.JPanelView
Sets this views text.
setTextUrl(String) - Method in class net.sourceforge.sillyview.HTMLPane
Sets the text to the HTML document at the given URL.
setTheme(String) - Method in class net.sourceforge.sillyview.HTMLPane
Adds the stylesheet at the given url as a "theme," i.e.
setTheme(URL) - Method in class net.sourceforge.sillyview.HTMLPane
Adds the stylesheet at the given url as a "theme," i.e.
setTheme(StyleSheet) - Method in class net.sourceforge.sillyview.HTMLPane
Adds the stylesheet at the given url as a "theme," i.e.
setTitle(String) - Method in class net.sourceforge.sillyview.JPanelView
Sets the panel's title to the given text, providing a titled border.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.HTMLPaneView
Sets an individual token to the given value.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.JFrameView
Set one token and recalculate the text I display from the backing model.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.JInternalFrameView
Set one token and recalculate the text I display from the backing model.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.JPanelView
Sets the named token to the given value and then recalculates my text.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.StringBufferView
Sets the named token to the given value.
setToken(Object, Object) - Method in class net.sourceforge.sillyview.VelocityModel
Sets the named token, delegating it to the VelocityContext.
setToken(Object, Object) - Method in interface net.sourceforge.sillyview.WidgetModel
Describe setToken method here.
setToken(Object, Object) - Method in interface net.sourceforge.sillyview.WidgetView
Describe setToken method here.
setUI(TextUI) - Method in class net.sourceforge.sillyview.HTMLPane
Describe setUI method here.
setView(WidgetView) - Method in class net.sourceforge.sillyview.Widget
Set the View value.

T

TEXT - Static variable in class net.sourceforge.sillyview.JPanelView
A token for setting the view's text.
TITLE - Static variable in interface net.sourceforge.sillyview.WidgetView
Used to set a view's title.
TRUE - Static variable in interface net.sourceforge.sillyview.WidgetModel
Describe constant TRUE here.
TRUE - Static variable in interface net.sourceforge.sillyview.WidgetView
Used to set boolean properties to true.
template - Variable in class net.sourceforge.sillyview.VelocityModel
The raw velocity template.
title - Variable in class net.sourceforge.sillyview.JPanelView
This panel's title.
toString() - Method in class net.sourceforge.sillyview.VelocityModel
Uses Velocity.evaluate() to merge the current token values with the template string.
toString() - Method in interface net.sourceforge.sillyview.WidgetModel
Describe toString method here.

U

URLParser - class net.sourceforge.sillyview.URLParser.
Provides some static methods for dealing with URLs passed from a View.
URLParser() - Constructor for class net.sourceforge.sillyview.URLParser
 

V

VelocityModel - class net.sourceforge.sillyview.VelocityModel.
Creates a WidgetModel backed by a Velocity Template.
VelocityModel(URL) - Constructor for class net.sourceforge.sillyview.VelocityModel
Initializes Velocity, creates a new context, and sets this model's template to the file at the given URL.
VelocityModel(VelocityContext, URL) - Constructor for class net.sourceforge.sillyview.VelocityModel
Allows several models to share a context.
VelocityModel(String) - Constructor for class net.sourceforge.sillyview.VelocityModel
Creates a new VelocityModel instance with the given String as its template.
view - Variable in class net.sourceforge.sillyview.Widget
Describe variable view here.

W

WIDTH - Static variable in interface net.sourceforge.sillyview.WindowView
Token for setting the window's width.
WINDOW_VISIBLE - Static variable in interface net.sourceforge.sillyview.WindowView
Token for setting the window visible/invisible.
Widget - class net.sourceforge.sillyview.Widget.
An instance of this class is an object that has a view.
Widget(WidgetView) - Constructor for class net.sourceforge.sillyview.Widget
Creates a new Widget instance.
WidgetModel - interface net.sourceforge.sillyview.WidgetModel.
A base interface for models.
WidgetView - interface net.sourceforge.sillyview.WidgetView.
A base interface for views.
WindowView - interface net.sourceforge.sillyview.WindowView.
Constants for use with views that are kinds of windows.

A B C D E F G H I J L M N P R S T U V W