Package | Description |
---|---|
net.sf.jguiraffe.gui.app |
In this package the main application class can be found.
|
net.sf.jguiraffe.gui.builder |
The main package of the builder.
|
net.sf.jguiraffe.gui.builder.components |
This package defines the part of the builder that deals with components.
|
net.sf.jguiraffe.gui.builder.components.tags |
A package with tag handler classes for creating GUI components.
|
net.sf.jguiraffe.gui.builder.impl |
Here default implementations of the
Builder interfaces can be found. |
net.sf.jguiraffe.gui.platform.swing.builder.components |
A package with Swing-specific
ComponentHandler implementations. |
net.sf.jguiraffe.locators |
This package contains interfaces and classes for locating resources in a generic
way.
|
Modifier and Type | Method and Description |
---|---|
Locator |
OpenWindowCommand.getLocator()
Returns the
Locator to the builder script executed by this
command. |
protected Locator |
Application.getPlatformBeansLocator()
Returns a
Locator object pointing to a file with bean
declarations related to the platform or UI toolkit. |
protected Locator |
Application.locatorForMainScript(org.apache.commons.configuration.Configuration config)
Returns the locator object for the application's main build script.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<Locator> |
Application.findBeanDefinitions(org.apache.commons.configuration.Configuration config)
Deprecated.
This method is replaced by
Application.findBeanDefinitions(Configuration, BeanContext) . It
is still called during application initialization to keep
backwards compatibility, but this base implementation simply
returns an empty collection. |
protected Collection<Locator> |
Application.findBeanDefinitions(org.apache.commons.configuration.Configuration config,
BeanContext beanCtx)
Returns a collection with additional bean definition files to process.
|
Modifier and Type | Method and Description |
---|---|
protected BeanBuilderResult |
Application.readBeanDefinition(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
A convenience method for processing a file with bean definitions.
|
Constructor and Description |
---|
OpenWindowCommand(Locator loc)
Creates a new instance of
OpenWindowCommand and initializes it
with the Locator pointing to the builder script. |
Modifier and Type | Method and Description |
---|---|
void |
Builder.build(Locator script,
BuilderData data)
A generic builder method.
|
BeanBuilderResult |
BeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
Executes a script with bean definitions.
|
BeanBuilderResult |
BeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes a script with bean definitions and the specified helper objects.
|
void |
Builder.buildContainer(Locator script,
BuilderData data,
Object container)
A convenience method for constructing the GUI of the given passed in
container.
|
Window |
Builder.buildWindow(Locator script,
BuilderData data)
A convenience method for building windows like top-level frames or
dialogs.
|
Modifier and Type | Method and Description |
---|---|
Object |
ComponentManagerWrapper.createIcon(Locator locator)
Creates an icon object with the data obtained from the specified
Locator |
Object |
ComponentManager.createIcon(Locator locator)
Creates an icon object with the data obtained from the specified
Locator |
Modifier and Type | Method and Description |
---|---|
protected Locator |
IconTag.fetchLocator()
Fetches the locator for the icon.
|
Modifier and Type | Method and Description |
---|---|
void |
JellyBuilder.build(Locator script,
BuilderData data)
A generic build method for executing a builder script.
|
BeanBuilderResult |
JellyBeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
Executes a script with bean definitions.
|
BeanBuilderResult |
JellyBeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes a script with bean definitions and the specified helper objects.
|
void |
JellyBuilder.buildContainer(Locator script,
BuilderData data,
Object container)
A convenience method for building the content of a container object.
|
Window |
JellyBuilder.buildWindow(Locator script,
BuilderData data)
A convenience method for building windows.
|
protected BeanBuilderResult |
JellyBeanBuilder.executeScript(Locator script,
org.apache.commons.jelly.JellyContext context,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes the specified script on the given Jelly context.
|
protected void |
JellyBuilder.fetchResults(org.apache.commons.jelly.JellyContext context,
BuilderData data,
BeanBuilderResult result,
Locator script)
Fetches all result variables from the context and stores them in the
builder parameter object.
|
protected void |
JellyBuilder.performBuild(Locator script,
BuilderData data,
Object rootContainer)
The main method for executing a builder script.
|
protected InputSource |
JellyBeanBuilder.prepareInputSource(Locator script)
Prepares an
InputSource object for the specified
Locator . |
Modifier and Type | Method and Description |
---|---|
Object |
SwingComponentManager.createIcon(Locator locator)
Creates an icon with the information obtained from the given locator.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLocator
An adapter class for implementing concrete
Locator classes. |
class |
AbstractStreamLocator
An abstract base class for
Locator implementations that mainly
operate on streams. |
class |
ByteArrayLocator
A specialized
Locator implementation that provides access to data
stored in memory as a byte array. |
class |
ClassPathLocator
A specific
Locator implementation that can obtain resources from
the class path. |
class |
FileLocator
A concrete
Locator class that represents files. |
class |
LocatorWrapper
A wrapper implementation for locators.
|
class |
URLLocator
A specialized
Locator implementation that operates on URLs. |
Modifier and Type | Method and Description |
---|---|
Locator |
LocatorWrapper.getWrappedLocator()
Returns the wrapped
Locator . |
Modifier and Type | Method and Description |
---|---|
static String |
LocatorUtils.locatorToDataString(Locator locator)
Returns the data string for the specified
Locator . |
static String |
LocatorUtils.locatorToString(Locator locator,
String locatorData)
Creates a string representation of a
Locator object. |
static InputStream |
LocatorUtils.openStream(Locator locator)
Obtains an input stream for the specified locator.
|
Constructor and Description |
---|
LocatorWrapper(Locator wrapped)
Creates a new instance of
LocatorWrapper and initializes it
with the given wrapped locator. |
Copyright © 2016 The JGUIraffe Team. All rights reserved.