Uses of Interface
net.sf.jguiraffe.locators.Locator
-
Packages that use Locator 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 theBuilder
interfaces can be found.net.sf.jguiraffe.locators This package contains interfaces and classes for locating resources in a generic way. -
-
Uses of Locator in net.sf.jguiraffe.gui.app
Methods in net.sf.jguiraffe.gui.app that return Locator Modifier and Type Method Description Locator
OpenWindowCommand. getLocator()
Returns theLocator
to the builder script executed by this command.protected Locator
Application. getPlatformBeansLocator()
Returns aLocator
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.Methods in net.sf.jguiraffe.gui.app that return types with arguments of type Locator Modifier and Type Method Description protected Collection<Locator>
Application. findBeanDefinitions(org.apache.commons.configuration.Configuration config)
Deprecated.This method is replaced byApplication.findBeanDefinitions(Configuration, BeanContext)
.protected Collection<Locator>
Application. findBeanDefinitions(org.apache.commons.configuration.Configuration config, BeanContext beanCtx)
Returns a collection with additional bean definition files to process.Methods in net.sf.jguiraffe.gui.app with parameters of type Locator Modifier and Type Method Description protected BeanBuilderResult
Application. readBeanDefinition(Locator script, MutableBeanStore rootStore, ClassLoaderProvider loaderProvider)
A convenience method for processing a file with bean definitions.Constructors in net.sf.jguiraffe.gui.app with parameters of type Locator Constructor Description OpenWindowCommand(Locator loc)
Creates a new instance ofOpenWindowCommand
and initializes it with theLocator
pointing to the builder script. -
Uses of Locator in net.sf.jguiraffe.gui.builder
Methods in net.sf.jguiraffe.gui.builder with parameters of type Locator Modifier and Type Method Description 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. build(Locator script, BuilderData data)
A generic builder method.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. -
Uses of Locator in net.sf.jguiraffe.gui.builder.components
Methods in net.sf.jguiraffe.gui.builder.components with parameters of type Locator Modifier and Type Method Description Object
ComponentManager. createIcon(Locator locator)
Creates an icon object with the data obtained from the specifiedLocator
Object
ComponentManagerWrapper. createIcon(Locator locator)
Creates an icon object with the data obtained from the specifiedLocator
-
Uses of Locator in net.sf.jguiraffe.gui.builder.components.tags
Methods in net.sf.jguiraffe.gui.builder.components.tags that return Locator Modifier and Type Method Description protected Locator
IconTag. fetchLocator()
Fetches the locator for the icon. -
Uses of Locator in net.sf.jguiraffe.gui.builder.impl
Methods in net.sf.jguiraffe.gui.builder.impl with parameters of type Locator Modifier and Type Method Description 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. build(Locator script, BuilderData data)
A generic build method for executing a builder script.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 anInputSource
object for the specifiedLocator
. -
Uses of Locator in net.sf.jguiraffe.locators
Classes in net.sf.jguiraffe.locators that implement Locator Modifier and Type Class Description class
AbstractLocator
An adapter class for implementing concreteLocator
classes.class
AbstractStreamLocator
An abstract base class forLocator
implementations that mainly operate on streams.class
ByteArrayLocator
A specializedLocator
implementation that provides access to data stored in memory as a byte array.class
ClassPathLocator
A specificLocator
implementation that can obtain resources from the class path.class
FileLocator
A concreteLocator
class that represents files.class
LocatorWrapper
A wrapper implementation for locators.class
URLLocator
A specializedLocator
implementation that operates on URLs.Methods in net.sf.jguiraffe.locators that return Locator Modifier and Type Method Description Locator
LocatorWrapper. getWrappedLocator()
Returns the wrappedLocator
.Methods in net.sf.jguiraffe.locators with parameters of type Locator Modifier and Type Method Description static String
LocatorUtils. locatorToDataString(Locator locator)
Returns the data string for the specifiedLocator
.static String
LocatorUtils. locatorToString(Locator locator, String locatorData)
Creates a string representation of aLocator
object.static InputStream
LocatorUtils. openStream(Locator locator)
Obtains an input stream for the specified locator.Constructors in net.sf.jguiraffe.locators with parameters of type Locator Constructor Description LocatorWrapper(Locator wrapped)
Creates a new instance ofLocatorWrapper
and initializes it with the given wrapped locator.
-