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

A

add(Object) - Method in class org.freehep.util.FreeHEPLookup
Add an instance of an Object to the lookup.
add(Object, String) - Method in class org.freehep.util.FreeHEPLookup
Add an instance with an ID.
add(Object, String[]) - Method in class org.freehep.util.FreeHEPLookup
Add an instance with multiple IDs.
addAngle(double) - Method in class org.freehep.util.DiscreteAngle
Adds a discrete angle to the set.
addValueProvider(ValueProvider) - Method in class org.freehep.util.template.TemplateEngine
Add a value provider to the set of value providers
altDefaults - Variable in class org.freehep.util.UserProperties
 
append(String, Template) - Method in class org.freehep.util.template.Template
Append a template to this template
Assert - Class in org.freehep.util
Additional assert methods to the junit.framework.Assert class.
Assert() - Constructor for class org.freehep.util.Assert
static class only
assertEquals(File, File, boolean) - Static method in class org.freehep.util.Assert
Compares two files.
assertEquals(InputStream, InputStream, boolean, String) - Static method in class org.freehep.util.Assert
Compares two streams.

B

brokenCursor - Static variable in class org.freehep.util.images.ImageHandler
 
brokenIcon - Static variable in class org.freehep.util.images.ImageHandler
 
brokenImage - Static variable in class org.freehep.util.images.ImageHandler
 

C

clear() - Method in class org.freehep.util.DoubleHashtable
removes all entries and sub-tables
clear(Object) - Method in class org.freehep.util.DoubleHashtable
removes all entries from a subtable
clone() - Method in class org.freehep.util.DoubleHashtable
 
compare(Object, Object) - Method in class org.freehep.util.VersionComparator
 
contains(Object) - Method in class org.freehep.util.DoubleHashtable
 
containsKey(Object) - Method in class org.freehep.util.DoubleHashtable
 
containsKey(Object, Object) - Method in class org.freehep.util.DoubleHashtable
 
convert(Object) - Method in interface org.freehep.util.ObjectConverter
Returns the converted source object of a class compatible with the one returned under convertsTo().
convertsTo(Object) - Method in interface org.freehep.util.ObjectConverter
Returns the class the given source object can be converterd to by this converter.
createBufferedImage(RenderedImage, ImageObserver, Color) - Static method in class org.freehep.util.images.ImageUtilities
 
createBufferedImage(Image, ImageObserver, Color) - Static method in class org.freehep.util.images.ImageUtilities
 
createRenderedImage(Image, ImageObserver, Color) - Static method in class org.freehep.util.images.ImageUtilities
 
createRenderedImage(RenderedImage, Color) - Static method in class org.freehep.util.images.ImageUtilities
 

D

DiscreteAngle - Class in org.freehep.util
Calculates a discrete angle from an arbitrary angle, based on a set of given angles.
DiscreteAngle() - Constructor for class org.freehep.util.DiscreteAngle
 
DocumentOutputStream - Class in org.freehep.util
An OutputStream implementation that places it's output in a swing text model (Document).
DocumentOutputStream(Document, AttributeSet) - Constructor for class org.freehep.util.DocumentOutputStream
Constructs an output stream that will output to the given document with the given set of character attributes.
DocumentOutputStream(Document) - Constructor for class org.freehep.util.DocumentOutputStream
Constructs an output stream that will output to the given document with whatever the default attributes are.
DoubleHashtable - Class in org.freehep.util
Stores a hashtable of hashtables, which can be indexed by a key and a subkey.
DoubleHashtable() - Constructor for class org.freehep.util.DoubleHashtable
creates a hashtable of hashtables
DoubleWithError - Class in org.freehep.util
A class that encapsulates a value and its error.
DoubleWithError(double, double) - Constructor for class org.freehep.util.DoubleWithError
 
DoubleWithError(double, double, double) - Constructor for class org.freehep.util.DoubleWithError
 

E

elements() - Method in class org.freehep.util.DoubleHashtable
 

F

Factory - Class in org.freehep.util
Methods to use factories (a la JAXP).
FastStack - Class in org.freehep.util
Unsynchronized version of a Stack.
FastStack() - Constructor for class org.freehep.util.FastStack
 
FastStack(int) - Constructor for class org.freehep.util.FastStack
 
filter(Reader) - Method in class org.freehep.util.template.TemplateEngine
Apply the template to a document.
findFactory(String, String, String) - Static method in class org.freehep.util.Factory
Find the correct factory name, based on the following procedure: Use the specified system property: factoryName.
format(Object, StringBuffer, FieldPosition) - Method in class org.freehep.util.ScientificFormat
Implementation of inherited abstract method.
format(double) - Method in class org.freehep.util.ScientificFormat
Format the number using scientific notation
FreeHEPLookup - Class in org.freehep.util
A simple lookup which allows adding and removing items.
fromExternal(String) - Method in class org.freehep.util.Value
Set to value from the external respresentation

G

get(Object) - Method in class org.freehep.util.DoubleHashtable
 
get(Object, Object) - Method in class org.freehep.util.DoubleHashtable
 
getAngle(double) - Method in class org.freehep.util.DiscreteAngle
Returns the closest angle to any discrete angle in the set.
getBestCursor(String, Class, int, int) - Static method in class org.freehep.util.images.ImageHandler
Create the best cursor by reading from a URL, with hotspot (0,0).
getBestCursor(String, Class, int, int, int, int) - Static method in class org.freehep.util.images.ImageHandler
Create the best cursor by reading from a URL, with hotspot (x, y).
getBoolean() - Method in class org.freehep.util.Value
Get the boolean value.
getByte() - Method in class org.freehep.util.Value
Get the byte value.
getBytes(Image, Color, String, int, ImageObserver) - Static method in class org.freehep.util.images.ImageUtilities
 
getBytes(RenderedImage, Color, String, int) - Static method in class org.freehep.util.images.ImageUtilities
Returns the bytes of an image.
getChar() - Method in class org.freehep.util.Value
Get the char value.
getCursor(URL) - Static method in class org.freehep.util.images.ImageHandler
Create a cursor by reading from a URL, with hotspot (0,0).
getCursor(URL, int, int) - Static method in class org.freehep.util.images.ImageHandler
Create a cursor by reading from a URL
getCursor(String, Class) - Static method in class org.freehep.util.images.ImageHandler
Convenience routine, equivalent to getCursor(clazz.getResource(name)); As an additional convenience, if the name does not contain an extension (eg .gif) then a list of common extensions will be tried.
getCursor(String, Class, int, int) - Static method in class org.freehep.util.images.ImageHandler
Convenience routine, equivalent to getCursor(clazz.getResource(name)); As an additional convenience, if the name does not contain an extension (eg .gif) then a list of common extensions will be tried.
getCursor(String, Class) - Static method in class org.freehep.util.images.TempImageHandler
 
getCursor(String, Class, int, int) - Static method in class org.freehep.util.images.TempImageHandler
 
getDate() - Method in class org.freehep.util.Value
Get the Date value.
getDouble() - Method in class org.freehep.util.Value
Get the double value.
getError() - Method in class org.freehep.util.DoubleWithError
 
getFloat() - Method in class org.freehep.util.Value
Get the float value.
getIcon(URL) - Static method in class org.freehep.util.images.ImageHandler
Create an Icon by reading from a URL
getIcon(String, Class) - Static method in class org.freehep.util.images.ImageHandler
Convenience routine, equivalent to getIcon(clazz.getResource(name)); As an additional convenience, if the name does not contain an extension (eg .gif) then a list of common extensions will be tried.
getIcon(String, Class) - Static method in class org.freehep.util.images.TempImageHandler
 
getImage(URL) - Static method in class org.freehep.util.images.ImageHandler
Load an image from a URL.
getImage(String, Class) - Static method in class org.freehep.util.images.ImageHandler
Convenience routine, equivalent to getImage(clazz.getResource(name)); As an additional convenience, if the name does not contain an extension (eg .gif) then a list of common extensions will be tried.
getImage(String, Class) - Static method in class org.freehep.util.images.TempImageHandler
 
getInfo(Class, String, String) - Static method in class org.freehep.util.PackageInfo
retrieves the info for the package of this class either from the MANIFEST file or from the given text file situated at the root of the jar file
getInt() - Method in class org.freehep.util.Value
Get the integer value.
getLong() - Method in class org.freehep.util.Value
Get the long value.
getMaxWidth() - Method in class org.freehep.util.ScientificFormat
Returns the maximum allowable width of formatted number excluding any exponentials
getMinError() - Method in class org.freehep.util.DoubleWithError
 
getName(Class, String) - Static method in class org.freehep.util.PackageInfo
retrieves the name
getObject() - Method in class org.freehep.util.Value
Get the Object value.
getPlusError() - Method in class org.freehep.util.DoubleWithError
 
getProperty(String) - Method in class org.freehep.util.UserProperties
 
getProperty(String, String) - Method in class org.freehep.util.UserProperties
 
getPropertyColor(String) - Method in class org.freehep.util.UserProperties
 
getPropertyColor(String, Color) - Method in class org.freehep.util.UserProperties
 
getPropertyDimension(String) - Method in class org.freehep.util.UserProperties
 
getPropertyDimension(String, Dimension) - Method in class org.freehep.util.UserProperties
 
getPropertyDouble(String) - Method in class org.freehep.util.UserProperties
 
getPropertyDouble(String, double) - Method in class org.freehep.util.UserProperties
 
getPropertyFloat(String) - Method in class org.freehep.util.UserProperties
 
getPropertyFloat(String, float) - Method in class org.freehep.util.UserProperties
 
getPropertyInsets(String) - Method in class org.freehep.util.UserProperties
 
getPropertyInsets(String, Insets) - Method in class org.freehep.util.UserProperties
 
getPropertyInt(String) - Method in class org.freehep.util.UserProperties
 
getPropertyInt(String, int) - Method in class org.freehep.util.UserProperties
 
getPropertyRectangle(String) - Method in class org.freehep.util.UserProperties
 
getPropertyRectangle(String, Rectangle) - Method in class org.freehep.util.UserProperties
 
getPropertyStringArray(String) - Method in class org.freehep.util.UserProperties
 
getPropertyStringArray(String, String[]) - Method in class org.freehep.util.UserProperties
 
getScientificNotationStyle() - Method in class org.freehep.util.ScientificFormat
Returns the formatting style: True means Pure scientific formatting, False means standard.
getShort() - Method in class org.freehep.util.Value
Get the short value.
getSigDigits() - Method in class org.freehep.util.ScientificFormat
Returns the number of significant digits
getString() - Method in class org.freehep.util.Value
Get the String value.
getType() - Method in class org.freehep.util.Value
Get the Value's type
getValue() - Method in class org.freehep.util.DoubleWithError
 
getValue(String) - Method in class org.freehep.util.template.PropertiesValueProvider
 
getValue(String) - Method in class org.freehep.util.template.Template
 
getValue(String) - Method in interface org.freehep.util.template.ValueProvider
Get a single value
getValues(String) - Method in class org.freehep.util.template.PropertiesValueProvider
 
getValues(String) - Method in class org.freehep.util.template.Template
 
getValues(String) - Method in interface org.freehep.util.template.ValueProvider
Get a list of value providers.
getVersion(Class, String) - Static method in class org.freehep.util.PackageInfo
retrieves the version

H

hasAsymmetricError() - Method in class org.freehep.util.DoubleWithError
 

I

ImageHandler - Class in org.freehep.util.images
A convenience class for handling images.
ImageHandler() - Constructor for class org.freehep.util.images.ImageHandler
 
ImageUtilities - Class in org.freehep.util.images
 
installedProviders(Class) - Static method in class org.freehep.util.Service
 
instance() - Static method in class org.freehep.util.FreeHEPLookup
Access a singleton instance of FreeHEPLookup.ProxyLookup
isEmpty() - Method in class org.freehep.util.DoubleHashtable
 
isProperty(String) - Method in class org.freehep.util.UserProperties
 
isProperty(String, boolean) - Method in class org.freehep.util.UserProperties
 
iterator() - Method in class org.freehep.util.DoubleHashtable
 

K

keys() - Method in class org.freehep.util.DoubleHashtable
 
keys(Object) - Method in class org.freehep.util.DoubleHashtable
 

L

loadFactory(String, String, String) - Static method in class org.freehep.util.Factory
 
lookup(Lookup.Template) - Method in class org.freehep.util.FreeHEPLookup
 
lookup(Class) - Method in class org.freehep.util.FreeHEPLookup
 

M

main(String[]) - Static method in class org.freehep.util.DiscreteAngle
 

O

ObjectConverter - Interface in org.freehep.util
Object converter which allows conversion of objects of one class into another.
OptionParser - Class in org.freehep.util
 
OptionParser() - Constructor for class org.freehep.util.OptionParser
 
org.freehep.util - package org.freehep.util
Generic utility classes for FreeHEP.
org.freehep.util.images - package org.freehep.util.images
Image handler to (pre-)load images and icons.
org.freehep.util.template - package org.freehep.util.template
A simple template engine.

P

PackageInfo - Class in org.freehep.util
Methods for Package Info (version, name, ...)
parseObject(String, ParsePosition) - Method in class org.freehep.util.ScientificFormat
Dummy implementation of inherited abstract method.
parseOptions(String) - Static method in class org.freehep.util.OptionParser
 
peek() - Method in class org.freehep.util.FastStack
 
pop() - Method in class org.freehep.util.FastStack
 
PropertiesValueProvider - Class in org.freehep.util.template
A value provider that returns values based on a properties object.
PropertiesValueProvider() - Constructor for class org.freehep.util.template.PropertiesValueProvider
Builds a PropertiesValueProvider which takes its values from the system properties.
PropertiesValueProvider(Properties) - Constructor for class org.freehep.util.template.PropertiesValueProvider
Builds a PropertiesValueProvider which takes its values from the specified Properties object.
propertyNames() - Method in class org.freehep.util.UserProperties
 
providers(Class, ClassLoader) - Static method in class org.freehep.util.Service
 
providers(Class) - Static method in class org.freehep.util.Service
 
push(Object) - Method in class org.freehep.util.FastStack
 
put(Object, Object, Object) - Method in class org.freehep.util.DoubleHashtable
puts a value in sub-table specified by key and subkey.

R

remove(Object, Object) - Method in class org.freehep.util.DoubleHashtable
removes value from sub-table specified by key and subkey.
remove(Object) - Method in class org.freehep.util.FreeHEPLookup
Remove an instance from the lookup
remove(Object, String) - Method in class org.freehep.util.FreeHEPLookup
Remove an instance with a specific ID.
remove(Object, String[]) - Method in class org.freehep.util.FreeHEPLookup
Remove an instance with multiple IDs
removeAngle(double) - Method in class org.freehep.util.DiscreteAngle
Removes a discrete angle from the set.
removeAngle(Double) - Method in class org.freehep.util.DiscreteAngle
Removes a discrete angle from the set.
removeValueProvider(ValueProvider) - Method in class org.freehep.util.template.TemplateEngine
Remove a value provider from the list of value providers.
replace(CharSequence, CharSequence, String) - Static method in class org.freehep.util.StringUtilities
 

S

ScientificFormat - Class in org.freehep.util
This code formats numbers in Scientific Notation.
ScientificFormat() - Constructor for class org.freehep.util.ScientificFormat
 
ScientificFormat(int, int, boolean) - Constructor for class org.freehep.util.ScientificFormat
Sets the significant digits, maximum allowable width and number formatting style (SciNote == true for Pure formatting).
Service - Class in org.freehep.util
This class does the same as sun.misc.Service, which may become public in some java or javax package at some point.
set(String, String) - Method in class org.freehep.util.template.Template
Set a value.
set(int) - Method in class org.freehep.util.Value
Set the Value's internal value to an integer.
set(short) - Method in class org.freehep.util.Value
Set the Value's internal value to a short.
set(long) - Method in class org.freehep.util.Value
Set the Value's internal value to a long.
set(float) - Method in class org.freehep.util.Value
Set the Value's internal value to a float.
set(double) - Method in class org.freehep.util.Value
Set the Value's internal value to a double.
set(boolean) - Method in class org.freehep.util.Value
Set the Value's internal value to a boolean.
set(byte) - Method in class org.freehep.util.Value
Set the Value's internal value to a byte.
set(char) - Method in class org.freehep.util.Value
Set the Value's internal value to a char.
set(String) - Method in class org.freehep.util.Value
Set the Value's internal value to a String.
set(Date) - Method in class org.freehep.util.Value
Set the Value's internal value to a Date.
set(Object) - Method in class org.freehep.util.Value
Set the Value's internal value to an Object.
setClassLoader(ClassLoader) - Method in class org.freehep.util.FreeHEPLookup
Sets the ClassLoader used for subsequent service API lookups
setError(double) - Method in class org.freehep.util.DoubleWithError
 
setError(double, double) - Method in class org.freehep.util.DoubleWithError
 
setMaxWidth(int) - Method in class org.freehep.util.ScientificFormat
Sets the maximum allowable length of the formattted number mantissa before exponential notation is used.
setProperties(Properties) - Method in class org.freehep.util.UserProperties
Copies properties, including its defaults into this UserProperties
setProperty(String, String) - Method in class org.freehep.util.UserProperties
 
setProperty(String, String[]) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, String[]) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, Color) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, Color) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, Rectangle) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, Rectangle) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, Insets) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, Insets) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, Dimension) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, Dimension) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, int) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, int) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, double) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, double) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, float) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, float) - Static method in class org.freehep.util.UserProperties
 
setProperty(String, boolean) - Method in class org.freehep.util.UserProperties
 
setProperty(Properties, String, boolean) - Static method in class org.freehep.util.UserProperties
 
setScientificNotationStyle(boolean) - Method in class org.freehep.util.ScientificFormat
Sets the format style used.
setSigDigits(int) - Method in class org.freehep.util.ScientificFormat
Sets the number of significant digits for the formatted number
setValue(double) - Method in class org.freehep.util.DoubleWithError
 
setValue(Value) - Method in class org.freehep.util.Value
 
size() - Method in class org.freehep.util.DoubleHashtable
 
StringUtilities - Class in org.freehep.util
 

T

TempImageHandler - Class in org.freehep.util.images
 
TempImageHandler() - Constructor for class org.freehep.util.images.TempImageHandler
 
Template - Class in org.freehep.util.template
A simple implementation of ValueProvider.
Template() - Constructor for class org.freehep.util.template.Template
Create an empty template.
TemplateEngine - Class in org.freehep.util.template
A very simple template engine.
TemplateEngine() - Constructor for class org.freehep.util.template.TemplateEngine
 
toExternal() - Method in class org.freehep.util.Value
Returns an external representation of this value
toString() - Method in class org.freehep.util.DiscreteAngle
 
toString() - Method in class org.freehep.util.DoubleHashtable
 
toString() - Method in class org.freehep.util.DoubleWithError
 
toString() - Method in class org.freehep.util.Value
Get the String value.
TYPE_BOOLEAN - Static variable in class org.freehep.util.Value
 
TYPE_BYTE - Static variable in class org.freehep.util.Value
 
TYPE_CHAR - Static variable in class org.freehep.util.Value
 
TYPE_DATE - Static variable in class org.freehep.util.Value
 
TYPE_DOUBLE - Static variable in class org.freehep.util.Value
 
TYPE_FLOAT - Static variable in class org.freehep.util.Value
 
TYPE_INTEGER - Static variable in class org.freehep.util.Value
 
TYPE_LONG - Static variable in class org.freehep.util.Value
 
TYPE_SHORT - Static variable in class org.freehep.util.Value
 
TYPE_STRING - Static variable in class org.freehep.util.Value
 

U

UserProperties - Class in org.freehep.util
Special property class which allows typed properties to be set and returned.
UserProperties() - Constructor for class org.freehep.util.UserProperties
 
UserProperties(Properties) - Constructor for class org.freehep.util.UserProperties
 
UserProperties(Properties, Properties) - Constructor for class org.freehep.util.UserProperties
Constructs UserProperties with a defaults and altDefaults table, which are searched in that order.

V

Value - Class in org.freehep.util
A class that can represent any Java object or primitive.
Value() - Constructor for class org.freehep.util.Value
 
Value(Value) - Constructor for class org.freehep.util.Value
 
ValueProvider - Interface in org.freehep.util.template
An interface to be implemented by anything that wishes to provide values to the template engine.
VersionComparator - Class in org.freehep.util
 
VersionComparator() - Constructor for class org.freehep.util.VersionComparator
 
versionNumberCompare(String, String) - Method in class org.freehep.util.VersionComparator
Compares two version numbers of the form 1.2.3.4

W

write(int) - Method in class org.freehep.util.DocumentOutputStream
Writes the specified byte to this output stream.
write(byte[], int, int) - Method in class org.freehep.util.DocumentOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.

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

Copyright © 2012. All Rights Reserved.