- a - Variable in class com.samskivert.util.Triple
-
The first object.
- abort() - Method in interface com.samskivert.swing.util.Task
-
This method is called by the task master when it has received a
request to cancel this task.
- abort() - Method in class com.samskivert.swing.util.TaskAdapter
-
Always returns false by default.
- AbsoluteLayout - Class in com.samskivert.swing
-
Used to lay out components at absolute coordinates.
- AbsoluteLayout() - Constructor for class com.samskivert.swing.AbsoluteLayout
-
- AbstractInterator - Class in com.samskivert.util
-
A building-block for writing an Interator.
- AbstractInterator() - Constructor for class com.samskivert.util.AbstractInterator
-
- AbstractIntSet - Class in com.samskivert.util
-
A base class for
IntSet
implementations.
- AbstractIntSet() - Constructor for class com.samskivert.util.AbstractIntSet
-
- Action(String, String) - Constructor for class com.samskivert.swing.RuntimeAdjust.Action
-
- action(String) - Method in class com.samskivert.velocity.FormTool
-
Generates a hidden form field named action
with the
specified value.
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.CollapsiblePanel
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.Controller
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.RuntimeAdjust.Action
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.RuntimeAdjust.BooleanAdjust
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.RuntimeAdjust.EnumAdjust
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.RuntimeAdjust.FileAdjust
-
- actionPerformed(ActionEvent) - Method in class com.samskivert.swing.RuntimeAdjust.IntAdjust
-
- activate(RadialMenu.Host, Rectangle, Object) - Method in class com.samskivert.swing.RadialMenu
-
Activates the radial menu, rendering a menu around the prescribed bounds.
- activate(RadialMenu.Host, Rectangle) - Method in class com.samskivert.swing.RadialMenu
-
Activates the radial menu, rendering a menu around the prescribed bounds.
- activate() - Static method in class com.samskivert.util.DebugChords
-
Initializes the debug chords services and wires up the key event
listener that will be used to invoke the bound code.
- activateAntiAliasing(Graphics2D) - Static method in class com.samskivert.swing.util.SwingUtil
-
Activates anti-aliasing in the supplied graphics context on both text and 2D drawing
primitives.
- activateSiteSpecificMessages(String, SiteResourceLoader) - Method in class com.samskivert.servlet.MessageManager
-
If the message manager is to be used in a multi-site environment, it can be configured to
load site-specific message resources in addition to the default application message
resources.
- add(int[]) - Method in class com.samskivert.util.AbstractIntSet
-
Add all of the values in the supplied array to the set.
- add(int) - Method in class com.samskivert.util.AbstractIntSet
-
- add(Integer) - Method in class com.samskivert.util.AbstractIntSet
-
- add(int) - Method in class com.samskivert.util.ArrayIntSet
-
- add(E) - Method in class com.samskivert.util.BaseArrayList
-
- add(int, E) - Method in class com.samskivert.util.BaseArrayList
-
- add(int, int) - Method in class com.samskivert.util.Calendars.Builder
-
- add(int[], int) - Static method in class com.samskivert.util.CompactIntListUtil
-
Adds the specified value to the list iff it is not already in the
list.
- add(K, int) - Method in class com.samskivert.util.CountMap
-
Add the specified amount to the count for the specified key, return the new count.
- add(T) - Method in class com.samskivert.util.DependencyGraph
-
Adds an element with no initial dependencies from the graph.
- add(int) - Method in class com.samskivert.util.HashIntSet
-
- add(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Adds the specified value to the first empty slot in the specified
list.
- add(int[], int, int) - Static method in class com.samskivert.util.IntListUtil
-
Adds the specified value to the next empty slot in the specified
list.
- add(int) - Method in interface com.samskivert.util.IntSet
-
Adds the specified element to this set if it is not already present
(optional operation).
- add(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Adds the specified element to the first empty slot in the specified
list.
- add(Object[], int, Object) - Static method in class com.samskivert.util.ListUtil
-
Adds the specified element to the next empty slot in the specified
list.
- add(int, T) - Method in class com.samskivert.util.ObserverList
-
Adds an observer at the specified index.
- add(T) - Method in class com.samskivert.util.ObserverList
-
Adds an observer to the end of the list.
- add(Object) - Method in class com.samskivert.util.RecentList
-
Adds the specified value to the list.
- add(int, T) - Method in class com.samskivert.util.WeakObserverList
-
- add(T) - Method in class com.samskivert.util.WeakObserverList
-
- add(double, double) - Method in class com.samskivert.velocity.DataTool
-
Double addition.
- addActionListener(ActionListener) - Method in class com.samskivert.swing.ComboButtonBox
-
Adds a listener to our list of entities to be notified when the
selection changes.
- addActionListener(ActionListener) - Method in class com.samskivert.swing.ObjectEditorTable
-
Add an action listener to this table.
- addActionListener(ActionListener) - Method in class com.samskivert.swing.RadialMenu
-
Adds a listener that will be notified when a menu item is selected.
- addAll(Collection<? extends Integer>) - Method in class com.samskivert.util.AbstractIntSet
-
- addAll(C, Enumeration<? extends T>) - Static method in class com.samskivert.util.CollectionUtil
-
Adds all items returned by the enumeration to the supplied collection
and returns the supplied collection.
- addAll(C, Iterator<? extends T>) - Static method in class com.samskivert.util.CollectionUtil
-
Adds all items returned by the iterator to the supplied collection and
returns the supplied collection.
- addAll(C, E[]) - Static method in class com.samskivert.util.CollectionUtil
-
Adds all items in the given object array to the supplied collection and
returns the supplied collection.
- addAll(C, Iterable<? extends Collection<? extends T>>) - Static method in class com.samskivert.util.CollectionUtil
-
Folds all the specified values into the supplied collection and returns it.
- addColumn(Connection, String, String, String, boolean) - Method in class com.samskivert.jdbc.BaseLiaison
-
- addColumn(Connection, String, String, ColumnDefinition, boolean) - Method in class com.samskivert.jdbc.BaseLiaison
-
- addColumn(Connection, String, String, String, boolean) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Adds a column to a table with the given definition.
- addColumn(Connection, String, String, ColumnDefinition, boolean) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Adds a column to a table with the given definition.
- addColumn(Connection, String, String, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Adds a column (with name 'cname' and definition 'cdef') to the specified table.
- addComponent(Lifecycle.BaseComponent) - Method in class com.samskivert.util.Lifecycle
-
Registers a component with the lifecycle.
- addDatum(Object) - Method in class com.samskivert.swing.ObjectEditorTable
-
Add the specified element to the end of the data set.
- addDays(int) - Method in class com.samskivert.util.Calendars.Builder
-
- addDebugBorders(JPanel) - Static method in class com.samskivert.swing.util.SwingUtil
-
Adds a one pixel border of random color to this and all panels contained in this panel's
child hierarchy.
- addDependency(T, T) - Method in class com.samskivert.util.DependencyGraph
-
Records a new dependency of the dependant upon the dependee.
- addDragSource(DragSource, JComponent) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Add the specified component as a source of drags, with the DragSource
controller, and remove the source when it is removed from the component
hierarchy.
- addDragSource(DragSource, JComponent, boolean) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Add the specified component as a source of drags, with the DragSource
controller.
- addDropTarget(DropTarget, JComponent) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Add the specified component as a drop target, and remove the target
when it is removed from the component hierarchy.
- addDropTarget(DropTarget, JComponent, boolean) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Add the specified component as a drop target.
- addFieldParser(String, SetPropertyFieldsRule.FieldParser) - Method in class com.samskivert.xml.SetPropertyFieldsRule
-
Adds a custom parser for the specified named field.
- addHours(int) - Method in class com.samskivert.util.Calendars.Builder
-
- addIndexToTable(Connection, String, List<String>, String, boolean) - Method in class com.samskivert.jdbc.BaseLiaison
-
- addIndexToTable(Connection, String, List<String>, String, boolean) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Adds a named index to a table on the given columns.
- addIndexToTable(Connection, String, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Adds an index on the specified column (cname) to the specified table.
- addIndexToTable(Connection, String, List<String>, String, boolean) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- addInitConstraint(Lifecycle.InitComponent, Lifecycle.Constraint, Lifecycle.InitComponent) - Method in class com.samskivert.util.Lifecycle
-
Adds a constraint that a certain component must be initialized before another.
- addLayoutComponent(String, Component) - Method in class com.samskivert.swing.AbsoluteLayout
-
- addLayoutComponent(Component, Object) - Method in class com.samskivert.swing.AbsoluteLayout
-
- addLayoutComponent(String, Component) - Method in class com.samskivert.swing.GroupLayout
-
- addLayoutComponent(Component, Object) - Method in class com.samskivert.swing.GroupLayout
-
- addMenuItem(String, String, Image, RadialMenu.Predicate) - Method in class com.samskivert.swing.RadialMenu
-
Adds a menu item to the menu.
- addMenuItem(RadialMenuItem, boolean) - Method in class com.samskivert.swing.RadialMenu
-
Adds an already constructed menu item to the menu.
- addMenuItem(RadialMenuItem) - Method in class com.samskivert.swing.RadialMenu
-
Adds an already constructed menu item to the menu.
- addMenuItem(ActionListener, JMenu, String, Integer, KeyStroke) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name and
attributes.
- addMenuItem(ActionListener, JMenu, String, int, KeyStroke) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name and
attributes.
- addMenuItem(ActionListener, JMenu, String, int) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name and
attributes.
- addMenuItem(ActionListener, JMenu, String) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name.
- addMenuItem(JMenu, String, int, KeyStroke, Object, String) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name and
attributes.
- addMenuItem(JMenu, String, Object, String) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the menu with the specified name and
attributes.
- addMenuItem(JPopupMenu, String, Object, String) - Static method in class com.samskivert.swing.util.MenuUtil
-
Adds a new menu item to the popup menu with the specified name and
attributes.
- addMinutes(int) - Method in class com.samskivert.util.Calendars.Builder
-
- addMonths(int) - Method in class com.samskivert.util.Calendars.Builder
-
- addNotify() - Method in class com.samskivert.swing.LazyComponent
-
- addNotify() - Method in class com.samskivert.swing.ScrollBox
-
- addObject(int, int, Object) - Method in class com.samskivert.swing.util.ProximityTracker
-
Adds an object to the tracker.
- addPrimaryKey(Connection, String, List<String>) - Method in class com.samskivert.jdbc.BaseLiaison
-
- addPrimaryKey(Connection, String, List<String>) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Adds a primary key to a table of the given name and on the given columns.
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.samskivert.util.PrefsConfig
-
Adds a listener that will be notified whenever any configuration properties are changed by a
call to one of the set
methods.
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.samskivert.util.PrefsConfig
-
Adds a listener that will be notified whenever the specified configuration property is
changed by a call to the appropriate set
method.
- addRenderingHints(Map<?, ?>) - Method in class com.samskivert.swing.TGraphics2D
-
- AddressUtil - Class in com.samskivert.net
-
Address related utilities.
- AddressUtil() - Constructor for class com.samskivert.net.AddressUtil
-
- addSection(String, ListModel) - Method in class com.samskivert.swing.CollapsibleList
-
Adds a section to this collapsible list.
- addShutdownConstraint(Lifecycle.ShutdownComponent, Lifecycle.Constraint, Lifecycle.ShutdownComponent) - Method in class com.samskivert.util.Lifecycle
-
Adds a constraint that a certain component must be shutdown before another.
- addTask(SerialExecutor.ExecutorTask) - Method in class com.samskivert.util.SerialExecutor
-
Add a task to the executor, it is expected that this method is
called on the ResultReceiver thread.
- addValue(int) - Method in class com.samskivert.util.Histogram
-
Registers a value with this histogram.
- addYears(int) - Method in class com.samskivert.util.Calendars.Builder
-
- adjustSize(int) - Method in class com.samskivert.util.LRUHashMap
-
Update the overall size of the cache if an already added item changes size.
- AncestorAdapter - Class in com.samskivert.swing.event
-
An abstract adapter class for receiving ancestor events.
- AncestorAdapter() - Constructor for class com.samskivert.swing.event.AncestorAdapter
-
- ancestorAdded(AncestorEvent) - Method in class com.samskivert.swing.event.AncestorAdapter
-
- ancestorMoved(AncestorEvent) - Method in class com.samskivert.swing.event.AncestorAdapter
-
- ancestorRemoved(AncestorEvent) - Method in class com.samskivert.swing.event.AncestorAdapter
-
- and(IntSet...) - Static method in class com.samskivert.util.IntSets
-
Create a new IntSet containing the ints that are contained in all
of the specified sets.
- And(Predicate<T>...) - Constructor for class com.samskivert.util.Predicate.And
-
- andView(IntSet...) - Static method in class com.samskivert.util.IntSets
-
Returns an immutable view of the underlying sets.
- append(byte[], byte) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the last slot.
- append(short[], short) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the last slot.
- append(int[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the last slot.
- append(float[], float) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the last slot.
- append(T[], T) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the last slot.
- append(Object...) - Method in class com.samskivert.util.LogBuilder
-
Adds the given key value pairs to the log.
- append(T) - Method in class com.samskivert.util.Queue
-
Appends the supplied item to the end of the queue, and notify a
consumer if and only if the queue was previously empty.
- appendLoud(T) - Method in class com.samskivert.util.Queue
-
Appends an item to the queue and notify a listener regardless of
how many items are on the queue.
- appendPath(String, String) - Static method in class com.samskivert.net.PathUtil
-
Appends the supplied affix to the specified source path, ensuring
that exactly one path separator (/
as we are dealing
with URLs here not platform specific file-system paths) is used
between the two.
- appendSilent(T) - Method in class com.samskivert.util.Queue
-
Appends an item to the queue without notifying anyone.
- Application - Class in com.samskivert.velocity
-
The servlet API defines the concept of a web application and associates certain attributes with
it like document root and so on.
- Application() - Constructor for class com.samskivert.velocity.Application
-
- apply(Component) - Method in interface com.samskivert.swing.util.SwingUtil.ComponentOp
-
Apply an operation to the given component.
- apply(B, A) - Method in interface com.samskivert.util.Folds.F
-
Folds the supplied element into the result.
- apply(ObserverList.ObserverOp<T>) - Method in class com.samskivert.util.ObserverList
-
Applies the supplied observer operation to all observers in the list in a manner conforming
to the notification ordering policy specified at construct time.
- apply(T) - Method in interface com.samskivert.util.ObserverList.ObserverOp
-
Called once for each observer in the list.
- apply(ObserverList.ObserverOp<T>) - Method in class com.samskivert.util.WeakObserverList
-
- applyToHierarchy(Component, SwingUtil.ComponentOp) - Static method in class com.samskivert.swing.util.SwingUtil
-
Apply the specified ComponentOp to the supplied component and then all its descendants.
- applyToHierarchy(Component, int, SwingUtil.ComponentOp) - Static method in class com.samskivert.swing.util.SwingUtil
-
Apply the specified ComponentOp to the supplied component and then all its descendants, up
to the specified maximum depth.
- argument - Variable in class com.samskivert.swing.RadialMenuItem
-
A special argument to be used when this menu item is selected, rather than the argument
provided to the radial menu when it was activated.
- ArrayIntSet - Class in com.samskivert.util
-
Provides an
IntSet
implementation using a sorted array of integers to maintain the
contents of the set.
- ArrayIntSet(int[]) - Constructor for class com.samskivert.util.ArrayIntSet
-
Construct an ArrayIntSet with the specified starting values.
- ArrayIntSet(Collection<Integer>) - Constructor for class com.samskivert.util.ArrayIntSet
-
Construct an ArrayIntSet with the specified starting values.
- ArrayIntSet(int) - Constructor for class com.samskivert.util.ArrayIntSet
-
Construct an ArrayIntSet of the specified initial capacity.
- ArrayIntSet() - Constructor for class com.samskivert.util.ArrayIntSet
-
Constructs an empty set with the default initial capacity.
- ArrayUtil - Class in com.samskivert.util
-
Miscellaneous utility routines for working with arrays.
- ArrayUtil() - Constructor for class com.samskivert.util.ArrayUtil
-
- as(Object, Class<T>) - Static method in class com.samskivert.util.ObjectUtil
-
Cast the specified Object, or return null if it is not an instance.
- asCalendar() - Method in class com.samskivert.util.Calendars.Builder
-
- asCallable(V) - Static method in class com.samskivert.util.Callables
-
Return a
Callable
that merely returns the specified value.
- ASCENDING - Static variable in class com.samskivert.swing.TableSorter
-
- AsExecutor(RunQueue) - Constructor for class com.samskivert.util.RunQueue.AsExecutor
-
- asList(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Converts an array of primitives to a list of Integers.
- asRunnable(Object, String) - Static method in class com.samskivert.util.Runnables
-
Creates a runnable that invokes the specified method on the specified instance via
reflection.
- asRunnable(Class<?>, String) - Static method in class com.samskivert.util.Runnables
-
Creates a runnable that invokes the specified static method via reflection.
- at(long) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar configured with the specified time.
- at(int, int, int) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar configured to zero milliseconds after midnight on
the specified day in the specified month and year.
- at(Date) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar configured with the specified time.
- at(int, int, int) - Method in class com.samskivert.util.Calendars.Builder
-
Sets the time to zero milliseconds after midnight on the specified year, month and
day.
- AttachableURLFactory - Class in com.samskivert.net
-
Allows other entities in an application to register URLStreamHandler
classes for protocols of their own making.
- attachHandler(String, Class<? extends URLStreamHandler>) - Static method in class com.samskivert.net.AttachableURLFactory
-
Register a URL handler.
- AuditLogger - Class in com.samskivert.util
-
Used by various services to generate audit logs which can be useful for auditing, debugging and
other logly necessities.
- AuditLogger(File, String) - Constructor for class com.samskivert.util.AuditLogger
-
Creates an audit logger that logs to the specified file.
- AuditLogger(File) - Constructor for class com.samskivert.util.AuditLogger
-
Creates an audit logger that logs to the specified file.
- AUTH_INSECURE - Static variable in class com.samskivert.servlet.user.UserManager
-
An instance of the insecure authenticator for general-purpose use.
- AUTH_PASSWORD - Static variable in class com.samskivert.servlet.user.UserManager
-
An instance of the password authenticator for general-purpose use.
- authenticateUser(User, String, Password) - Method in interface com.samskivert.servlet.user.Authenticator
-
Checks whether the user should be authenticated based on the
supplied user record and the specified user information.
- authenticateUser(User, String, Password) - Method in class com.samskivert.servlet.user.UserManager.InsecureAuthenticator
-
- authenticateUser(User, String, Password) - Method in class com.samskivert.servlet.user.UserManager.PasswordAuthenticator
-
- AuthenticationFailedException - Exception in com.samskivert.servlet.user
-
Thrown when a user authentication attempt failed.
- AuthenticationFailedException(String) - Constructor for exception com.samskivert.servlet.user.AuthenticationFailedException
-
- Authenticator - Interface in com.samskivert.servlet.user
-
- AutoCloseOperation<V> - Class in com.samskivert.jdbc
-
- AutoCloseOperation() - Constructor for class com.samskivert.jdbc.AutoCloseOperation
-
- AutoscrollingDropTarget - Interface in com.samskivert.swing.dnd
-
An extension of DropTarget that allows its associated component to be
automatically scrolled during DnD operations.
- awaitFriendlyResponse(String) - Method in class com.samskivert.servlet.util.ServiceWaiter
-
Blocks waiting for the response.
- AWT - Static variable in interface com.samskivert.util.RunQueue
-
A useful RunQueue that uses the AWT dispatch thread.
- AWTResultListener<T> - Class in com.samskivert.swing
-
Dispatches a
ResultListener
's callbacks on the AWT thread
regardless of what thread on which they were originally dispatched.
- AWTResultListener(ResultListener<T>) - Constructor for class com.samskivert.swing.AWTResultListener
-
Creates an AWT result listener that will dispatch results to the
supplied target.
- c - Variable in class com.samskivert.util.Triple
-
The third object.
- Calendars - Class in com.samskivert.util
-
A fluent approach to dealing with
Calendar
and some calendar related utilities.
- Calendars() - Constructor for class com.samskivert.util.Calendars
-
- Calendars.Builder - Class in com.samskivert.util
-
Provides fluent methods for operating on a
Calendar
.
- CalendarUtil - Class in com.samskivert.util
-
- CalendarUtil() - Constructor for class com.samskivert.util.CalendarUtil
-
Deprecated.
- Callables - Class in com.samskivert.util
-
Utilities for Callables.
- Callables() - Constructor for class com.samskivert.util.Callables
-
- CallMethodSpecialRule - Class in com.samskivert.xml
-
Parses the bodies of elements and sets the value on the top object on
the stack using a special parser/setter interface.
- CallMethodSpecialRule() - Constructor for class com.samskivert.xml.CallMethodSpecialRule
-
- cancel() - Method in class com.samskivert.util.Interval
-
Cancel the current schedule, and ensure that any expirations that are queued up but have not
yet run do not run.
- capitalize(String) - Static method in class com.samskivert.util.StringUtil
-
Returns a version of the supplied string with the first letter capitalized.
- category - Variable in class com.samskivert.net.cddb.CDDB.Detail
-
The category to which this CD belongs.
- category - Variable in class com.samskivert.net.cddb.CDDB.Entry
-
The category to which this entry belongs.
- CDDB - Class in com.samskivert.net.cddb
-
The CDDB class provides access to the information provided by servers compliant with the
CDDB protocol.
- CDDB() - Constructor for class com.samskivert.net.cddb.CDDB
-
- CDDB.Detail - Class in com.samskivert.net.cddb
-
A detail object contains all of the detailed information about a particular CD as retrieved
from the CDDB server.
- CDDB.Entry - Class in com.samskivert.net.cddb
-
This class encapsulates the information needed to look up a full CDDB record for a
particular disc.
- CDDBException - Exception in com.samskivert.net.cddb
-
This exception class encapsulates errors that may occur while
communicating to a CDDB server.
- CDDBException(int, String) - Constructor for exception com.samskivert.net.cddb.CDDBException
-
- CDDBProtocol - Class in com.samskivert.net.cddb
-
The CDDB protocol class provides constants related to the CDDB protocol
as well as utility routines useful in dealing with the protocol.
- CDDBProtocol() - Constructor for class com.samskivert.net.cddb.CDDBProtocol
-
- CDDBTest - Class in com.samskivert.net.cddb
-
Tests the CDDB code by connecting to a CDDB server and making some
requests.
- CDDBTest() - Constructor for class com.samskivert.net.cddb.CDDBTest
-
- cdid - Variable in class com.samskivert.net.cddb.CDDB.Entry
-
The unique identifier for this entry.
- CENTER - Static variable in class com.samskivert.swing.GroupLayout
-
A justification constant.
- centerComponent(Component, Component) - Static method in class com.samskivert.swing.util.SwingUtil
-
Centers component b
within component a
.
- centerWindow(Window) - Static method in class com.samskivert.swing.util.SwingUtil
-
Center the given window within the screen boundaries.
- ChainedResultListener<T,TT> - Class in com.samskivert.util
-
A result listener that contains another result listener to which failure is
passed directly, but allows for success to be handled in whatever way is
desired by the chaining result listener.
- ChainedResultListener(ResultListener<TT>) - Constructor for class com.samskivert.util.ChainedResultListener
-
Creates a chained result listener that will pass failure through to the
specified target.
- changeColumn(Connection, String, String, String, Boolean, Boolean, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- changeColumn(Connection, String, String, String, Boolean, Boolean, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Alter the definition, but not the name, of a given column on a given table.
- changeColumn(Connection, String, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Changes a column's definition.
- changeColumn(Connection, String, String, String, Boolean, Boolean, String) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- changedUpdate(DocumentEvent) - Method in class com.samskivert.swing.event.DocumentAdapter
-
- characters(char[], int, int) - Method in class com.samskivert.xml.SimpleParser
-
- CheapIntMap - Class in com.samskivert.util
-
A low overhead hash map using positive integers as keys that is useful
for fast storage and lookup of a small and bounded number of items.
- CheapIntMap(int) - Constructor for class com.samskivert.util.CheapIntMap
-
Constructs a map that can hold the specified number of items.
- checkbox(String, boolean) - Method in class com.samskivert.velocity.FormTool
-
Constructs a checkbox input field with the specified name and
default value.
- checkCall(String) - Method in class com.samskivert.util.RepeatCallTracker
-
This method should be called when the code passes through the code
path that should be called only once.
- checkDrop(DropTarget) - Method in interface com.samskivert.swing.dnd.DragSource
-
Is the drop target an acceptable one?
Called prior to calling the DropTarget's checkDrop.
- checkDrop(DragSource, Object) - Method in interface com.samskivert.swing.dnd.DropTarget
-
Return true if the specified drop should be allowed on this target.
- checkedUpdate(PreparedStatement, int) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Calls stmt.executeUpdate()
on the supplied statement, checking to see that it
returns the expected update count and throwing a persistence exception if it does not.
- checkedUpdate(Statement, String, int) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Calls stmt.executeUpdate()
on the supplied statement with the supplied query,
checking to see that it returns the expected update count and throwing a persistence
exception if it does not.
- CheckVersionRule - Class in com.samskivert.xml
-
Used to compare a file format version number in an XML file with the
one compiled into the parsing code.
- CheckVersionRule(int, String) - Constructor for class com.samskivert.xml.CheckVersionRule
-
Constructs a check version rule with the specified know version
number.
- classIsAccessible(Class<?>) - Static method in class com.samskivert.util.ClassUtil
-
- ClasspathResourceLoader - Class in com.samskivert.velocity
-
Loads Velocity templates from the classpath.
- ClasspathResourceLoader() - Constructor for class com.samskivert.velocity.ClasspathResourceLoader
-
- ClassUtil - Class in com.samskivert.util
-
Class object related utility routines.
- ClassUtil() - Constructor for class com.samskivert.util.ClassUtil
-
- cleanInvoke(Connection, DatabaseLiaison) - Method in class com.samskivert.jdbc.AutoCloseOperation
-
- clear() - Method in class com.samskivert.jdbc.jora.FieldMask
-
Clears out the modification state of the fields in this mask.
- clear() - Method in class com.samskivert.util.ArrayIntSet
-
- clear() - Method in class com.samskivert.util.BaseArrayList
-
- clear() - Method in class com.samskivert.util.CheapIntMap
-
Clears out all mappings from the table.
- clear() - Method in class com.samskivert.util.CountMap
-
- clear() - Method in class com.samskivert.util.HashIntMap
-
- clear() - Method in class com.samskivert.util.HashIntSet
-
- clear() - Method in class com.samskivert.util.Histogram
-
Clears the values from this histogram.
- clear() - Method in class com.samskivert.util.IntIntMap
-
Clears all mappings.
- clear(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Clears out the first value that is equal to the supplied
value.
- clear(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Clears out the first element that is functionally equal to the
supplied element (element.equals(list[idx])
).
- clear() - Method in class com.samskivert.util.LRUHashMap
-
- clear() - Method in class com.samskivert.util.ObserverList
-
Clears all observers from the list.
- clear() - Method in class com.samskivert.util.Queue
-
- clear() - Method in class com.samskivert.util.RecentList
-
Clears the list.
- clear() - Method in class com.samskivert.util.RepeatCallTracker
-
Resets this repeat call tracker.
- clear() - Method in class com.samskivert.util.SoftCache
-
Clears all mappings.
- clear() - Method in class com.samskivert.util.WeakObserverList
-
- clearCookie(HttpServletResponse, String) - Static method in class com.samskivert.servlet.util.CookieUtil
-
Clear the cookie with the specified name.
- clearRect(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- clearRef(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Clears out the first element that is referentially equal to the
supplied element (list[idx] == element
).
- clearTargetDimens() - Method in class com.samskivert.swing.Label
-
Clears out previously configured target dimensions for this label.
- clearTransition(Class<?>, String) - Method in class com.samskivert.jdbc.TransitionRepository
-
Clear the transition.
- clicked(MouseEvent) - Method in class com.samskivert.swing.event.MouseArmingAdapter
-
Called when a click is registered over the component with the mouse
event that resulted in the click.
- CLIENT_NAME - Static variable in class com.samskivert.net.cddb.CDDB
-
The client name reported to the CDDB server.
- CLIENT_VERSION - Static variable in class com.samskivert.net.cddb.CDDB
-
The client version reported to the CDDB server.
- clip(Shape) - Method in class com.samskivert.swing.TGraphics2D
-
- clipRect(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- clone() - Method in class com.samskivert.jdbc.jora.FieldMask
-
Creates a copy of this field mask, with all fields set to
not-modified.
- clone() - Method in class com.samskivert.util.ArrayIntSet
-
- clone() - Method in class com.samskivert.util.BaseArrayList
-
- clone() - Method in class com.samskivert.util.HashIntMap
-
- clone() - Method in class com.samskivert.util.HashIntSet
-
- clone() - Method in class com.samskivert.util.Histogram
-
- close(InputStream) - Static method in class com.samskivert.io.StreamUtil
-
Convenient close for a stream.
- close(OutputStream) - Static method in class com.samskivert.io.StreamUtil
-
Convenient close for a stream.
- close(Reader) - Static method in class com.samskivert.io.StreamUtil
-
Convenient close for a Reader.
- close(Writer) - Static method in class com.samskivert.io.StreamUtil
-
Convenient close for a Writer.
- close(Statement) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Closes the supplied JDBC statement and gracefully handles being passed null (by doing
nothing).
- close(Connection) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Closes the supplied JDBC connection and gracefully handles being passed null (by doing
nothing).
- close() - Method in class com.samskivert.jdbc.jora.Cursor
-
Close the Cursor, even if we haven't read all the possible objects.
- close() - Method in class com.samskivert.net.cddb.CDDB
-
- close() - Method in class com.samskivert.util.AuditLogger
-
Closes this audit log (generally only done when the server is shutting down.
- closedBounds - Variable in class com.samskivert.swing.RadialLabelSausage
-
The dimensions of this item when we are in our closed state as
well as our most recently laid out coordinates.
- codeFamily(int) - Static method in class com.samskivert.net.cddb.CDDBProtocol
-
- codeGenus(int) - Static method in class com.samskivert.net.cddb.CDDBProtocol
-
- codeSpecies(int) - Static method in class com.samskivert.net.cddb.CDDBProtocol
-
- CollapsibleList - Class in com.samskivert.swing
-
Displays a list of components in sections (with section headers) that
can be collapsed.
- CollapsibleList() - Constructor for class com.samskivert.swing.CollapsibleList
-
Constructs an empty collapsible list.
- CollapsibleList(List<String>, List<ListModel>) - Constructor for class com.samskivert.swing.CollapsibleList
-
Constructs a collapsible list with the supplied section labels and models.
- CollapsiblePanel - Class in com.samskivert.swing
-
A panel that contains a button which will collapse the rest of the content.
- CollapsiblePanel(JButton) - Constructor for class com.samskivert.swing.CollapsiblePanel
-
Construct a collapsible panel with the specified button as the
trigger.
- CollapsiblePanel(String) - Constructor for class com.samskivert.swing.CollapsiblePanel
-
Construct a collapsible panel with the specified button text.
- CollapsiblePanel(LayoutManager) - Constructor for class com.samskivert.swing.CollapsiblePanel
-
Create a collapsible panel to which the trigger button will be
added later.
- CollapsiblePanel() - Constructor for class com.samskivert.swing.CollapsiblePanel
-
Create a collapsible panel to which the trigger button will be
added later.
- Collections - Class in com.samskivert.util
-
Provides functionality for the samskivert collections that the java.util
class of
the same name provides for the standard Java collections.
- Collections() - Constructor for class com.samskivert.util.Collections
-
- CollectionUtil - Class in com.samskivert.util
-
A collection of collection-related utility functions.
- CollectionUtil() - Constructor for class com.samskivert.util.CollectionUtil
-
- COLOR_PATTERN - Static variable in class com.samskivert.swing.Label
-
The pattern used to mark the start/end of color blocks.
- ColumnDefinition - Class in com.samskivert.jdbc
-
An object representing the configuration of a typical SQL column.
- ColumnDefinition() - Constructor for class com.samskivert.jdbc.ColumnDefinition
-
- ColumnDefinition(String) - Constructor for class com.samskivert.jdbc.ColumnDefinition
-
- ColumnDefinition(String, boolean, boolean, String) - Constructor for class com.samskivert.jdbc.ColumnDefinition
-
- columnSQL(String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- columnSQL(String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns the proper SQL to identify a column.
- columnSQL(String) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- columnSQL(String) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- columnSQL(String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- columnSQL(String) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- com.samskivert.annotation - package com.samskivert.annotation
-
- com.samskivert.io - package com.samskivert.io
-
Various I/O related utilities.
- com.samskivert.jdbc - package com.samskivert.jdbc
-
Provides support services to applications that access relational
databases via JDBC.
- com.samskivert.jdbc.jora - package com.samskivert.jdbc.jora
-
Provides a mapping between JDBC tables and Java objects.
- com.samskivert.net - package com.samskivert.net
-
Provides network related services and patterns.
- com.samskivert.net.cddb - package com.samskivert.net.cddb
-
Routines for accessing a CDDB server.
- com.samskivert.servlet - package com.samskivert.servlet
-
Provides services and patterns that are useful in developing web
applications.
- com.samskivert.servlet.user - package com.samskivert.servlet.user
-
Provides services for managing a database of users in a web
application or suite of web applications.
- com.samskivert.servlet.util - package com.samskivert.servlet.util
-
Provides servlet-related utilities.
- com.samskivert.swing - package com.samskivert.swing
-
Provides extensions and patterns for building user interfaces with
Swing.
- com.samskivert.swing.dnd - package com.samskivert.swing.dnd
-
A basic system for handling drag and drop within a single application.
- com.samskivert.swing.event - package com.samskivert.swing.event
-
Swing event adapters and utilities.
- com.samskivert.swing.util - package com.samskivert.swing.util
-
Provides Swing-related utility services.
- com.samskivert.text - package com.samskivert.text
-
Utilities for text processing and i18n.
- com.samskivert.util - package com.samskivert.util
-
Provides a variety of utility services including data structures,
synchronization support, text processing and more.
- com.samskivert.velocity - package com.samskivert.velocity
-
Provides parts of a simple web application framework built around the
Velocity template engine.
- com.samskivert.xml - package com.samskivert.xml
-
Provides XML related services.
- combine(int...) - Static method in class com.samskivert.util.Comparators
-
Returns the first non-zero value in the supplied list.
- ComboButtonBox - Class in com.samskivert.swing
-
Used to display a horizontal or vertical array of buttons, out of which
only one is selectable at a time (which will be represented by
rendering it with an indented border, whereas the other buttons will
render with an extruded border.
- ComboButtonBox(int) - Constructor for class com.samskivert.swing.ComboButtonBox
-
- ComboButtonBox(int, ComboBoxModel) - Constructor for class com.samskivert.swing.ComboButtonBox
-
- command - Variable in class com.samskivert.swing.RadialMenuItem
-
The command to issue if this item is selected.
- CommandButton - Class in com.samskivert.swing
-
A button that fires CommandEvents when it is actioned.
- CommandButton() - Constructor for class com.samskivert.swing.CommandButton
-
- CommandEvent - Class in com.samskivert.swing.event
-
An action event with an associated argument.
- CommandEvent(Object, String, Object) - Constructor for class com.samskivert.swing.event.CommandEvent
-
- CommandEvent(Object, String, Object, long, int) - Constructor for class com.samskivert.swing.event.CommandEvent
-
- compact(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Converts a sparse array (with zero-valued entries) into a compact
array (where all elements contain non-zero values) with ordering
preserved.
- CompactIntListUtil - Class in com.samskivert.util
-
This class manages compact arrays of ints.
- CompactIntListUtil() - Constructor for class com.samskivert.util.CompactIntListUtil
-
- COMPARABLE - Static variable in class com.samskivert.util.Comparators
-
- comparable() - Static method in class com.samskivert.util.Comparators
-
Returns the Comparator for Comparables, properly cast.
- ComparableArrayList<T extends Comparable<? super T>> - Class in com.samskivert.util
-
Provides a mechanism (
ComparableArrayList.sort()
) for sorting the contents of the list that doesn't involve
creating two object arrays.
- ComparableArrayList() - Constructor for class com.samskivert.util.ComparableArrayList
-
- ComparableTuple<L extends Comparable<? super L>,R extends Comparable<? super R>> - Class in com.samskivert.util
-
- ComparableTuple(L, R) - Constructor for class com.samskivert.util.ComparableTuple
-
Constructs a tuple with the supplied contents.
- Comparators - Class in com.samskivert.util
-
A repository for standard comparators.
- Comparators() - Constructor for class com.samskivert.util.Comparators
-
- compare(byte, byte) - Static method in class com.samskivert.util.Comparators
-
Compares two bytes, returning 1, 0, or -1.
- compare(char, char) - Static method in class com.samskivert.util.Comparators
-
Compares two chars, returning 1, 0, or -1.
- compare(short, short) - Static method in class com.samskivert.util.Comparators
-
Compares two shorts, returning 1, 0, or -1.
- compare(int, int) - Static method in class com.samskivert.util.Comparators
-
Compares two integers in an overflow safe manner, returning 1, 0, or -1.
- compare(long, long) - Static method in class com.samskivert.util.Comparators
-
Compares two longs in an overflow safe manner, returning 1, 0, or -1.
- compare(boolean, boolean) - Static method in class com.samskivert.util.Comparators
-
Compares two booleans, returning 1, 0, or -1.
- compareTo(ComparableTuple<L, R>) - Method in class com.samskivert.util.ComparableTuple
-
- compareTo(IntTuple) - Method in class com.samskivert.util.IntTuple
-
- compareTo(KeyValue<K, V>) - Method in class com.samskivert.util.KeyValue
-
- compareTo(T, T) - Static method in class com.samskivert.util.ObjectUtil
-
Compares two objects, returning -1 if left is null and right is not and 1 if left is
non-null and right is null.
- compatibleClasses(Class<?>[], Class<?>[]) - Static method in class com.samskivert.util.ClassUtil
-
Tells whether instances of the classes in the 'rhs' array could be used as parameters to a
reflective method invocation whose parameter list has types denoted by the 'lhs' array.
- ComplainingListener<T> - Class in com.samskivert.util
-
A ResultListener that does nothing on success and logs a warning message on failure, that's all.
- ComplainingListener(Logger, String, Object...) - Constructor for class com.samskivert.util.ComplainingListener
-
Creates a listener that will log failures to the supplied logger.
- ComplainingListener(Logger, String, Object...) - Constructor for class com.samskivert.util.ComplainingListener
-
Creates a listener that will log failures to the supplied logger.
- compose(String, Object...) - Static method in class com.samskivert.text.MessageUtil
-
Composes a message key with an array of arguments.
- compose(String, String...) - Static method in class com.samskivert.text.MessageUtil
-
Compose a message with String args.
- compress() - Method in class com.samskivert.util.CountHashMap
-
Compress the count map- remove entries for which the value is 0.
- compress() - Method in class com.samskivert.util.CountMap
-
Remove any keys for which the count is currently 0.
- compute(ShortestPath.Graph<T, V>, T, T) - Static method in class com.samskivert.util.ShortestPath
-
Computes the shortest path between the specified starting and ending nodes using Dijkstra's
algorithm.
- computeRelativePath(File, File) - Static method in class com.samskivert.net.PathUtil
-
Computes a relative path between to Files
- computeResult() - Method in class com.samskivert.jdbc.ResultUnit
-
Performs actions on the database and returns exciting data.
- computeSize(V) - Method in interface com.samskivert.util.LRUHashMap.ItemSizer
-
Returns the "size" of the specified object.
- computeWeight(V, T) - Method in interface com.samskivert.util.ShortestPath.Graph
-
Returns the weight associated with the supplied edge in the direction established by
the supplied starting node.
- concatenate(int[], int[]) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array that contains the contents of the first parameter
array followed by those of the second.
- concatenate(T[], T[]) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array that contains the contents of the first parameter
array followed by those of the second.
- CONDITION_FIVE - Static variable in class com.samskivert.util.Multex
-
A convenient constant for the fifth action.
- CONDITION_FOUR - Static variable in class com.samskivert.util.Multex
-
A convenient constant for the fourth action.
- CONDITION_ONE - Static variable in class com.samskivert.util.Multex
-
A convenient constant for the first action.
- CONDITION_THREE - Static variable in class com.samskivert.util.Multex
-
A convenient constant for the third action.
- CONDITION_TWO - Static variable in class com.samskivert.util.Multex
-
A convenient constant for the second action.
- Config - Class in com.samskivert.util
-
The config class provides a unified interaface to application configuration information.
- Config(String) - Constructor for class com.samskivert.util.Config
-
Constructs a new config object which will obtain configuration information from the
specified properties bundle.
- Config(String, ClassLoader) - Constructor for class com.samskivert.util.Config
-
Constructs a new config object which will obtain configuration information from the
specified properties bundle.
- Config(Properties) - Constructor for class com.samskivert.util.Config
-
Constructs a config object which will obtain information from the supplied properties.
- Config(String, Properties) - Constructor for class com.samskivert.util.Config
-
Deprecated.
- configureAction(AbstractButton, String) - Static method in class com.samskivert.swing.Controller
-
Configures the supplied button with the
Controller.DISPATCHER
action
listener and the specified action command (which, if it is a method name
will be looked up dynamically on the matching controller).
- configureDefaultHandler(Formatter) - Static method in class com.samskivert.util.FormatterUtil
-
Configures the default logging handler to use an instance of the specified formatter when
formatting messages.
- configureDefaultHandler() - Static method in class com.samskivert.util.OneLineLogFormatter
-
Configures the default logging handler to use an instance of this formatter when formatting
messages.
- configureDefaultHandler(boolean) - Static method in class com.samskivert.util.OneLineLogFormatter
-
Configures the default logging handler to use an instance of this formatter when formatting
messages.
- configureDefaultHandler(int) - Static method in class com.samskivert.util.RepeatRecordFilter
-
Configures the default logging handlers to use an instance of this
filter.
- configureDefaultHandler() - Static method in class com.samskivert.util.TerseLogFormatter
-
Configures the default logging handler to use an instance of this formatter when formatting
messages.
- ConfigUtil - Class in com.samskivert.util
-
The config util class provides routines for loading configuration information.
- ConfigUtil() - Constructor for class com.samskivert.util.ConfigUtil
-
- connect(String) - Method in class com.samskivert.net.cddb.CDDB
-
Connects this CDDB instance to the CDDB server running on the supplied host using the
standard port, name and version.
- connect(String, int) - Method in class com.samskivert.net.cddb.CDDB
-
Connects this CDDB instance to the CDDB server running on the supplied host using the
specified port and default client name and version.
- connect(String, int, String, String) - Method in class com.samskivert.net.cddb.CDDB
-
Connects this CDDB instance to the CDDB server running on the supplied host using the
specified port.
- connected() - Method in class com.samskivert.net.cddb.CDDB
-
- connectionFailed(String, boolean, Connection, SQLException) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Called by the repository if a failure occurred on the connection.
- connectionFailed(String, boolean, Connection, SQLException) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- connectionFailed(String, boolean, Connection, SQLException) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- ConnectionProvider - Interface in com.samskivert.jdbc
-
As the repository aims to interface with whatever database pooling services a project cares to
use, it obtains all of its database connections through a connection provider.
- CONSTRAIN - Static variable in class com.samskivert.swing.GroupLayout
-
Only valid for off-axis policy, this leaves widgets alone unless they are larger in the
off-axis direction than their container, in which case it constrains them to fit on the
off-axis.
- Constraints(int) - Constructor for class com.samskivert.swing.GroupLayout.Constraints
-
Constructs a new constraints object with the specified weight,
which is only applicable with the STRETCH policy.
- contains(int) - Method in class com.samskivert.util.AbstractIntSet
-
Returns true if this set contains the specified element.
- contains(Object) - Method in class com.samskivert.util.AbstractIntSet
-
- contains(int) - Method in class com.samskivert.util.ArrayIntSet
-
- contains(Object) - Method in class com.samskivert.util.BaseArrayList
-
- contains(int[], int) - Static method in class com.samskivert.util.CompactIntListUtil
-
Looks for an element that is equal to the supplied value.
- contains(int) - Method in class com.samskivert.util.HashIntSet
-
- contains(int) - Method in class com.samskivert.util.IntIntMap
-
- contains(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Looks for an element that is equal to the supplied value.
- contains(int) - Method in interface com.samskivert.util.IntSet
-
Returns true if this set contains the specified element.
- contains(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Looks for an element that is functionally equal to the supplied
element (element.equals(list[idx])
).
- contains(Object) - Method in class com.samskivert.util.RecentList
-
- containsAll(Collection<?>) - Method in class com.samskivert.util.AbstractIntSet
-
- containsKey(Object) - Method in class com.samskivert.util.CountMap
-
- containsKey(Object) - Method in class com.samskivert.util.HashIntMap
-
- containsKey(int) - Method in class com.samskivert.util.HashIntMap
-
- containsKey(int) - Method in class com.samskivert.util.IntIntMap
-
Returns true if this map contains a mapping for the specified key.
- containsKey(int) - Method in interface com.samskivert.util.IntMap
-
Returns true if this map contains a mapping for the
specified key.
- containsKey(Object) - Method in class com.samskivert.util.LRUHashMap
-
- containsKey(K) - Method in class com.samskivert.util.SoftCache
-
Returns true if the supplied key exists in this map and is mapped to an active value.
- containsRef(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Looks for an object that is referentially equal to the supplied
element (list[idx] == element
).
- containsValue(Object) - Method in class com.samskivert.util.HashIntMap
-
- containsValue(Object) - Method in class com.samskivert.util.LRUHashMap
-
- CONTENT_TYPE - Static variable in class com.samskivert.velocity.DispatcherServlet
-
The HTTP content type context key.
- contentsChanged(ListDataEvent) - Method in class com.samskivert.swing.ComboButtonBox
-
- ControlledPanel - Class in com.samskivert.swing
-
A controlled panel takes care of setting up its controller and
providing it.
- ControlledPanel() - Constructor for class com.samskivert.swing.ControlledPanel
-
Creates a controlled panel and its associated controller.
- Controller - Class in com.samskivert.swing
-
The controller class provides a basis for the separation of user interface
code into display code and control code.
- Controller() - Constructor for class com.samskivert.swing.Controller
-
- ControllerProvider - Interface in com.samskivert.swing
-
The controller provider interface is implemented by user interface
elements that have an associated
Controller
.
- CookieUtil - Class in com.samskivert.servlet.util
-
Utility methods for dealing with cookies.
- CookieUtil() - Constructor for class com.samskivert.servlet.util.CookieUtil
-
- coordsToString(int, int) - Static method in class com.samskivert.util.StringUtil
-
Formats a pair of coordinates such that positive values are rendered with a plus prefix and
negative values with a minus prefix.
- coordsToString(StringBuilder, int, int) - Static method in class com.samskivert.util.StringUtil
-
Formats a pair of coordinates such that positive values are rendered with a plus prefix and
negative values with a minus prefix.
- copy(InputStream, T) - Static method in class com.samskivert.io.StreamUtil
-
Copies the contents of the supplied input stream to the supplied output stream.
- copy(S[], T[]) - Static method in class com.samskivert.util.ArrayUtil
-
Similar to
Collection.toArray()
, this method copies the contents
of the first parameter to the second, creating a new array of the same
type if the destination array is too small to hold the contents of the
source.
- copyArea(int, int, int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- copyMergedOutput(Logger, String, Process) - Static method in class com.samskivert.util.ProcessLogger
-
Starts a thread to copy the output of the supplied process's stdout stream to the supplied
target logger (it assumes the process was created with a ProcessBuilder and the stdout and
stderr streams have been merged).
- copyOutput(Logger, String, Process) - Static method in class com.samskivert.util.ProcessLogger
-
Starts threads that copy the output of the supplied process's stdout and stderr streams to
the supplied target logger.
- copyright(String, int) - Static method in class com.samskivert.velocity.StringTool
-
Generates a copyright string for the specified copyright holder from the
specified first year to the current year.
- count - Variable in class com.samskivert.swing.DimenInfo
-
- countEntrySet() - Method in class com.samskivert.util.CountHashMap
-
- CountHashMap<K> - Class in com.samskivert.util
-
A hashmap that maintains a count for each key.
- CountHashMap() - Constructor for class com.samskivert.util.CountHashMap
-
- CountHashMap.Entry<K> - Interface in com.samskivert.util
-
- CountMap<K> - Class in com.samskivert.util
-
A CountMap maps keys to non-null Integers and provides methods for efficiently adding
to the count.
- CountMap() - Constructor for class com.samskivert.util.CountMap
-
Create a new CountMap backed by a HashMap.
- create() - Method in class com.samskivert.swing.TGraphics2D
-
- create(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- create(T, long) - Static method in class com.samskivert.util.ExpiringReference
-
Creates an expiring reference with the supplied value and expiration time.
- create(RunQueue, Runnable) - Static method in class com.samskivert.util.Interval
-
Creates an interval that executes the supplied runnable on the specified RunQueue when it
expires.
- create() - Static method in class com.samskivert.util.IntSets
-
Create a new IntSet, initially empty.
- create(int...) - Static method in class com.samskivert.util.IntSets
-
Create a new IntSet, initially containing the specified ints.
- create(IntSet) - Static method in class com.samskivert.util.IntSets
-
Create a new IntSet, initially containing the ints in the specified IntSet.
- create(Collection<Integer>) - Static method in class com.samskivert.util.IntSets
-
Create a new IntSet, initially containing the ints in the specified collection.
- createActionButton(String, String) - Static method in class com.samskivert.swing.Controller
-
Creates a button and configures it with the specified label and action
command and adds
Controller.DISPATCHER
as an action listener.
- createAdjustEditor() - Static method in class com.samskivert.swing.RuntimeAdjust
-
Creates a Swing user interface that can be used to adjust all
registered runtime adjustments.
- createContent() - Method in interface com.samskivert.swing.LazyComponent.ContentCreator
-
Create the content at the time that it is needed.
- created - Variable in class com.samskivert.servlet.user.User
-
The date this record was created.
- createDialog(JFrame, JPanel) - Static method in class com.samskivert.swing.util.DialogUtil
-
Creates and shows an internal dialog with the specified panel.
- createDialog(JFrame, String, JPanel) - Static method in class com.samskivert.swing.util.DialogUtil
-
Creates and shows an internal dialog with the specified title and
panel.
- createEmptyMessage() - Static method in class com.samskivert.net.MailUtil
-
Returns an initialized, but empty message.
- createEngine() - Static method in class com.samskivert.velocity.VelocityUtil
-
Creates a VelocityEngine
that is configured to load templates
from the classpath and log using the samskivert logging classes and not
complain about a bunch of pointless stuff that it generally complains
about.
- createEngine(String) - Static method in class com.samskivert.velocity.VelocityUtil
-
Creates a VelocityEngine
that is configured to load templates
from the specified path and log using the samskivert logging classes and
not complain about a bunch of pointless stuff that it generally
complains about.
- createGenerator(Connection, String, String, int) - Method in class com.samskivert.jdbc.BaseLiaison
-
- createGenerator(Connection, String, String, int) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
- createGenerator(Connection, String, String, int) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- createGenerator(Connection, String, String, int) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- createGenerator(Connection, String, String, int) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- createGenerator(Connection, String, String, int) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- createImageCursor(Image) - Static method in class com.samskivert.swing.util.SwingUtil
-
Create a custom cursor out of the specified image, putting the hotspot in the exact center
of the created cursor.
- createImageCursor(Image, Point) - Static method in class com.samskivert.swing.util.SwingUtil
-
Create a custom cursor out of the specified image, with the specified hotspot.
- createPointComparator(P) - Static method in class com.samskivert.swing.util.SwingUtil
-
Create a comparator that compares against the distance from the specified point.
- createSortedTable(TableModel) - Static method in class com.samskivert.swing.TableSorter
-
- createTableIfMissing(Connection, String, List<String>, List<ColumnDefinition>, List<String>) - Method in class com.samskivert.jdbc.BaseLiaison
-
- createTableIfMissing(Connection, String, List<String>, List<ColumnDefinition>, List<List<String>>, List<String>) - Method in class com.samskivert.jdbc.BaseLiaison
-
- createTableIfMissing(Connection, String, List<String>, List<ColumnDefinition>, List<String>) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Created a new table of the given name with the given column names and column definitions;
the given set of unique constraints (or null) and the given primary key columns (or null).
- createTableIfMissing(Connection, String, List<String>, List<ColumnDefinition>, List<List<String>>, List<String>) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Created a new table of the given name with the given column names and column definitions;
the given set of unique constraints (or null) and the given primary key columns (or null).
- createTableIfMissing(Connection, String, List<String>, List<ColumnDefinition>, List<List<String>>, List<String>) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- createTableIfMissing(Connection, String, String[], String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Used to programatically create a database table.
- createURLStreamHandler(String) - Method in class com.samskivert.net.AttachableURLFactory
-
- createUser(Username, Password, String, String, int) - Method in class com.samskivert.servlet.user.UserRepository
-
Requests that a new user be created in the repository.
- createView(Iterable<E>) - Method in class com.samskivert.util.Predicate
-
Create an Iterable view of the specified Iterable that only contains
elements that match the predicate.
- createView(Collection<E>) - Method in class com.samskivert.util.Predicate
-
Create a view of the specified collection that only contains elements
that match the predicate.
- Crypt - Class in com.samskivert.util
-
An implementation of the Unix crypt() function.
- Crypt() - Constructor for class com.samskivert.util.Crypt
-
- crypt(String, String) - Static method in class com.samskivert.util.Crypt
-
One-way encrypts the supplied string using the supplied salt using
the standard crypt() algorithm.
- currency(double, Locale) - Static method in class com.samskivert.util.CurrencyUtil
-
Converts a number representing currency in the specified locale to a
displayable string.
- currency(double) - Method in class com.samskivert.velocity.CurrencyTool
-
Converts a number representing currency in the requester's locale to a display
string.
- currencyPennies(double, Locale) - Static method in class com.samskivert.util.CurrencyUtil
-
Converts a number representing pennies to a locale-appropriate currency
display string using the supplied local.
- currencyPennies(double) - Method in class com.samskivert.velocity.CurrencyTool
-
Converts a number representing pennies to a currency display string.
- CurrencyTool - Class in com.samskivert.velocity
-
Provides handy currency functions for use in velocity.
- CurrencyTool(Locale) - Constructor for class com.samskivert.velocity.CurrencyTool
-
Creates a new CurrencyTool which will used the supplied request to look up the locale with
which to do currency formatting in.
- CurrencyUtil - Class in com.samskivert.util
-
Currency related utility functions.
- CurrencyUtil() - Constructor for class com.samskivert.util.CurrencyUtil
-
- currentTimeMillis() - Static method in class com.samskivert.util.RunAnywhere
-
- Cursor<V> - Class in com.samskivert.jdbc.jora
-
Cursor is used for successive access to records fetched by SELECT statement.
- cycleToProperty(String, PrefsConfig, AbstractButton, int[]) - Static method in class com.samskivert.swing.util.ButtonUtil
-
Configure the specified button to cause the specified property to cycle through the
specified values whenever the button is pressed.
- DatabaseLiaison - Interface in com.samskivert.jdbc
-
Despite good intentions, JDBC and SQL do not provide a unified interface to all databases.
- DataSourceConnectionProvider - Class in com.samskivert.jdbc
-
Provides connections using a pair of
DataSource
instances (one for read-only operations
and one for read-write operations).
- DataSourceConnectionProvider(String, DataSource, DataSource) - Constructor for class com.samskivert.jdbc.DataSourceConnectionProvider
-
Creates a connection provider that will obtain connections from the supplied read-only and
read-write sources.
- DataTool - Class in com.samskivert.velocity
-
Some helpful methods for dealing with data in velocity.
- DataTool() - Constructor for class com.samskivert.velocity.DataTool
-
- DataTransferError - Error in com.samskivert.jdbc.jora
-
This error is raised when error is happened during data transfer
between program and database server (for example IOException was thrown
while operation with InputStream field)
- DataValidationException - Exception in com.samskivert.servlet.util
-
A data validation exception is thrown when a value supplied in a form
element is not valid.
- DataValidationException(String) - Constructor for exception com.samskivert.servlet.util.DataValidationException
-
- date(String, Object) - Method in class com.samskivert.velocity.I18nTool
-
Uses
SimpleDateFormat
to translate the supplied
Long
or
Date
argument into a formatted date string using
the locale appropriate to the current request.
- DATE_TEMPLATE - Static variable in class com.samskivert.servlet.util.ParameterUtil
-
A default date that can be placed in fields to communicate the appropriate format.
- deactivate() - Method in class com.samskivert.swing.RadialMenu
-
Deactivates the menu.
- DEBUG - Static variable in class com.samskivert.util.Log
-
Log level constant for debug entries.
- debug(String) - Method in class com.samskivert.util.Log
-
Logs the specified message at the debug level if such messages are
enabled.
- debug(Object, Object...) - Method in class com.samskivert.util.Logger
-
Logs a debug message.
- DebugChords - Class in com.samskivert.util
-
Provides a mechanism for causing code to be invoked when a particular
key combination is pressed in a GUI application.
- DebugChords() - Constructor for class com.samskivert.util.DebugChords
-
- DebugChords.Hook - Interface in com.samskivert.util
-
Provides the mechanism by which code is provided to be run when a
user depresses a particular key combination.
- decode(String) - Static method in class com.samskivert.util.StringUtil
-
URL decodes the specified string using the UTF-8 character encoding.
- decompose(String) - Static method in class com.samskivert.text.MessageUtil
-
Decomposes a compound key into its constituent parts.
- decrement(K) - Method in class com.samskivert.util.CountMap
-
Subtract 1 from the count for the specified key.
- DEFAULT - Static variable in class com.samskivert.servlet.SiteIdentifiers
-
A site identifier that always returns the default site.
- DEFAULT_BUCKETS - Static variable in class com.samskivert.util.HashIntMap
-
The default number of buckets to use for the hash table.
- DEFAULT_BUCKETS - Static variable in class com.samskivert.util.IntIntMap
-
- DEFAULT_GAP - Static variable in class com.samskivert.swing.GroupLayout
-
The default gap between components, in pixels.
- DEFAULT_LOAD_FACTOR - Static variable in class com.samskivert.util.HashIntMap
-
The default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class com.samskivert.util.IntIntMap
-
The default load factor.
- DEFAULT_SITE_ID - Static variable in interface com.samskivert.servlet.SiteIdentifier
-
The default site identifier, to be used when a site cannot be identified or for site
identifiers that don't wish to distinguish between sites.
- DEFAULT_SITE_STRING - Static variable in interface com.samskivert.servlet.SiteIdentifier
-
The string identifier for the default site.
- DefaultLiaison - Class in com.samskivert.jdbc
-
The default liaison is used if no other liaison could be matched for a particular database
connection.
- DefaultLiaison() - Constructor for class com.samskivert.jdbc.DefaultLiaison
-
- DefaultLogProvider - Class in com.samskivert.util
-
If no log provider is registered with the log services, the default
provider will be used.
- DefaultLogProvider() - Constructor for class com.samskivert.util.DefaultLogProvider
-
Constructs a default log provider.
- defaultValue - Variable in class com.samskivert.jdbc.ColumnDefinition
-
- delete() - Method in class com.samskivert.jdbc.jora.Cursor
-
Delete current record pointed by cursor.
- delete(Connection, T) - Method in class com.samskivert.jdbc.jora.Table
-
Delete record with specified value of primary key from the table.
- delete(Connection, T[]) - Method in class com.samskivert.jdbc.jora.Table
-
Delete records with specified primary keys from the table.
- deleteGenerator(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- deleteGenerator(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
- deleteGenerator(Connection, String, String) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- deleteGenerator(Connection, String, String) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- deleteGenerator(Connection, String, String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- deleteGenerator(Connection, String, String) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- deleteUser(User) - Method in class com.samskivert.servlet.user.UserRepository
-
'Delete' the users account such that they can no longer access it, however we do not delete
the record from the db.
- delineate(String) - Static method in class com.samskivert.velocity.StringTool
-
Adds a <br> tag before every newline.
- deliverMail(String, String, String, String) - Static method in class com.samskivert.net.MailUtil
-
Delivers the supplied mail message using the machine's local mail
SMTP server which must be listening on port 25.
- deliverMail(String[], String, String, String) - Static method in class com.samskivert.net.MailUtil
-
Delivers the supplied mail message using the machine's local mail
SMTP server which must be listening on port 25.
- deliverMail(String[], String, String, String, String[], String[]) - Static method in class com.samskivert.net.MailUtil
-
Delivers the supplied mail, with the specified additional headers.
- deliverMail(String[], String, String, MimeMessage) - Static method in class com.samskivert.net.MailUtil
-
Delivers an already-formed message to the specified recipients.
- deNull(String) - Static method in class com.samskivert.util.StringUtil
-
- DependencyGraph<T> - Class in com.samskivert.util
-
Maintains a bidirectional graph to manage the order that the items are removed.
- DependencyGraph() - Constructor for class com.samskivert.util.DependencyGraph
-
- dependsOn(T, T) - Method in class com.samskivert.util.DependencyGraph
-
Returns whether elem1 is designated to depend on elem2.
- DESCENDING - Static variable in class com.samskivert.swing.TableSorter
-
- destroy() - Method in class com.samskivert.velocity.DispatcherServlet
-
Clean up after ourselves and our application.
- Detail() - Constructor for class com.samskivert.net.cddb.CDDB.Detail
-
- DialogUtil - Class in com.samskivert.swing.util
-
Utility methods for dialogs.
- DialogUtil() - Constructor for class com.samskivert.swing.util.DialogUtil
-
- difference(IntSet, IntSet) - Static method in class com.samskivert.util.IntSets
-
Creates a new IntSet, initially populated with ints contained in set1 but not in set2.
- differenceView(IntSet, IntSet) - Static method in class com.samskivert.util.IntSets
-
Returns an immutable view containing the ints contained in set1 but not in set2.
- DimenInfo - Class in com.samskivert.swing
-
This record is used by the group layout managers to return a set of
statistics computed for their target widgets.
- DimenInfo() - Constructor for class com.samskivert.swing.DimenInfo
-
- dimens - Variable in class com.samskivert.swing.DimenInfo
-
- DimmedIcon - Class in com.samskivert.swing
-
Draws an icon with a specified alpha level.
- DimmedIcon(Icon) - Constructor for class com.samskivert.swing.DimmedIcon
-
Construct a dimmed icon that is drawn at 50% normal.
- DimmedIcon(Icon, float) - Constructor for class com.samskivert.swing.DimmedIcon
-
Construct a dimmed icon that is drawn at the specified alpha level.
- discid - Variable in class com.samskivert.net.cddb.CDDB.Detail
-
The unique identifier for this CD.
- dismissDialog() - Method in class com.samskivert.swing.JInternalDialog
-
Hides this dialog and removes it from its parent.
- dismissDialog(Component) - Static method in class com.samskivert.swing.JInternalDialog
-
Scans up the interface hierarchy looking for the
JInternalDialog
that contains the supplied child component and
dismisses it.
- DISPATCHER - Static variable in class com.samskivert.swing.Controller
-
This action listener can be wired up to any action event generator
and it will take care of forwarding that event on to the controller
in scope for the component that generated the action event.
- DispatcherServlet - Class in com.samskivert.velocity
-
The dispatcher servlet builds upon Velocity's architecture.
- DispatcherServlet() - Constructor for class com.samskivert.velocity.DispatcherServlet
-
- displayHeight - Variable in class com.samskivert.util.SystemInfo
-
The video display height in pixels.
- displayWidth - Variable in class com.samskivert.util.SystemInfo
-
The video display width in pixels.
- dispose() - Method in class com.samskivert.swing.TGraphics2D
-
- distance(int, int, int, int) - Static method in class com.samskivert.swing.util.ProximityTracker
-
Computes the geometric distance between the supplied two points.
- div(float, float) - Method in class com.samskivert.velocity.DataTool
-
Floating point divide.
- DnDManager - Class in com.samskivert.swing.dnd
-
A custom Drag and Drop manager for use within a single JVM.
- DocumentAdapter - Class in com.samskivert.swing.event
-
A DocumentAdapter for focusing DocumentListener events into a pinpoint
of easy wonderosity.
- DocumentAdapter() - Constructor for class com.samskivert.swing.event.DocumentAdapter
-
- documentChanged() - Method in class com.samskivert.swing.event.DocumentAdapter
-
A handy-dandy method you can override to just do *something* whenever
the document changes.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.samskivert.velocity.DispatcherServlet
-
- doLayout() - Method in class com.samskivert.swing.MultiLineLabel
-
- dollars(double) - Static method in class com.samskivert.util.CurrencyUtil
-
Converts a number representing dollars to a currency display string
using the US locale.
- dollars(double) - Method in class com.samskivert.velocity.CurrencyTool
-
Converts a number representing dollars to a currency display string.
- dollarsPennies(double) - Static method in class com.samskivert.util.CurrencyUtil
-
Converts a number representing pennies to a dollars display string using
the US local.
- dollarsPennies(double) - Method in class com.samskivert.velocity.CurrencyTool
-
Converts a number representing pennies to a displayable dollars value.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.samskivert.velocity.DispatcherServlet
-
- dragCompleted(DropTarget) - Method in interface com.samskivert.swing.dnd.DragSource
-
A callback to let the source know that the drop completed successfully.
- DragSource - Interface in com.samskivert.swing.dnd
-
A drag source is associated with a component and represents a valid
place to start a drag and drop operation.
- draw(Shape) - Method in class com.samskivert.swing.TGraphics2D
-
- draw3DRect(int, int, int, int, boolean) - Method in class com.samskivert.swing.TGraphics2D
-
- drawArc(int, int, int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawBytes(byte[], int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawChars(char[], int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawGlyphVector(GlyphVector, float, float) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, AffineTransform, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, int, int, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, Color, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class com.samskivert.swing.TGraphics2D
-
- drawLine(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawOval(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawPolygon(int[], int[], int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawPolygon(Polygon) - Method in class com.samskivert.swing.TGraphics2D
-
- drawPolyline(int[], int[], int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawRect(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawRenderableImage(RenderableImage, AffineTransform) - Method in class com.samskivert.swing.TGraphics2D
-
- drawRenderedImage(RenderedImage, AffineTransform) - Method in class com.samskivert.swing.TGraphics2D
-
- drawRoundRect(int, int, int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawString(String, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawString(String, float, float) - Method in class com.samskivert.swing.TGraphics2D
-
- drawString(AttributedCharacterIterator, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- drawString(AttributedCharacterIterator, float, float) - Method in class com.samskivert.swing.TGraphics2D
-
- drawStringCentered(Graphics, String, int, int, int, int) - Static method in class com.samskivert.swing.util.SwingUtil
-
Draw a string centered within a rectangle.
- dropColumn(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- dropColumn(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Drops the given column from the given table.
- dropColumn(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Removes a column from the specified table.
- dropCompleted(DragSource, Object, Point) - Method in interface com.samskivert.swing.dnd.DropTarget
-
Called when the drop is actually executed.
- dropIndex(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- dropIndex(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Drops the named index from the given table.
- dropIndex(Connection, String, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Removes a named index from the specified table.
- dropIndex(Connection, String, String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- dropPrimaryKey(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- dropPrimaryKey(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Deletes the primary key from a table, if it exists.
- dropPrimaryKey(Connection, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Removes the primary key from the specified table.
- dropPrimaryKey(Connection, String, String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- dropTable(Connection, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- dropTable(Connection, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Drops the given table and returns true if the table exists, else returns false.
- DropTarget - Interface in com.samskivert.swing.dnd
-
A drop target is associated with a component and represents a valid
place to end a drag and drop.
- DummyLogic - Class in com.samskivert.velocity
-
The dummy logic is used as a placeholder for URIs that match no normal
logic or for which the matching logic could not be instantiated.
- DummyLogic() - Constructor for class com.samskivert.velocity.DummyLogic
-
- dumpInstance(PrintStream, Object) - Static method in class com.samskivert.util.ObjectUtil
-
Dumps the contents of the supplied object instance, listing the
class name, hash code and toString()
data for each
field in the supplied object and then dumps each field in turn.
- dumpInstance(PrintStream, Object, boolean) - Static method in class com.samskivert.util.ObjectUtil
-
Dumps the contents of the supplied object instance, listing the
class name, hash code and optionally, the toString()
data for each field in the supplied object and then dumps each
field in turn.
- genAuthCode(User) - Static method in class com.samskivert.servlet.user.UserUtil
-
Generates a new random session identifier for the supplied user.
- generateRandomKey(Random, int) - Static method in class com.samskivert.util.KeyUtil
-
Return a key of the given length that contains random numbers.
- genre - Variable in class com.samskivert.net.cddb.CDDB.Detail
-
The genre of this CD.
- GenUtil - Class in com.samskivert.util
-
Utility methods for code that generates code.
- GenUtil() - Constructor for class com.samskivert.util.GenUtil
-
- get() - Method in class com.samskivert.jdbc.jora.Cursor
-
Returns the first element matched by this cursor or null if no elements
were matched.
- get(int) - Method in class com.samskivert.util.ArrayIntSet
-
Returns the element at the specified index.
- get(int) - Method in class com.samskivert.util.BaseArrayList
-
- get(int) - Method in class com.samskivert.util.Calendars.Builder
-
- get(int) - Method in class com.samskivert.util.CheapIntMap
-
Returns the object with the specified key, null if no object exists
in the table with that key.
- get(Object) - Method in class com.samskivert.util.CountMap
-
- get(ExpiringReference<T>) - Static method in class com.samskivert.util.ExpiringReference
-
Gets the value from an expiring reference but returns null if the supplied reference
reference is null.
- get(Object) - Method in class com.samskivert.util.HashIntMap
-
- get(int) - Method in class com.samskivert.util.HashIntMap
-
- get(int) - Method in class com.samskivert.util.IntIntMap
-
Returns the value mapped to the specified key or -1 if there is no mapping.
- get(int) - Method in interface com.samskivert.util.IntMap
-
Returns the value to which this map maps the specified key.
- get(Object) - Method in class com.samskivert.util.LRUHashMap
-
- get(long) - Method in class com.samskivert.util.Queue
-
Gets the next item from the queue blocking for no longer than
maxwait
milliseconds waiting for an item to be added
to the queue if it is empty at the time of invocation.
- get() - Method in class com.samskivert.util.Queue
-
Gets the next item from the queue, blocking until an item is added
to the queue if the queue is empty at time of invocation.
- get(int) - Method in class com.samskivert.util.RecentList
-
Gets the Nth most recently added value from the list.
- get(K) - Method in class com.samskivert.util.SoftCache
-
Looks up and returns the value associated with the supplied key.
- get(Object, int) - Method in class com.samskivert.velocity.DataTool
-
Returns the object in the array at index.
- getAccessibleMethodFrom(Class<?>, String, Class<?>[]) - Static method in class com.samskivert.util.ClassUtil
-
Searches for the method with the given name and formal parameter types that is in the
nearest accessible class in the class hierarchy, starting with clazz's superclass.
- getActionArgument() - Method in class com.samskivert.swing.CommandButton
-
Get the argument that we'll use when we generate CommandEvents.
- getActivationArgument() - Method in class com.samskivert.swing.RadialMenu
-
- getAddress(String, int) - Static method in class com.samskivert.net.AddressUtil
-
- getAlignment() - Method in class com.samskivert.swing.Label
-
Returns the alignment of the text within the label.
- getAlternateColor() - Method in class com.samskivert.swing.Label
-
Returns the alternate color used to render the text's outline or shadow, if any.
- getApplication(InvocationContext) - Static method in class com.samskivert.velocity.DispatcherServlet
-
Returns the reference to the application that is handling this
request.
- getArgument() - Method in class com.samskivert.swing.event.CommandEvent
-
Returns the argument provided to the command event at construct
time.
- getArgument() - Method in class com.samskivert.util.ServiceWaiter
-
Returns the argument posted by the waiter when the response arrived.
- getAutoscrollBorders() - Method in interface com.samskivert.swing.dnd.AutoscrollingDropTarget
-
Return a dimension that represents the horizontal and vertical
'sensitive' area around the component's bounds.
- getBackground() - Method in class com.samskivert.swing.TGraphics2D
-
- getBoolean() - Method in class com.samskivert.util.Randoms
-
Returns true
or false
with approximately even probability.
- getBoolean() - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed boolean.
- getBoolean(Random) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed boolean.
- getBoundingBox() - Method in class com.samskivert.swing.SmartPolygon
-
Returns the internally cached bounds rectangle for this polygon.
- getBuckets() - Method in class com.samskivert.util.Histogram
-
Returns the array containing the bucket values.
- getBundle(String) - Static method in class com.samskivert.text.MessageUtil
-
Returns the bundle name from a fully qualified message key.
- getCanonicalPathElements(File) - Static method in class com.samskivert.net.PathUtil
-
Gets the individual path elements building up the canonical path to the given file.
- getChance(int) - Method in class com.samskivert.util.Randoms
-
Returns true approximately one in n
times.
- getChance(int) - Static method in class com.samskivert.util.RandomUtil
-
Returns true approximately one in n times.
- getChance(int, Random) - Static method in class com.samskivert.util.RandomUtil
-
Returns true approximately one in n times.
- getClass(Field) - Method in class com.samskivert.swing.ObjectEditorTable.FieldInterpreter
-
Get the class of the specified field.
- getCleartext() - Method in class com.samskivert.servlet.user.Password
-
Returns the clear password text.
- getClip() - Method in class com.samskivert.swing.TGraphics2D
-
- getClipBounds() - Method in class com.samskivert.swing.TGraphics2D
-
- getClipBounds(Rectangle) - Method in class com.samskivert.swing.TGraphics2D
-
- getClipRect() - Method in class com.samskivert.swing.TGraphics2D
-
Deprecated.
- getCloseBox() - Method in class com.samskivert.util.StringUtil.Formatter
-
Returns the string that will be appended to a formatted list.
- getCode() - Method in exception com.samskivert.net.cddb.CDDBException
-
- getColor() - Method in class com.samskivert.swing.TGraphics2D
-
- getColumnClass(int) - Method in class com.samskivert.swing.TableMap
-
- getColumnClass(int) - Method in class com.samskivert.swing.TableSorter
-
- getColumnCount() - Method in class com.samskivert.swing.TableMap
-
- getColumnCount() - Method in class com.samskivert.swing.TableSorter
-
- getColumnDefaultValue(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns a string representation of the default value for the specified column in the
specified table.
- getColumnName(int) - Method in class com.samskivert.swing.TableMap
-
- getColumnName(int) - Method in class com.samskivert.swing.TableSorter
-
- getColumnSize(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns the size for the specified column in the specified table.
- getColumnType(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns the type (as specified in
Types
for the specified column in the
specified table.
- getComponent() - Method in interface com.samskivert.swing.RadialMenu.Host
-
Returns the component on which we will be rendered.
- getComposite() - Method in class com.samskivert.swing.TGraphics2D
-
- getConnection(String, boolean) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Obtains a database connection based on the supplied database identifier.
- getConnection(String, boolean) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- getConnection(String, boolean) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- getContent() - Method in class com.samskivert.swing.CollapsiblePanel
-
Get the content panel for filling in with sweet content goodness.
- getController() - Method in class com.samskivert.swing.ControlledPanel
-
- getController() - Method in interface com.samskivert.swing.ControllerProvider
-
Returns the controller to be used at the scope of the UI element
that implements controller provider.
- getCookie(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.CookieUtil
-
Get the cookie of the specified name, or null if not found.
- getCookieValue(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.CookieUtil
-
Get the value of the cookie for the cookie of the specified name, or null if not found.
- getCount() - Method in interface com.samskivert.util.CountHashMap.Entry
-
Get the value of the entry as an int.
- getCount(K) - Method in class com.samskivert.util.CountHashMap
-
Get the count associated with the specified key.
- getCount(K) - Method in class com.samskivert.util.CountMap
-
Get the count for the specified key.
- getData() - Method in class com.samskivert.swing.ObjectEditorTable
-
Get the edited data.
- getDateParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to a date.
- getDaysBetween(Calendar, Calendar) - Static method in class com.samskivert.util.Calendars
-
Returns the difference between the dates represented by the two calendars in days, properly
accounting for daylight savings time, leap seconds, etc.
- getDaysBetween(Calendar, Calendar) - Static method in class com.samskivert.util.CalendarUtil
-
- getDefaultTextAntialiasing() - Static method in class com.samskivert.swing.util.SwingUtil
-
Returns true if anti-aliasing is desired by default.
- getDetail() - Method in class com.samskivert.util.Invoker.Unit
-
Detail specific to this invoker to be included with the warning if this invoker takes
longer than the long threshold.
- getDeviceConfiguration() - Method in class com.samskivert.swing.TGraphics2D
-
- getDouble(double) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed double
value between
0.0
(inclusive) and the high
(exclusive).
- getEdges(T) - Method in interface com.samskivert.util.ShortestPath.Graph
-
Returns the list of the edges for the specified node.
- getEncrypted() - Method in class com.samskivert.servlet.user.Password
-
Returns the encrypted password text.
- getError() - Method in class com.samskivert.util.ServiceWaiter
-
Returns the exception posted in the event of failure.
- getErrorCode() - Method in exception com.samskivert.servlet.HttpErrorException
-
Returns the HTTP error code supplied with this exception.
- getErrorMessage() - Method in exception com.samskivert.servlet.HttpErrorException
-
Returns the textual error message supplied with this exception or null
if only an error code was supplied.
- getFieldMask() - Method in class com.samskivert.jdbc.jora.Table
-
- getFields(Class<?>) - Static method in class com.samskivert.util.ClassUtil
-
Get the fields contained in the class and its superclasses.
- getFields(Class<?>, List<Field>) - Static method in class com.samskivert.util.ClassUtil
-
Add all the fields of the specifed class (and its ancestors) to the list.
- getFilteredProperties(Properties, String) - Static method in class com.samskivert.util.PropertiesUtil
-
Returns a filtered version of the specified properties that first looks for a property
starting with the given prefix, then looks for a property without the prefix.
- getFloat(float) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed float
value between
0.0
(inclusive) and the high
(exclusive).
- getFloat(float) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed float value between 0.0 (inclusive) and the
specified value (exclusive).
- getFloat(float, Random) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed float value between 0.0 (inclusive) and the
specified value (exclusive).
- getFont() - Method in class com.samskivert.swing.TGraphics2D
-
- getFontMetrics() - Method in class com.samskivert.swing.TGraphics2D
-
- getFontMetrics(Font) - Method in class com.samskivert.swing.TGraphics2D
-
- getFontRenderContext() - Method in class com.samskivert.swing.TGraphics2D
-
- getGap() - Method in class com.samskivert.swing.GroupLayout
-
- getIcon(RadialMenu, RadialMenuItem) - Method in interface com.samskivert.swing.RadialMenu.IconPredicate
-
Return an additional predicate that should be drawn.
- getIconHeight() - Method in class com.samskivert.swing.DimmedIcon
-
- getIconHeight() - Method in class com.samskivert.swing.ScaledIcon
-
- getIconHeight() - Method in class com.samskivert.swing.ShapeIcon
-
- getIconWidth() - Method in class com.samskivert.swing.DimmedIcon
-
- getIconWidth() - Method in class com.samskivert.swing.ScaledIcon
-
- getIconWidth() - Method in class com.samskivert.swing.ShapeIcon
-
- getIndexName(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns the name of the index for the specified column in the specified table.
- getInputStream() - Method in class com.samskivert.io.ByteArrayOutInputStream
-
Returns an input stream configured to read only the bytes that have
been written this far to this byte array out/input stream.
- getInRange(int, int) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed int
value between
low
(inclusive) and high
(exclusive).
- getInRange(float, float) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed float
value between
low
(inclusive) and high
(exclusive).
- getInRange(double, double) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed double
value between
low
(inclusive) and high
(exclusive).
- getInRange(int, int) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed int
value between
low
(inclusive) and high
(exclusive).
- getInRange(float, float) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed float
value between
low
(inclusive) and high
(exclusive).
- getInt(int) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, uniformly distributed int
value between 0
(inclusive) and high
(exclusive).
- getInt(int) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed int
value between 0 (inclusive)
and the specified value (exclusive).
- getInt(int, Random) - Static method in class com.samskivert.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed int
value between 0 (inclusive)
and the specified value (exclusive).
- getInt(int, int) - Static method in class com.samskivert.util.RandomUtil
-
- getInternalDialog(Component) - Static method in class com.samskivert.swing.util.DialogUtil
-
Returns the internal dialog that is a parent of the specified
component.
- getInterval() - Method in interface com.samskivert.util.Interval.RunBuddy
-
Retrieve the Interval that is responsible for posting this RunBuddy to a RunQueue.
- getIntervalClassName() - Method in interface com.samskivert.util.Interval.RunBuddy
-
Returns the class name of the interval (valid even if the interval has been cancelled
and its reference cleared).
- getIntKey() - Method in interface com.samskivert.util.IntMap.IntEntry
-
- getIntParameter(HttpServletRequest, String, int, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to an integer.
- getIntParameters(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches all the values from the request with the specified name and converts them to an
IntSet.
- getIntValue() - Method in interface com.samskivert.util.IntIntMap.IntIntEntry
-
- getJustification() - Method in class com.samskivert.swing.GroupLayout
-
- getKey(int) - Method in class com.samskivert.util.CheapIntMap
-
Returns the key with the specified index or -1 if no key exists at
that index.
- getKey() - Method in class com.samskivert.util.MapEntry
-
Deprecated.
- getKey() - Method in exception com.samskivert.util.MissingPropertyException
-
- getKeys() - Method in class com.samskivert.util.IntIntMap
-
Get an array of the unique keys in this map.
- getLastModified(int) - Method in class com.samskivert.servlet.SiteResourceLoader
-
Returns the last modification time of the site-specific jar file
for the specified site.
- getLastModified() - Method in class com.samskivert.servlet.SiteResourceLoader.SiteResourceBundle
-
Returns the last modified time of the underlying jar file.
- getLastModified(Resource) - Method in class com.samskivert.velocity.ClasspathResourceLoader
-
- getLastModified(Resource) - Method in class com.samskivert.velocity.ServletContextResourceLoader
-
Things won't ever be modified when loaded from the servlet context
because they came from the webapp .war file and if that is
reloaded, everything will be thrown away and started afresh.
- getLastModified(Resource) - Method in class com.samskivert.velocity.SiteJarResourceLoader
-
Things won't ever be modified when loaded from the servlet context
because they came from the webapp .war file and if that is reloaded,
everything will be thrown away and started afresh.
- getLatestOperation() - Method in class com.samskivert.util.Throttle
-
Returns the timestamp of the most recently recorded operation.
- getLayoutAlignmentX(Container) - Method in class com.samskivert.swing.AbsoluteLayout
-
- getLayoutAlignmentX(Container) - Method in class com.samskivert.swing.GroupLayout
-
- getLayoutAlignmentY(Container) - Method in class com.samskivert.swing.AbsoluteLayout
-
- getLayoutAlignmentY(Container) - Method in class com.samskivert.swing.GroupLayout
-
- getLevel(String) - Method in class com.samskivert.util.DefaultLogProvider
-
- getLevel() - Method in class com.samskivert.util.DefaultLogProvider
-
- getLevel(String) - Static method in class com.samskivert.util.Log
-
Returns the log level of the specified module.
- getLevel() - Static method in class com.samskivert.util.Log
-
Returns the default log level for all modules.
- getLevel(String) - Method in class com.samskivert.util.LoggingLogProvider
-
- getLevel() - Method in class com.samskivert.util.LoggingLogProvider
-
- getLevel(String) - Method in interface com.samskivert.util.LogProvider
-
Returns the log level for the specified module.
- getLevel() - Method in interface com.samskivert.util.LogProvider
-
Returns the default log level for all modules.
- getLiaison(String) - Static method in class com.samskivert.jdbc.LiaisonRegistry
-
Fetch the appropriate database liaison for the supplied URL, which should be the same string
that would be used to configure a connection to the database.
- getLiaison(Connection) - Static method in class com.samskivert.jdbc.LiaisonRegistry
-
Fetch the appropriate database liaison for the supplied database connection.
- getLineCount() - Method in class com.samskivert.swing.Label
-
Returns the number of lines used by this label.
- getLocation(HttpServletRequest) - Static method in class com.samskivert.servlet.util.RequestUtils
-
Reconstructs the current location (URL) from the request and
servlet configuration (which is the only way to know which server
we're on because that's not provided in the request) and returns
it.
- getLocationEncoded(HttpServletRequest) - Static method in class com.samskivert.servlet.util.RequestUtils
-
Reconstructs the current location (URL) from the request and
servlet configuration (which is the only way to know which server
we're on because that's not provided in the request) and returns it
URL encoded so that it can be substituted into another URL.
- getLogger(String) - Method in class com.samskivert.util.JDK14Logger
-
- getLogger(Class<?>) - Method in class com.samskivert.util.JDK14Logger
-
- getLogger(String) - Method in class com.samskivert.util.Log4J2Logger
-
- getLogger(Class<?>) - Method in class com.samskivert.util.Log4J2Logger
-
- getLogger(String) - Method in class com.samskivert.util.Log4JLogger
-
- getLogger(Class<?>) - Method in class com.samskivert.util.Log4JLogger
-
- getLogger(String) - Method in interface com.samskivert.util.Logger.Factory
-
- getLogger(Class<?>) - Method in interface com.samskivert.util.Logger.Factory
-
- getLogger(String) - Static method in class com.samskivert.util.Logger
-
Obtains a logger with the specified name.
- getLogger(Class<?>) - Static method in class com.samskivert.util.Logger
-
Obtains a logger with a name equal to the supplied class's name.
- getLogProvider() - Static method in class com.samskivert.util.Log
-
Returns the log provider currently in use by the logging services.
- getLongParameter(HttpServletRequest, String, long, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to a long.
- getLongThreshold() - Method in class com.samskivert.util.Invoker.Unit
-
Returns the duration beyond which this invoker unit will be considered to be running too
long, or 0 to use the default value.
- getLuhnRemainder(String) - Static method in class com.samskivert.util.KeyUtil
-
Return the luhn remainder for the given key.
- getMACAddresses() - Static method in class com.samskivert.net.MACUtil
-
Get all the MAC addresses of the hardware we are running on that we can find.
- getMap() - Method in class com.samskivert.util.SoftCache
-
Returns a reference to the underlying map.
- getMaxIndexes(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns an array of the indexes in the given array of values that
have the maximum value in the array, or a zero-length array if the
supplied array of values is null
or zero-length.
- getMaxSize() - Method in class com.samskivert.util.LRUHashMap
-
Returns this cache's maximum size.
- getMaxValue(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns the maximum value in the given array of values, or
Integer.MIN_VALUE
if the array is null or zero-length.
- getMaxValueIndex(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns the index of the maximum value in the given array of
values, or -1
if the array is null
or
zero-length.
- getMessage(HttpServletRequest, String) - Method in class com.samskivert.servlet.MessageManager
-
Looks up the message with the specified path in the resource bundle most appropriate for the
locales described as preferred by the request.
- getMessage(HttpServletRequest, String, Object[]) - Method in class com.samskivert.servlet.MessageManager
-
Looks up the message with the specified path in the resource bundle most appropriate for the
locales described as preferred by the request, then substitutes the supplied arguments into
that message using a MessageFormat
object.
- getMessage(Throwable) - Static method in class com.samskivert.servlet.util.ExceptionMap
-
Looks up the supplied exception in the map and returns the most
specific error message available for exceptions of that class.
- getMessageManager() - Method in class com.samskivert.velocity.Application
-
Returns the message manager in effect for this application, if one is in effect.
- getMetaIterator(Iterable<Iterator<T>>) - Static method in class com.samskivert.util.Collections
-
Returns an Iterator that iterates over all the elements contained within the Iterators
within the specified Iterable.
- getMinIndexes(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns an array of the indexes in the given array of values that
have the minimum value in the array, or a zero-length array if the
supplied array of values is null
or zero-length.
- getMinValue(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns the minimum value in the given array of values, or
Integer.MAX_VALUE
if the array is null or zero-length.
- getModel() - Method in class com.samskivert.swing.ComboButtonBox
-
Returns the model in use by the button box.
- getModel() - Method in class com.samskivert.swing.TableMap
-
- getMonthsBetween(Calendar, Calendar) - Static method in class com.samskivert.util.Calendars
-
Returns the number of whole months between the dates represented by the two calendar
objects, truncating any remainder.
- getMonthsBetween(Calendar, Calendar) - Static method in class com.samskivert.util.CalendarUtil
-
- getName() - Method in class com.samskivert.jdbc.jora.Table
-
Returns the SQL name of the table on which we operate.
- getName(Field) - Method in class com.samskivert.swing.ObjectEditorTable.FieldInterpreter
-
Get the name that she be used for the column header for the specified
field.
- getName() - Method in class com.samskivert.velocity.ImportDirective
-
Returns name of this directive.
- getNonBlocking() - Method in class com.samskivert.util.Queue
-
Returns the next item on the queue or null if the queue is
empty.
- getNormal(float, float) - Method in class com.samskivert.util.Randoms
-
Returns a pseudorandom, normally distributed float
value around the
mean
with the standard deviation dev
.
- getOffAxisJustification() - Method in class com.samskivert.swing.GroupLayout
-
- getOffAxisPolicy() - Method in class com.samskivert.swing.GroupLayout
-
- getOpenBox() - Method in class com.samskivert.util.StringUtil.Formatter
-
Returns the string that will be prepended to a formatted list.
- getOpposite(V, T) - Method in interface com.samskivert.util.ShortestPath.Graph
-
Returns the node opposite the supplied node on the supplied edge.
- getOr(String, String) - Static method in class com.samskivert.util.StringUtil
-
- getOrElse(int, int) - Method in class com.samskivert.util.IntIntMap
-
Returns the value mapped to the specified key or the supplied default value if there is no
mapping.
- getPaint() - Method in class com.samskivert.swing.TGraphics2D
-
- getParameter(HttpServletRequest, String, boolean) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request.
- getParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request.
- getParameterNames(HttpServletRequest) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Returns the names of the parameters of the supplied request in a civilized format.
- getParameters(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches all the values from the request with the specified name and converts them to a Set.
- getParameterTypesFrom(Object[]) - Static method in class com.samskivert.util.ClassUtil
-
- getPendingUnits() - Method in class com.samskivert.util.Invoker
-
Returns the number of units waiting on the queue to be processed.
- getPolicy() - Method in class com.samskivert.swing.GroupLayout
-
- getPreferredScrollableViewportSize() - Method in class com.samskivert.swing.ScrollablePanel
-
- getPreferredSize() - Method in class com.samskivert.swing.MultiLineLabel
-
- getPrimary() - Method in class com.samskivert.swing.TGraphics2D
-
Get the primary Graphics2D underneath us, for bypass purposes.
- getProbability(double) - Method in class com.samskivert.util.Randoms
-
Has a probability p
of returning true.
- getProbability(float) - Static method in class com.samskivert.util.RandomUtil
-
Has a probability p of returning true.
- getProbability(float, Random) - Static method in class com.samskivert.util.RandomUtil
-
Has a probability p of returning true.
- getPropChangeEnabler(String, JComponent, boolean) - Static method in class com.samskivert.swing.EnablingAdapter
-
Creates and returns an enabler that listens for changes in the
specified property (which must be a
Boolean
valued
property) and updates the target's enabled state accordingly.
- getQueueSize() - Method in class com.samskivert.util.SerialExecutor
-
Returns the number of ExecutorTasks that are currently waiting on
the queue.
- getRandomIterator(Iterable<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator over the supplied Iterable that returns the elements in a completely random
order.
- getRandomIterator(Iterator<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator that returns the same elements returned by the supplied Iterator, but in a
completely random order.
- getRedirectURL() - Method in exception com.samskivert.servlet.RedirectException
-
- getRenderingHint(RenderingHints.Key) - Method in class com.samskivert.swing.TGraphics2D
-
- getRenderingHints() - Method in class com.samskivert.swing.TGraphics2D
-
- getRepository() - Method in class com.samskivert.servlet.user.UserManager
-
Returns a reference to the repository in use by this user manager.
- getRequest() - Method in class com.samskivert.velocity.InvocationContext
-
Returns the http request object associated with this invocation.
- getResourceAsStream(HttpServletRequest, String) - Method in class com.samskivert.servlet.SiteResourceLoader
-
Loads the specific resource, from the site-specific jar file if one
exists and contains the specified resource.
- getResourceAsStream(int, String) - Method in class com.samskivert.servlet.SiteResourceLoader
-
Loads the specific resource, from the site-specific jar file if one
exists and contains the specified resource.
- getResourceAsStream(String) - Method in class com.samskivert.servlet.SiteResourceLoader.SiteResourceBundle
-
Fetches the specified resource from our site-specific jar file.
- getResourceStream(String) - Method in class com.samskivert.velocity.ClasspathResourceLoader
-
- getResourceStream(String) - Method in class com.samskivert.velocity.ServletContextResourceLoader
-
Returns the input stream that can be used to load the named
resource.
- getResourceStream(String) - Method in class com.samskivert.velocity.SiteJarResourceLoader
-
Returns the input stream that can be used to load the named
resource.
- getResponse() - Method in class com.samskivert.velocity.InvocationContext
-
Returns the http response object associated with this invocation.
- getResult(ResultListener<T>) - Method in class com.samskivert.util.ResultHandler
-
Retrieves the result for the specified listener.
- getRowCount() - Method in class com.samskivert.swing.TableMap
-
- getRowCount() - Method in class com.samskivert.swing.TableSorter
-
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class com.samskivert.swing.ScrollablePanel
-
- getScrollableTracksViewportHeight() - Method in class com.samskivert.swing.ScrollablePanel
-
- getScrollableTracksViewportWidth() - Method in class com.samskivert.swing.ScrollablePanel
-
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class com.samskivert.swing.ScrollablePanel
-
- getSectionCount() - Method in class com.samskivert.swing.CollapsibleList
-
Returns the number of sections.
- getSectionLabel(int) - Method in class com.samskivert.swing.CollapsibleList
-
Returns the label object associated with the title of the specified
section.
- getSectionList(int) - Method in class com.samskivert.swing.CollapsibleList
-
Returns the list object associated with the specified section.
- getSelectedIndex() - Method in class com.samskivert.swing.ComboButtonBox
-
Returns the index of the selected item.
- getSelectedObject() - Method in class com.samskivert.swing.ObjectEditorTable
-
Get the currently selected object, or null if none selected.
- getSentinel() - Method in class com.samskivert.util.HashIntSet
-
Returns the sentinel value.
- getServletContext() - Method in class com.samskivert.velocity.Application
-
Returns a reference to the servlet context in which this application is operating.
- getServletURL(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.RequestUtils
-
Prepends the server, port and servlet context path to the supplied
path, resulting in a fully-formed URL for requesting a servlet.
- getSiteClassLoader(int) - Method in class com.samskivert.servlet.SiteResourceLoader
-
Returns a class loader that loads resources from the site-specific
jar file for the specified site.
- getSiteId(String) - Method in class com.samskivert.servlet.JDBCTableSiteIdentifier
-
- getSiteId(String) - Method in interface com.samskivert.servlet.SiteIdentifier
-
Returns the site identifier for the site associated with the supplied site string.
- getSiteIdentifier() - Method in class com.samskivert.velocity.Application
-
Returns the site identifier in effect for figuring out which site through which a user is
making a request.
- getSiteResourceLoader() - Method in class com.samskivert.velocity.Application
-
Returns a reference to the loader used to obtain site-specific resources.
- getSiteString(int) - Method in class com.samskivert.servlet.JDBCTableSiteIdentifier
-
- getSiteString(int) - Method in interface com.samskivert.servlet.SiteIdentifier
-
Returns a string representation of the site identifier.
- getSize() - Method in class com.samskivert.swing.Label
-
Returns our computed dimensions.
- getSize(Object[]) - Static method in class com.samskivert.util.ListUtil
-
Returns the number of non-null elements in the supplied list.
- getSlider() - Method in class com.samskivert.swing.SimpleSlider
-
Returns the slider component.
- getSortedIterator(Iterable<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator over the supplied Collection that returns the elements in their natural
order.
- getSortedIterator(Iterable<T>, Comparator<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator over the supplied Collection that returns the elements in the order dictated
by the supplied Comparator.
- getSortedIterator(Iterator<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator that returns the same elements returned by the supplied Iterator, but in
their natural order.
- getSortedIterator(Iterator<T>, Comparator<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator that returns the same elements returned by the supplied Iterator, but in the
order dictated by the supplied Comparator.
- getSortingStatus(int) - Method in class com.samskivert.swing.TableSorter
-
- getSQLDateParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
- getStream(String) - Static method in class com.samskivert.util.ConfigUtil
-
Returns an input stream referencing a file that exists somewhere in the classpath.
- getStream(String, ClassLoader) - Static method in class com.samskivert.util.ConfigUtil
-
Returns an input stream referencing a file that exists somewhere in the classpath.
- getStroke() - Method in class com.samskivert.swing.TGraphics2D
-
- getSubProperties(String) - Method in class com.samskivert.util.Config
-
Returns a properties object containing all configuration values that start with the supplied
prefix (plus a trailing "." which will be added if it doesn't already exist).
- getSubProperties(String, Properties) - Method in class com.samskivert.util.Config
-
Fills into the supplied properties object all configuration values that start with the
supplied prefix (plus a trailing "." which will be added if it doesn't already exist).
- getSubProperties(Properties, String) - Static method in class com.samskivert.util.PropertiesUtil
-
Extracts all properties from the supplied properties object with the specified prefix,
removes the prefix from the key for those properties and inserts them into a new properties
object which is then returned.
- getSubProperties(Properties, String, String) - Static method in class com.samskivert.util.PropertiesUtil
-
- getSystemProperty(String, int) - Static method in class com.samskivert.util.ConfigUtil
-
- getTableHeader() - Method in class com.samskivert.swing.TableSorter
-
- getTableModel() - Method in class com.samskivert.swing.TableSorter
-
- getTemplate(String, String) - Method in class com.samskivert.velocity.InvocationContext
-
Fetches a Velocity template that can be used for later formatting.
- getTemplate(String) - Method in class com.samskivert.velocity.InvocationContext
-
Fetches a Velocity template that can be used for later formatting.
- getTerminalSize() - Static method in class com.samskivert.util.TermUtil
-
Attempts to obtain the dimensions of the terminal in which the
application is running (the units are columns by lines, for example
80 by 24).
- getText() - Method in class com.samskivert.swing.Label
-
Returns the text displayed by this label.
- getText() - Method in class com.samskivert.swing.MultiLineLabel
-
Returns the text displayed by this label.
- getTextColor() - Method in class com.samskivert.swing.Label
-
Returns the color used to render the text.
- getTimeBetween(long, long) - Static method in class com.samskivert.util.CalendarUtil
-
- getTimeout() - Method in interface com.samskivert.util.SerialExecutor.ExecutorTask
-
Returns the number of milliseconds after which this task should be
considered a lost cause.
- getTotalCount() - Method in class com.samskivert.util.CountHashMap
-
Get the total count for all keys in the map.
- getTrackedEffectiveness() - Method in class com.samskivert.util.LRUHashMap
-
Return a measure of the effectiveness of this cache, the ratio of
hits to misses.
- getTransform() - Method in class com.samskivert.swing.TGraphics2D
-
- getTxConnection(String) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Returns a connection that can be used in a transaction.
- getTxConnection(String) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- getTxConnection(String) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- getType() - Method in class com.samskivert.velocity.ImportDirective
-
Return type of this directive.
- getUnmodifiableIterator(Iterable<T>) - Static method in class com.samskivert.util.Collections
-
Get an Iterator that returns the elements in the supplied Iterable but blocks removal.
- getUnmodifiableIterator(Iterator<T>) - Static method in class com.samskivert.util.Collections
-
Get an iterator that returns the same elements as the supplied iterator but blocks removal.
- getUnqualifiedKey(String) - Static method in class com.samskivert.text.MessageUtil
-
Returns the unqualified portion of the key from a fully qualified message key.
- getURL(String) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Returns the URL associated with this database identifier.
- getURL(String) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- getURL(String) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- getUsername() - Method in class com.samskivert.servlet.user.Username
-
Returns the text of this username.
- getValue() - Method in class com.samskivert.swing.IntField
-
Return the int that is represented by this field.
- getValue(Object, Field) - Method in class com.samskivert.swing.ObjectEditorTable.FieldInterpreter
-
Get the value of the specified field in the specified object.
- getValue() - Method in class com.samskivert.swing.RuntimeAdjust.BooleanAdjust
-
- getValue() - Method in class com.samskivert.swing.RuntimeAdjust.EnumAdjust
-
- getValue() - Method in class com.samskivert.swing.RuntimeAdjust.FileAdjust
-
- getValue() - Method in class com.samskivert.swing.RuntimeAdjust.IntAdjust
-
- getValue() - Method in class com.samskivert.swing.SimpleSlider
-
Returns the current value of the slider.
- getValue(int) - Method in class com.samskivert.util.CheapIntMap
-
Returns the value with the specified index or null if no value
exists at that index.
- getValue(String, int) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, long) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, float) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, boolean) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, String) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, int[]) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, long[]) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, float[]) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue(String, String[]) - Method in class com.samskivert.util.Config
-
Fetches and returns the value for the specified configuration property.
- getValue() - Method in class com.samskivert.util.ExpiringReference
-
Returns the value with which we were created or null if the value has
expired.
- getValue() - Method in class com.samskivert.util.MapEntry
-
Deprecated.
- getValue(String, int) - Method in class com.samskivert.util.PrefsConfig
-
- getValue(String, long) - Method in class com.samskivert.util.PrefsConfig
-
- getValue(String, float) - Method in class com.samskivert.util.PrefsConfig
-
- getValue(String, boolean) - Method in class com.samskivert.util.PrefsConfig
-
- getValue(String, String) - Method in class com.samskivert.util.PrefsConfig
-
- getValueAt(int, int) - Method in class com.samskivert.swing.TableMap
-
- getValueAt(int, int) - Method in class com.samskivert.swing.TableSorter
-
- getValues() - Method in class com.samskivert.util.IntIntMap
-
Get an array of the values that may be in this map.
- getViewBounds() - Method in interface com.samskivert.swing.RadialMenu.Host
-
Requests the bounds of the visible region in which we'll be rendering the menu.
- getWeight() - Method in class com.samskivert.swing.GroupLayout.Constraints
-
Get the weight.
- getWeight(T) - Method in interface com.samskivert.util.Randoms.Weigher
-
Get the weight of the specified value.
- getWeightedIndex(int[]) - Static method in class com.samskivert.util.RandomUtil
-
Pick a random index from the array, weighted by the value of the corresponding array
element.
- getWeightedIndex(int[], Random) - Static method in class com.samskivert.util.RandomUtil
-
Pick a random index from the array, weighted by the value of the corresponding array
element.
- getWeightedIndex(float[]) - Static method in class com.samskivert.util.RandomUtil
-
Pick a random index from the array, weighted by the value of the corresponding array
element.
- getWeightedIndex(float[], Random) - Static method in class com.samskivert.util.RandomUtil
-
Pick a random index from the array, weighted by the value of the corresponding array
element.
- getWhen(InputEvent) - Static method in class com.samskivert.util.RunAnywhere
-
- GOLDEN - Static variable in class com.samskivert.swing.MultiLineLabel
-
- GroupLayout - Class in com.samskivert.swing
-
Group layout managers lay out widgets in horizontal or vertical groups.
- GroupLayout() - Constructor for class com.samskivert.swing.GroupLayout
-
- GroupLayout.Constraints - Class in com.samskivert.swing
-
The group layout managers supports two constraints: fixedness
and weight.
- GroupLayout.Justification - Class in com.samskivert.swing
-
A class used to make our policy constants type-safe.
- GroupLayout.Policy - Class in com.samskivert.swing
-
A class used to make our policy constants type-safe.
- GroupLayoutTest - Class in com.samskivert.swing
-
- GroupLayoutTest() - Constructor for class com.samskivert.swing.GroupLayoutTest
-
- I18nTool - Class in com.samskivert.velocity
-
Provides access to a set of application messages (translation strings)
to templates that wish to display localized text.
- I18nTool(HttpServletRequest, MessageManager) - Constructor for class com.samskivert.velocity.I18nTool
-
Constructs a new i18n tool which will use the supplied message
manager to obtain translated strings and the supplied request
instance to determine the locale in which to do so.
- identifySite(HttpServletRequest) - Method in class com.samskivert.servlet.JDBCTableSiteIdentifier
-
- identifySite(HttpServletRequest) - Method in interface com.samskivert.servlet.SiteIdentifier
-
Returns the unique identifier for the site on which this request originated.
- imageSubmit(String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a image submit element with the specified parameter name
and image path.
- imageSubmit(String, String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a image submit element with the specified parameter name
and image path.
- imageSubmit(String, String, String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a image submit element with the specified parameter name
and image path.
- ImportDirective - Class in com.samskivert.velocity
-
Pluggable directive that handles the #import() statement in VTL.
- ImportDirective() - Constructor for class com.samskivert.velocity.ImportDirective
-
- in(TimeZone) - Method in class com.samskivert.util.Calendars.Builder
-
- in(TimeZone) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar for the specifed time zone.
- in(Locale) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar for the specifed locale.
- in(TimeZone, Locale) - Static method in class com.samskivert.util.Calendars
-
Returns a fluent wrapper around a calendar for the specifed time zone and locale.
- increment(K) - Method in class com.samskivert.util.CountMap
-
Add 1 to the count for the specified key.
- increment(int, int) - Method in class com.samskivert.util.IntIntMap
-
Increments the value associated with the specified key by the
specified amount.
- incrementCount(K, int) - Method in class com.samskivert.util.CountHashMap
-
Increment the value associated with the specified key, return the new value.
- indexOf(T[], T) - Static method in class com.samskivert.util.ArrayUtil
-
Looks for an element that tests true for Object equality with the supplied value and
returns its index in the array.
- indexOf(int[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Looks for an element that is equal to the supplied value and returns its index in the array.
- indexOf(byte[], byte) - Static method in class com.samskivert.util.ArrayUtil
-
Looks for an element that is equal to the supplied value and returns its index in the array.
- indexOf(float[], float) - Static method in class com.samskivert.util.ArrayUtil
-
Looks for an element that is equal to the supplied value and returns its index in the array.
- indexOf(Object) - Method in class com.samskivert.util.BaseArrayList
-
- indexOf(int[], int) - Static method in class com.samskivert.util.CompactIntListUtil
-
Looks for an element that is equal to the supplied value and
returns its index in the array.
- indexOf(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Looks for an element that is equal to the supplied value and
returns its index in the array.
- indexOf(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Looks for an element that is functionally equal to the supplied
element (element.equals(list[idx])
).
- indexOfNull(Object[]) - Static method in class com.samskivert.util.ListUtil
-
Returns the lowest index in the array that contains null,
or -1 if there is no room to add elements without expanding the array.
- indexOfRef(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Looks for an object that is referentially equal to the supplied
element (list[idx] == element
) and returns its index
in the array.
- indexSQL(String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- indexSQL(String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns the proper SQL to identify an index.
- indexSQL(String) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- indexSQL(String) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- indexSQL(String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- indexSQL(String) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- INFO - Static variable in class com.samskivert.util.Log
-
Log level constant for info entries.
- info(String) - Method in class com.samskivert.util.Log
-
Logs the specified message at the info level if such messages are
enabled.
- info(Object, Object...) - Method in class com.samskivert.util.Logger
-
Logs an info message.
- INFORMATIONAL - Static variable in class com.samskivert.net.cddb.CDDBProtocol
-
- init(Properties, ConnectionProvider) - Method in class com.samskivert.servlet.user.UserManager
-
Prepares this user manager for operation.
- init(Properties, ConnectionProvider, RunQueue) - Method in class com.samskivert.servlet.user.UserManager
-
Prepares this user manager for operation.
- init() - Static method in class com.samskivert.servlet.util.ExceptionMap
-
Searches for the exceptionmap.properties
file in the
classpath and loads it.
- init() - Method in class com.samskivert.util.JDK14Logger
-
- init() - Method in class com.samskivert.util.Lifecycle
-
Initializes all components immediately on the caller's thread.
- init() - Method in interface com.samskivert.util.Lifecycle.InitComponent
-
Called after dependencies have been fully resolved to initialize this component.
- init() - Method in class com.samskivert.util.Log4J2Logger
-
- init() - Method in class com.samskivert.util.Log4JLogger
-
- init() - Method in interface com.samskivert.util.Logger.Factory
-
- init(ServletConfig, ServletContext, String) - Method in class com.samskivert.velocity.Application
-
Performs initializations common to all applications.
- init(ExtendedProperties) - Method in class com.samskivert.velocity.ClasspathResourceLoader
-
- init(ServletConfig) - Method in class com.samskivert.velocity.DispatcherServlet
-
- init(RuntimeServices) - Method in class com.samskivert.velocity.ServletContextLogger
-
- init(ExtendedProperties) - Method in class com.samskivert.velocity.ServletContextResourceLoader
-
Called by Velocity to initialize this resource loader.
- init(ExtendedProperties) - Method in class com.samskivert.velocity.SiteJarResourceLoader
-
This is not called.
- initialize(RuntimeServices) - Method in class com.samskivert.velocity.ServletContextResourceManager
-
- initialize(RuntimeServices) - Method in class com.samskivert.velocity.SiteResourceManager
-
- InsecureAuthenticator() - Constructor for class com.samskivert.servlet.user.UserManager.InsecureAuthenticator
-
- insert(Connection, T) - Method in class com.samskivert.jdbc.jora.Table
-
Insert new record in the table.
- insert(Connection, T[]) - Method in class com.samskivert.jdbc.jora.Table
-
Insert several new records in the table.
- insert(byte[], byte, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the specified slot.
- insert(short[], short, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the specified slot.
- insert(int[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the specified slot.
- insert(float[], float, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the specified slot.
- insert(T[], T, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates a new array one larger than the supplied array and with the
specified value inserted into the specified slot.
- insert(Object[], int, Object) - Static method in class com.samskivert.util.ListUtil
-
Inserts the supplied element at the specified position in the
array, shifting the remaining elements down.
- insertDatum(Object, int) - Method in class com.samskivert.swing.ObjectEditorTable
-
Insert the specified element at the specified row.
- insertNewSite(String) - Method in class com.samskivert.servlet.JDBCTableSiteIdentifier
-
Insert a new site into the site table and into this mapping.
- insertSorted(T) - Method in class com.samskivert.util.ComparableArrayList
-
Inserts the specified item into the list into a position that
preserves the sorting of the list.
- insertSorted(T, Comparator<? super T>) - Method in class com.samskivert.util.SortableArrayList
-
Inserts the specified item into the list into a position that
preserves the sorting of the list according to the supplied
Comparator
.
- insertUpdate(DocumentEvent) - Method in class com.samskivert.swing.event.DocumentAdapter
-
- install(JTable) - Static method in class com.samskivert.swing.IntegerTableCellRenderer
-
A convenience method for installing this renderer.
- InstanceOf(Class<?>) - Constructor for class com.samskivert.util.Predicate.InstanceOf
-
- instantiateValue(String, String) - Method in class com.samskivert.util.Config
-
Looks up the specified string-valued configuration entry, loads the class with that name and
instantiates a new instance of that class, which is returned.
- IntAdjust(String, String, PrefsConfig, int) - Constructor for class com.samskivert.swing.RuntimeAdjust.IntAdjust
-
- IntegerTableCellRenderer - Class in com.samskivert.swing
-
A table cell renderer that that formats integers according to the
locale's desires.
- IntegerTableCellRenderer() - Constructor for class com.samskivert.swing.IntegerTableCellRenderer
-
- intEntrySet() - Method in class com.samskivert.util.HashIntMap
-
- intEntrySet() - Method in interface com.samskivert.util.IntMap
-
Returns a set of all the map entries.
- Interable - Interface in com.samskivert.util
-
An interface similar to java.util.Iterable.
- interator() - Method in class com.samskivert.util.ArrayIntSet
-
- interator() - Method in class com.samskivert.util.HashIntSet
-
- interator() - Method in interface com.samskivert.util.Interable
-
Return an Interator over the ints in this object.
- Interator - Interface in com.samskivert.util
-
Can be used as an Iterator, and all Objects returned should be Integer objects, but can also can
avoid boxing by calling
Interator.nextInt()
.
- interator() - Method in interface com.samskivert.util.IntSet
-
Return an Interator that iterates over the ints in this set.
- Interval - Class in com.samskivert.util
-
An interface for doing operations after some delay.
- Interval() - Constructor for class com.samskivert.util.Interval
-
- Interval(RunQueue) - Constructor for class com.samskivert.util.Interval
-
- Interval.Factory - Interface in com.samskivert.util
-
An interface for entities that create, and keep track of, intervals.
- Interval.RunBuddy - Interface in com.samskivert.util
-
An interface that will be implemented by the runnable posted to a RunQueue that can be used
to retrieve the original Interval.
- intervalAdded(ListDataEvent) - Method in class com.samskivert.swing.ComboButtonBox
-
- intervalRemoved(ListDataEvent) - Method in class com.samskivert.swing.ComboButtonBox
-
- intervalToString(long) - Static method in class com.samskivert.util.StringUtil
-
Used to convert a time interval to a more easily human readable string of the form: 1d
15h 4m 15s 987m
.
- IntField - Class in com.samskivert.swing
-
A text field that will only allow editing of integer values within
the specified range.
- IntField() - Constructor for class com.samskivert.swing.IntField
-
Create an IntField with the range 0 - Integer.MAX_VALUE, with
0 as the initial value.
- IntField(int) - Constructor for class com.samskivert.swing.IntField
-
Create an IntField with the specified maximum.
- IntField(int, int) - Constructor for class com.samskivert.swing.IntField
-
Create an IntField with the specified minimum and maximum, with
the minimum value initially displayed.
- IntField(int, int, int) - Constructor for class com.samskivert.swing.IntField
-
Create an IntField with the specified initial, minimum, and
maximum values.
- IntIntMap - Class in com.samskivert.util
-
An int int map is like an int map, but with integers as values as well as keys.
- IntIntMap(int, float) - Constructor for class com.samskivert.util.IntIntMap
-
- IntIntMap(int) - Constructor for class com.samskivert.util.IntIntMap
-
- IntIntMap() - Constructor for class com.samskivert.util.IntIntMap
-
- IntIntMap.IntIntEntry - Interface in com.samskivert.util
-
- intKeySet() - Method in class com.samskivert.util.HashIntMap
-
- intKeySet() - Method in interface com.samskivert.util.IntMap
-
Get a set of all the keys, as an IntSet.
- IntListUtil - Class in com.samskivert.util
-
This class manages arrays of ints.
- IntListUtil() - Constructor for class com.samskivert.util.IntListUtil
-
- IntMap<V> - Interface in com.samskivert.util
-
An int map is a map that uses integers as keys and provides accessors
that eliminate the need to create and manipulate superfluous
Integer
objects.
- IntMap.IntEntry<V> - Interface in com.samskivert.util
-
An IntMap entry (key-value pair).
- IntMaps - Class in com.samskivert.util
-
Provides static methods for creating mutable IntMap
instances easily.
- IntMaps() - Constructor for class com.samskivert.util.IntMaps
-
- IntResultListener - Interface in com.samskivert.util
-
Provides access to an integer result, or the exception associated with
failure.
- IntSet - Interface in com.samskivert.util
-
A set that holds integers and provides accessors that eliminate the
need to create and manipulate superfluous Integer
objects.
- IntSets - Class in com.samskivert.util
-
Utility methods for working with IntSets.
- intToSet(Class<E>, int) - Static method in class com.samskivert.util.ByteEnumUtil
-
Convert an int representation of ByteEnum flags into an EnumSet.
- IntTuple - Class in com.samskivert.util
-
A simple object that holds a reference to two ints.
- IntTuple(int, int) - Constructor for class com.samskivert.util.IntTuple
-
Construct a tuple with the specified two objects.
- IntTuple() - Constructor for class com.samskivert.util.IntTuple
-
Construct a blank tuple.
- invalidateDialog(Component) - Static method in class com.samskivert.swing.util.DialogUtil
-
Invalidates and resizes the entire dialog given any component
within the dialog in question.
- invalidateLayout(Container) - Method in class com.samskivert.swing.AbsoluteLayout
-
- invalidateLayout(Container) - Method in class com.samskivert.swing.GroupLayout
-
- InvalidPasswordException - Exception in com.samskivert.servlet.user
-
Thrown during authentication when an invalid password is supplied.
- InvalidPasswordException(String) - Constructor for exception com.samskivert.servlet.user.InvalidPasswordException
-
- InvalidUsernameException - Exception in com.samskivert.servlet.user
-
Thrown during user account creation if an invalid username is supplied.
- InvalidUsernameException(String) - Constructor for exception com.samskivert.servlet.user.InvalidUsernameException
-
- InvocationContext - Class in com.samskivert.velocity
-
The invocation context provides access to request related information as well as being the place
where objects are placed to make them available to the template.
- InvocationContext(HttpServletRequest, HttpServletResponse) - Constructor for class com.samskivert.velocity.InvocationContext
-
Constructs a new invocation context instance with the supplied http request and response
objects.
- invoke(Connection, DatabaseLiaison) - Method in class com.samskivert.jdbc.AutoCloseOperation
-
- invoke(Connection, DatabaseLiaison) - Method in interface com.samskivert.jdbc.Repository.Operation
-
Invokes code that performs one or more database operations, all
of which will be encapsulated in a single transaction (which
can be retried in the event of a transient failure).
- invoke() - Method in class com.samskivert.jdbc.RepositoryUnit
-
- invoke() - Method in class com.samskivert.jdbc.WriteOnlyUnit
-
- invoke() - Method in class com.samskivert.swing.util.RetryableTask
-
This should be implemented by the retryable task user to perform
whatever they wish to be done in a retryable manner.
- invoke() - Method in interface com.samskivert.swing.util.Task
-
This method is called by the task master to invoke the task.
- invoke() - Method in class com.samskivert.swing.util.TaskAdapter
-
Always returns null by default.
- invoke() - Method in interface com.samskivert.util.DebugChords.Hook
-
Called when a key combination to which this hook is bound is
invoked.
- invoke() - Method in class com.samskivert.util.Invoker.Unit
-
This method is called on the invoker thread and should be used to perform the primary
function of the unit.
- invoke(Application, InvocationContext) - Method in class com.samskivert.velocity.DummyLogic
-
- invoke(Application, InvocationContext) - Method in interface com.samskivert.velocity.Logic
-
Perform any necessary computation and populate the context with
data for this request.
- invokeMethodTask(String, Object, TaskObserver) - Static method in class com.samskivert.swing.util.TaskMaster
-
Invokes the method with the specified name on the supplied source
object as if it were a task.
- invokePersist() - Method in class com.samskivert.jdbc.RepositoryListenerUnit
-
- invokePersist() - Method in class com.samskivert.jdbc.ResultUnit
-
- invokePersist() - Method in class com.samskivert.jdbc.WriteOnlyUnit
-
Called to perform our persistent actions.
- invokePersistResult() - Method in class com.samskivert.jdbc.RepositoryListenerUnit
-
Called to perform our persistent action and generate our result.
- Invoker - Class in com.samskivert.util
-
The invoker is used to invoke self-contained units of code on an invoking thread.
- Invoker(String, Executor) - Constructor for class com.samskivert.util.Invoker
-
Creates an invoker that will post results to the supplied result receiver.
- Invoker.Unit - Class in com.samskivert.util
-
The unit encapsulates a unit of executable code that will be run on the invoker thread.
- invokeTask(Component, String) - Method in class com.samskivert.swing.util.RetryableTask
-
Invokes the supplied task and catches any thrown exceptions.
- invokeTask(String, Task, TaskObserver) - Static method in class com.samskivert.swing.util.TaskMaster
-
Instructs the task master to run the supplied task.
- isAdmin() - Method in class com.samskivert.servlet.user.User
-
Returns true if this user is an admin, false otherwise.
- isBlank(String) - Static method in class com.samskivert.util.StringUtil
-
- isCellEditable(int, int) - Method in class com.samskivert.swing.TableMap
-
- isCellEditable(int, int) - Method in class com.samskivert.swing.TableSorter
-
- isCollapsed() - Method in class com.samskivert.swing.CollapsiblePanel
-
Is the panel collapsed?
- isColumnNullable(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Determines whether or not the specified column accepts null values.
- isDeleted() - Method in class com.samskivert.servlet.user.User
-
- isDispatchThread() - Method in class com.samskivert.util.BasicRunQueue
-
- isDispatchThread() - Method in class com.samskivert.util.Invoker
-
- isDispatchThread() - Method in interface com.samskivert.util.RunQueue
-
- isDuplicateRowException(SQLException) - Method in class com.samskivert.jdbc.BaseLiaison
-
- isDuplicateRowException(SQLException) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Determines whether or not the supplied SQL exception was caused by a duplicate row being
inserted into a table with a unique key.
- isDuplicateRowException(SQLException) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- isDuplicateRowException(SQLException) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- isDuplicateRowException(SQLException) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- isDuplicateRowException(SQLException) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- isEmpty() - Method in class com.samskivert.util.AbstractIntSet
- isEmpty() - Method in class com.samskivert.util.ArrayIntSet
-
- isEmpty() - Method in class com.samskivert.util.BaseArrayList
-
- isEmpty() - Method in class com.samskivert.util.CountMap
-
- isEmpty() - Method in class com.samskivert.util.DependencyGraph
-
Returns whether there are no more elements in the graph.
- isEmpty() - Method in class com.samskivert.util.HashIntSet
-
- isEmpty() - Method in class com.samskivert.util.IntIntMap
-
- isEmpty() - Method in class com.samskivert.util.LRUHashMap
-
- isEmpty() - Method in class com.samskivert.util.ObserverList
-
Returns true if this list has no observers, false otherwise.
- isEnabled(RadialMenu) - Method in class com.samskivert.swing.RadialLabelSausage
-
Returns true if this menu item should be enabled when it is
displayed.
- isEnabled(RadialMenu, RadialMenuItem) - Method in interface com.samskivert.swing.RadialMenu.Predicate
-
If true, the menu will be enabled when displayed in a character's menu.
- isEnabled(RadialMenu) - Method in class com.samskivert.swing.RadialMenuItem
-
Returns true if this menu item should be enabled when it is displayed.
- isFixed() - Method in class com.samskivert.swing.GroupLayout.Constraints
-
Is this Constraints specifying fixed?
- isFullScreen - Variable in class com.samskivert.util.SystemInfo
-
Whether the video display is currently set to full-screen mode.
- isHeadless - Variable in class com.samskivert.util.SystemInfo
-
Whether the video display is headless or video information is
unavailable.
- isIncluded(RadialMenu, RadialMenuItem) - Method in interface com.samskivert.swing.RadialMenu.Predicate
-
If true, the menu will be included in the character menu when it is displayed.
- isIncluded(RadialMenu) - Method in class com.samskivert.swing.RadialMenuItem
-
Returns true if this menu item should be included in a menu when it is displayed.
- isInteger(String) - Static method in class com.samskivert.util.StringUtil
-
- isLaidOut() - Method in class com.samskivert.swing.Label
-
Returns true if this label has been laid out, false if not.
- isLevelEnabled(int) - Method in class com.samskivert.velocity.ServletContextLogger
-
- isLinux() - Static method in class com.samskivert.util.RunAnywhere
-
Returns true if we're running in a JVM that identifies its
operating system as Linux.
- isLoggable(LogRecord) - Method in class com.samskivert.util.RepeatRecordFilter
-
- isMacOS() - Static method in class com.samskivert.util.RunAnywhere
-
Returns true if we're running in a JVM that identifies its
operating system as MacOS.
- isMatch(T) - Method in class com.samskivert.util.Predicate.And
-
- isMatch(T) - Method in class com.samskivert.util.Predicate.InstanceOf
-
- isMatch(T) - Method in class com.samskivert.util.Predicate
-
Does the specified object belong to the special set that we test for?
- isMatch(T) - Method in class com.samskivert.util.Predicate.Not
-
- isMatch(T) - Method in class com.samskivert.util.Predicate.Or
-
- isModified() - Method in class com.samskivert.jdbc.jora.FieldMask
-
Returns true if any of the fields in this mask are modified.
- isModified(int) - Method in class com.samskivert.jdbc.jora.FieldMask
-
Returns true if the field with the specified index is modified.
- isModified(String) - Method in class com.samskivert.jdbc.jora.FieldMask
-
Returns true if the field with the specified name is modifed.
- isRunning() - Method in class com.samskivert.util.LoopingThread
-
Indicates whether or not the thread should still be running.
- isRunning() - Method in interface com.samskivert.util.RunQueue
-
- isSet(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Returns true if the specified parameter is set in the request.
- isSet(HttpServletRequest, String, boolean) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Returns true if the specified parameter is set to a non-blank value in the request, false if
the value is blank, or defaultValue
if the parameter is unspecified.
- isShuttingDown() - Method in class com.samskivert.util.Lifecycle
-
Returns true if we're in the process of shutting down.
- isSorting() - Method in class com.samskivert.swing.TableSorter
-
- isSourceModified(Resource) - Method in class com.samskivert.velocity.ClasspathResourceLoader
-
- isSourceModified(Resource) - Method in class com.samskivert.velocity.ServletContextResourceLoader
-
Things won't ever be modified when loaded from the servlet context
because they came from the webapp .war file and if that is
reloaded, everything will be thrown away and started afresh.
- isSourceModified(Resource) - Method in class com.samskivert.velocity.SiteJarResourceLoader
-
Things won't ever be modified when loaded from the servlet context
because they came from the webapp .war file and if that is reloaded,
everything will be thrown away and started afresh.
- isTainted(String) - Static method in class com.samskivert.text.MessageUtil
-
Returns whether or not the provided string is tainted.
- isTransientException(SQLException) - Method in class com.samskivert.jdbc.BaseLiaison
-
- isTransientException(SQLException) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Determines whether or not the supplied SQL exception is a transient failure, meaning one
that is not related to the SQL being executed, but instead to the environment at the time of
execution, like the connection to the database having been lost.
- isTransientException(SQLException) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- isTransientException(SQLException) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- isTransientException(SQLException) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- isTransientException(SQLException) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- isTransitionApplied(Class<?>, String) - Method in class com.samskivert.jdbc.TransitionRepository
-
Returns whether the specified name transition been applied.
- isValid(String) - Method in interface com.samskivert.swing.util.SwingUtil.DocumentValidator
-
Return false if the text is not valid for any reason.
- isValid(char) - Method in interface com.samskivert.util.StringUtil.CharacterValidator
-
- isValid(Object) - Method in interface com.samskivert.xml.ValidatedSetNextRule.Validator
-
Returns true if the object in question is valid (was properly
parsed), false if it is not.
- isValidAddress(String) - Static method in class com.samskivert.net.MailUtil
-
Checks the supplied address against a regular expression that (for
the most part) matches only valid email addresses.
- isWindows() - Static method in class com.samskivert.util.RunAnywhere
-
Returns true if we're running in a JVM that identifies its
operating system as Windows.
- itemUpdated() - Method in class com.samskivert.swing.RadialMenu
-
May be called by an item when it changes in a material way.
- iterate() - Method in class com.samskivert.util.Invoker
-
- iterator() - Method in class com.samskivert.util.AbstractIntSet
-
- Label - Class in com.samskivert.swing
-
The label is a multipurpose text display mechanism that can display small amounts of text
wrapped to fit into a variety of constrained spaces.
- Label() - Constructor for class com.samskivert.swing.Label
-
Constructs a blank label.
- Label(String) - Constructor for class com.samskivert.swing.Label
-
Constructs a label with the supplied text.
- Label(String, Color, Font) - Constructor for class com.samskivert.swing.Label
-
Constructs a label with the supplied text and configuration parameters.
- Label(String, int, Color, Color, Font) - Constructor for class com.samskivert.swing.Label
-
Constructs a label with the supplied text and configuration parameters.
- LabelSausage - Class in com.samskivert.swing
-
An abstract lightweight renderer that sizes and renders a label (with optional icon) in a
roundy-ended sausage.
- LabelStyleConstants - Interface in com.samskivert.swing
-
- lastInsertedId(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
Deprecated.
- lastInsertedId(Connection, Statement, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- lastInsertedId(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
- lastInsertedId(Connection, Statement, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Attempts as dialect-agnostic an interface as possible to the ability of certain databases to
auto-generated numerical values for i.e.
- lastInsertedId(Connection, Statement, String, String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- layout(Component) - Method in class com.samskivert.swing.Label
-
- layout(Graphics2D) - Method in class com.samskivert.swing.Label
-
Requests that this label lay out its text, obtaining information from the supplied graphics
context to do so.
- layout(Graphics2D, Font) - Method in class com.samskivert.swing.RadialLabelSausage
-
Computes the dimensions of this label based on the specified font
and in the specified graphics context.
- layoutContainer(Container) - Method in class com.samskivert.swing.AbsoluteLayout
-
- layoutContainer(Container) - Method in class com.samskivert.swing.GroupLayout
-
- layoutContainer(Container) - Method in class com.samskivert.swing.HGroupLayout
-
- layoutContainer(Container) - Method in class com.samskivert.swing.VGroupLayout
-
- LazyComponent - Class in com.samskivert.swing
-
A component that doesn't actually create its content until it is
visible and actually showing.
- LazyComponent(LazyComponent.ContentCreator) - Constructor for class com.samskivert.swing.LazyComponent
-
Create a lazy component.
- LazyComponent.ContentCreator - Interface in com.samskivert.swing
-
An interface for creating the actual content that will live
in this component.
- LEFT - Static variable in class com.samskivert.swing.GroupLayout
-
A justification constant.
- left - Variable in class com.samskivert.util.IntTuple
-
The left int.
- left - Variable in class com.samskivert.util.Tuple
-
The left object.
- legacyEncrypt(String, String, boolean) - Static method in class com.samskivert.servlet.user.UserUtil
-
Encrypts passwords the way we used to.
- length(Object) - Method in class com.samskivert.velocity.DataTool
-
Returns the length of the specified array.
- levelFromString(String) - Static method in class com.samskivert.util.Log
-
Returns the log level that matches the specified string or -1 if
the string could not be interpretted as a log level.
- levelToString(int) - Static method in class com.samskivert.util.Log
-
Returns a string representation of the specified log level.
- LEXICAL_CASE_INSENSITIVE - Static variable in class com.samskivert.util.Comparators
-
A comparator that compares the toString() value of all objects case insensitively.
- LiaisonRegistry - Class in com.samskivert.jdbc
-
The liaison registry provides access to the appropriate database liaison implementation for a
particular database connection.
- LiaisonRegistry() - Constructor for class com.samskivert.jdbc.LiaisonRegistry
-
- Lifecycle - Class in com.samskivert.util
-
Manages the lifecycle (initialization and shutdown) of a collection of components.
- Lifecycle() - Constructor for class com.samskivert.util.Lifecycle
-
- Lifecycle.BaseComponent - Interface in com.samskivert.util
-
An interface implemented by components which wish to participate in the lifecycle.
- Lifecycle.Component - Interface in com.samskivert.util
-
An interface implemented by components which wish to participate in the lifecycle.
- Lifecycle.Constraint - Enum in com.samskivert.util
-
- Lifecycle.InitComponent - Interface in com.samskivert.util
-
An interface implemented by components which wish to participate in the lifecycle.
- Lifecycle.ShutdownComponent - Interface in com.samskivert.util
-
An interface implemented by components which wish to participate in the lifecycle.
- limit(Collection<?>, int) - Static method in class com.samskivert.util.CollectionUtil
-
Modify the specified Collection so that only the first limit
elements
remain, as determined by iteration order.
- LINE_SEPARATOR - Static variable in class com.samskivert.util.FormatterUtil
-
The line separator to use between log messages.
- listToString(Object, StringUtil.Formatter) - Static method in class com.samskivert.util.StringUtil
-
Formats a collection of elements (either an array of objects, an
Iterator
, an
Iterable
or an
Enumeration
) using the supplied formatter on each element.
- listToString(StringBuilder, Object, StringUtil.Formatter) - Static method in class com.samskivert.util.StringUtil
-
Formats the supplied collection into the supplied string buffer using the supplied
formatter.
- ListUtil - Class in com.samskivert.util
-
List util is for the times when you just can't bear the overhead of an
ArrayList
object to manage your list of objects.
- ListUtil() - Constructor for class com.samskivert.util.ListUtil
-
- load(File) - Static method in class com.samskivert.util.PropertiesUtil
-
Reads and parses the supplied file into a
Properties
instance.
- loadAllRealNames() - Method in class com.samskivert.servlet.user.UserRepository
-
Returns an array with the real names of every user in the system.
- loadAndGet(File, String) - Static method in class com.samskivert.util.PropertiesUtil
-
Loads up the supplied properties file and returns the specified key.
- loadAndGet(String, String) - Static method in class com.samskivert.util.PropertiesUtil
-
- loadInheritedProperties(String) - Static method in class com.samskivert.util.ConfigUtil
-
Creates a properties instance by combining properties files loaded using the specified
classpath-relative property file path.
- loadInheritedProperties(String, Properties) - Static method in class com.samskivert.util.ConfigUtil
-
- loadInheritedProperties(String, ClassLoader) - Static method in class com.samskivert.util.ConfigUtil
-
- loadInheritedProperties(String, ClassLoader, Properties) - Static method in class com.samskivert.util.ConfigUtil
-
- loadProperties(String) - Static method in class com.samskivert.util.ConfigUtil
-
Loads a properties file from the named file that exists somewhere in the classpath.
- loadProperties(String, ClassLoader) - Static method in class com.samskivert.util.ConfigUtil
-
- loadProperties(String, ClassLoader, Properties) - Static method in class com.samskivert.util.ConfigUtil
-
- loadRealNames(int[]) - Method in class com.samskivert.servlet.user.UserRepository
-
Loads the real names of the users identified by the supplied user ids and returns them in an
array.
- loadUser(HttpServletRequest) - Method in class com.samskivert.servlet.user.UserManager
-
Fetches the necessary authentication information from the http request and loads the user
identified by that information.
- loadUser(String) - Method in class com.samskivert.servlet.user.UserManager
-
Loads up a user based on the supplied session authentication token.
- loadUser(String) - Method in class com.samskivert.servlet.user.UserRepository
-
Looks up a user by username.
- loadUser(int) - Method in class com.samskivert.servlet.user.UserRepository
-
Looks up a user by userid.
- loadUserBySession(String) - Method in class com.samskivert.servlet.user.UserRepository
-
Looks up a user by a session identifier.
- loadUserNames(int[]) - Method in class com.samskivert.servlet.user.UserRepository
-
Loads the usernames of the users identified by the supplied user ids and returns them in an
array.
- loadUsersFromId(int[]) - Method in class com.samskivert.servlet.user.UserRepository
-
Looks up users by userid
- Log - Class in com.samskivert.jdbc
-
A log instance for the JDBC code.
- Log() - Constructor for class com.samskivert.jdbc.Log
-
- log - Static variable in class com.samskivert.jdbc.Log
-
We dispatch our log messages through this logger.
- Log - Class in com.samskivert.servlet
-
Provides a log instance for this package (and sub-packages).
- Log() - Constructor for class com.samskivert.servlet.Log
-
- log - Static variable in class com.samskivert.servlet.Log
-
- Log - Class in com.samskivert.swing
-
Provides a log instance for this package (and sub-packages).
- Log() - Constructor for class com.samskivert.swing.Log
-
- log - Static variable in class com.samskivert.swing.Log
-
- log(String, Object...) - Method in class com.samskivert.util.AuditLogger
-
Builds a log entry out of the given message and args using
Logger.format(Object, Object...)
, prefixes it with the current date and time,
appends a newline to it and writes it to the log.
- log(int, String, String) - Method in class com.samskivert.util.DefaultLogProvider
-
- Log - Class in com.samskivert.util
-
The log services provide debug, info and warning message logging
capabilities for a set of modules.
- Log(String) - Constructor for class com.samskivert.util.Log
-
Constructs a new log object with the supplied module name.
- log(int, String, String) - Method in class com.samskivert.util.LoggingLogProvider
-
- log(int, String, String) - Method in interface com.samskivert.util.LogProvider
-
Log a message at the specified level for the specified module, if
messages are enabled for that particular combination.
- log(int, String) - Method in class com.samskivert.velocity.ServletContextLogger
-
- log(int, String, Throwable) - Method in class com.samskivert.velocity.ServletContextLogger
-
- Log4J2Logger - Class in com.samskivert.util
-
A factory for creating log4j2 logger implementations.
- Log4J2Logger() - Constructor for class com.samskivert.util.Log4J2Logger
-
- Log4JLogger - Class in com.samskivert.util
-
A factory for creating log4j logger implementations.
- Log4JLogger() - Constructor for class com.samskivert.util.Log4JLogger
-
- LogBuilder - Class in com.samskivert.util
-
Formats a message and an array of alternating key value pairs like so:
- LogBuilder() - Constructor for class com.samskivert.util.LogBuilder
-
Creates a log builder with no message and no initial key value pairs.
- LogBuilder(Object, Object...) - Constructor for class com.samskivert.util.LogBuilder
-
Creates a log builder with the given message and key value pairs.
- Logger - Class in com.samskivert.util
-
Provides logging services to this library and others which depend on this library in such a way
that they can be used in a larger project and easily be made to log to the logging framework in
use by that project.
- Logger() - Constructor for class com.samskivert.util.Logger
-
- Logger.Factory - Interface in com.samskivert.util
-
Used to create logger instances.
- LoggingLogProvider - Class in com.samskivert.util
-
Configures the samskivert logging routines to use the Java logging
facilities for logging.
- LoggingLogProvider() - Constructor for class com.samskivert.util.LoggingLogProvider
-
- Logic - Interface in com.samskivert.velocity
-
The logic class is called upon to populate the WebMacro web context,
prior to invoking a particular WebMacro template upon it to generate a
response page.
- login(String, Password, boolean, HttpServletRequest, HttpServletResponse, Authenticator) - Method in class com.samskivert.servlet.user.UserManager
-
Attempts to authenticate the requester and initiate an authenticated session for them.
- login(String, Password, int, Authenticator) - Method in class com.samskivert.servlet.user.UserManager
-
Attempts to authenticate the requester and initiate an authenticated session for them.
- logout(HttpServletRequest, HttpServletResponse) - Method in class com.samskivert.servlet.user.UserManager
-
Logs the user out.
- LogProvider - Interface in com.samskivert.util
-
The log provider interface allows the simple logging services provided
to the samskivert codebase to be mapped onto an actual logging
framework.
- logStackTrace(int, String, Throwable) - Method in class com.samskivert.util.DefaultLogProvider
-
- logStackTrace(int, Throwable) - Method in class com.samskivert.util.Log
-
Logs the stack trace of the supplied throwable at the specified
level (if the current log level for this module is at or below the
specified level).
- logStackTrace(int, String, Throwable) - Method in class com.samskivert.util.LoggingLogProvider
-
- logStackTrace(int, String, Throwable) - Method in interface com.samskivert.util.LogProvider
-
Log the stack trace of the supplied throwable at the specified
level for the specified module, if messages are enabled for that
particular combination.
- longDate(Object) - Method in class com.samskivert.velocity.I18nTool
-
- lookupUsersByEmail(String) - Method in class com.samskivert.servlet.user.UserRepository
-
Lookup a user by email address, something that is not efficient and should really only be
done by site admins attempting to look up a user record.
- lookupUsersWhere(String) - Method in class com.samskivert.servlet.user.UserRepository
-
Looks up a list of users that match an arbitrary query.
- LoopingThread - Class in com.samskivert.util
-
The looping thread provides the basic functionality for a thread that does its processing in a
simple loop.
- LoopingThread() - Constructor for class com.samskivert.util.LoopingThread
-
Ye olde zero argument constructor.
- LoopingThread(String) - Constructor for class com.samskivert.util.LoopingThread
-
Creates a looping thread with the specified name.
- LRUHashMap<K,V> - Class in com.samskivert.util
-
A HashMap with LRU functionality and rudimentary performance tracking
facilities.
- LRUHashMap(int) - Constructor for class com.samskivert.util.LRUHashMap
-
Construct a LRUHashMap with the specified maximum size.
- LRUHashMap(int, LRUHashMap.ItemSizer<V>) - Constructor for class com.samskivert.util.LRUHashMap
-
Construct a LRUHashMap with the specified maximum total size and
the supplied item sizer which will be used to compute the size of
each item.
- LRUHashMap.ItemSizer<V> - Interface in com.samskivert.util
-
Used to return the "size" of a cache item for systems that wish to
differentiate cache items based on memory footprint or other
metric.
- LRUHashMap.RemovalObserver<K,V> - Interface in com.samskivert.util
-
An observer may be registered with a LRU hash map to be notified
when items are removed from the table (either explicitly or by
being replaced with another value or due to being flushed).
- lscat() - Method in class com.samskivert.net.cddb.CDDB
-
Fetches and returns the list of categories supported by the server.
- pad(String, int) - Static method in class com.samskivert.util.StringUtil
-
Pads the supplied string to the requested string width by appending spaces to the end of the
returned string.
- pad(String, int, char) - Static method in class com.samskivert.util.StringUtil
-
Pads the supplied string to the requested string width by appending the specified character
to the end of the returned string.
- paintComponent(Graphics) - Method in class com.samskivert.swing.MultiLineLabel
-
- paintComponent(Graphics) - Method in class com.samskivert.swing.ScrollBox
-
- paintIcon(Component, Graphics, int, int) - Method in class com.samskivert.swing.DimmedIcon
-
- paintIcon(Component, Graphics, int, int) - Method in class com.samskivert.swing.ScaledIcon
-
- paintIcon(Component, Graphics, int, int) - Method in class com.samskivert.swing.ShapeIcon
-
- parafy(String) - Static method in class com.samskivert.velocity.StringTool
-
Adds <p> tags between each pair of consecutive newlines.
- parameterEquals(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Returns true if the specified parameter is equal to the supplied value.
- ParameterUtil - Class in com.samskivert.servlet.util
-
Utility functions for fetching and manipulating request parameters (form fields).
- ParameterUtil() - Constructor for class com.samskivert.servlet.util.ParameterUtil
-
- ParameterUtil.ParameterValidator - Interface in com.samskivert.servlet.util
-
An interface for validating form parameters.
- parse(String) - Method in class com.samskivert.net.cddb.CDDB.Entry
-
Parses values for this entry from the supplied source string.
- parse(String) - Method in interface com.samskivert.xml.SetPropertyFieldsRule.FieldParser
-
- parse(DefaultHandler, InputStream) - Static method in class com.samskivert.xml.XMLUtil
-
Parse the XML data in the given input stream, using the
specified handler object as both the content and error handler.
- parseAndSet(String, Object) - Method in class com.samskivert.xml.CallMethodSpecialRule
-
- parseBooleanArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of booleans from its string representation.
- parseByteArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of signed byte-sized integers from their string representation.
- parseDoubleArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of doubles from its string representation.
- parseFile(String) - Method in class com.samskivert.xml.SimpleParser
-
Parse the given file.
- parseFloatArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of floats from it's string representation.
- parseIntArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of integers from it's string representation.
- parseLongArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of longs from it's string representation.
- parseShortArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of short integers from their string representation.
- parseStream(InputStream) - Method in class com.samskivert.xml.SimpleParser
-
Parse the given input stream.
- parseStringArray(String) - Static method in class com.samskivert.util.StringUtil
-
Parses an array of strings from a single string.
- parseStringArray(String, boolean) - Static method in class com.samskivert.util.StringUtil
-
- Password - Class in com.samskivert.servlet.user
-
Represents an encrypted password.
- password - Variable in class com.samskivert.servlet.user.User
-
The user's chosen password (encrypted).
- password(String) - Method in class com.samskivert.velocity.FormTool
-
Creates a password input field with the specified name and no extra
arguments or default value.
- password(String, String) - Method in class com.samskivert.velocity.FormTool
-
Creates a password input field with the specified name and the
specified extra arguments with no default value.
- password(String, String, Object) - Method in class com.samskivert.velocity.FormTool
-
Creates a password input field with the specified name, extra arguments
and default value.
- PasswordAuthenticator() - Constructor for class com.samskivert.servlet.user.UserManager.PasswordAuthenticator
-
- passwordsMatch(Password) - Method in class com.samskivert.servlet.user.User
-
Compares the supplied password with the password associated with this user record.
- path - Variable in class com.samskivert.velocity.SiteKey
-
The resource path.
- PathUtil - Class in com.samskivert.net
-
Path related utility functions.
- PathUtil() - Constructor for class com.samskivert.net.PathUtil
-
- peekResult() - Method in class com.samskivert.util.ResultHandler
-
Peeks at the result, which will be returned if already available.
- penniesToDollars(int) - Method in class com.samskivert.velocity.CurrencyTool
-
Velocity currently doesn't support floats, so we have to provide our own support to convert
pennies to a dollar amount.
- percent(int, int) - Method in class com.samskivert.velocity.DataTool
-
Returns the numerator as a percentage of the denominator (100 * num /
denom), handles 0/0 (returns 0), but will div0 on N/0 where N != 0.
- percent(float) - Method in class com.samskivert.velocity.StringTool
-
Convert a float to a nicely formated percent string.
- PersistenceException - Exception in com.samskivert.io
-
A persistence exception can be thrown when an error occurs in
underlying persistence code.
- PersistenceException(String) - Constructor for exception com.samskivert.io.PersistenceException
-
Constructs a persistence exception with the specified error
message.
- PersistenceException(String, Exception) - Constructor for exception com.samskivert.io.PersistenceException
-
Constructs a persistence exception with the specified error message
and the chained causing event.
- PersistenceException(Exception) - Constructor for exception com.samskivert.io.PersistenceException
-
Constructs a persistence exception with the specified chained
causing event.
- pick(Iterator<? extends T>, T) - Method in class com.samskivert.util.Randoms
-
Pick a random element from the specified Iterator, or return ifEmpty
if it is empty.
- pick(Iterable<? extends T>, T) - Method in class com.samskivert.util.Randoms
-
Pick a random element from the specified Iterable, or return ifEmpty
if it is empty.
- pick(Map<? extends T, ? extends Number>, T) - Method in class com.samskivert.util.Randoms
-
Pick a random key from the specified mapping of weight values, or return
ifEmpty
if no mapping has a weight greater than 0
.
- pick(Iterable<? extends T>, T, Randoms.Weigher<? super T>) - Method in class com.samskivert.util.Randoms
-
Pick a random element from the specified iterable, or return
ifEmpty
if no element has a weight greater than 0
.
- pick(Iterator<? extends T>, T, Randoms.Weigher<? super T>) - Method in class com.samskivert.util.Randoms
-
Pick a random element from the specified iterator, or return
ifEmpty
if no element has a weight greater than 0
.
- pickRandom(T[]) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied array of values.
- pickRandom(T[], T) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied array of values, not including the specified skip
object as a possible selection (equality with the skipped object is referential rather than
via
Object.equals(java.lang.Object)
).
- pickRandom(Collection<T>) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied
Collection
.
- pickRandom(Collection<T>, Random) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied
Collection
.
- pickRandom(List<T>) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied List
- pickRandom(List<T>, T) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied List.
- pickRandom(List<T>, T, Random) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied List.
- pickRandom(Iterator<T>, int) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied iterator (which must iterate over exactly
count
objects.
- pickRandom(Iterator<T>, int, Random) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied iterator (which must iterate over exactly
count
objects using the given Random.
- pickRandom(Iterator<T>, int, T) - Static method in class com.samskivert.util.RandomUtil
-
Picks a random object from the supplied iterator (which must iterate over exactly
count
objects.
- PLAIN - Static variable in class com.samskivert.util.TermUtil
-
VT100 formatting code to revert to plain text.
- pluck(Iterable<? extends T>, T) - Method in class com.samskivert.util.Randoms
-
Pluck (remove) a random element from the specified Iterable, or return ifEmpty
if it is empty.
- Policy() - Constructor for class com.samskivert.swing.GroupLayout.Policy
-
- PopupMenuAdapter - Class in com.samskivert.swing.event
-
An abstract adapter class for receiving popup menu events.
- PopupMenuAdapter() - Constructor for class com.samskivert.swing.event.PopupMenuAdapter
-
- popupMenuCanceled(PopupMenuEvent) - Method in class com.samskivert.swing.event.PopupMenuAdapter
-
- popupMenuWillBecomeInvisible(PopupMenuEvent) - Method in class com.samskivert.swing.event.PopupMenuAdapter
-
- popupMenuWillBecomeVisible(PopupMenuEvent) - Method in class com.samskivert.swing.event.PopupMenuAdapter
-
- positionRect(Rectangle, Rectangle, Collection<? extends Shape>) - Static method in class com.samskivert.swing.util.SwingUtil
-
Position the specified rectangle as closely as possible to its current position, but make
sure it is within the specified bounds and that it does not overlap any of the Shapes
contained in the avoid list.
- postAction(ActionEvent) - Static method in class com.samskivert.swing.Controller
-
Posts the specified action to the nearest controller in scope.
- postAction(Component, String) - Static method in class com.samskivert.swing.Controller
-
- postAction(Component, String, Object) - Static method in class com.samskivert.swing.Controller
-
- postFailure(Exception) - Method in class com.samskivert.util.ServiceWaiter
-
Marks the request as failed.
- PostgreSQLLiaison - Class in com.samskivert.jdbc
-
A database liaison for the MySQL database.
- PostgreSQLLiaison() - Constructor for class com.samskivert.jdbc.PostgreSQLLiaison
-
- postRunnable(Runnable) - Method in class com.samskivert.util.BasicRunQueue
-
- postRunnable(Runnable) - Method in class com.samskivert.util.Invoker
-
- postRunnable(Runnable) - Method in interface com.samskivert.util.RunQueue
-
Post the specified Runnable to be run on the RunQueue.
- postSuccess(T) - Method in class com.samskivert.util.ServiceWaiter
-
Marks the request as successful and posts the supplied response argument for perusal by the
caller.
- postUnit(Invoker.Unit) - Method in class com.samskivert.util.Invoker
-
Posts a unit to this invoker for subsequent invocation on the invoker's thread.
- predicate - Variable in class com.samskivert.swing.RadialMenuItem
-
Used to determine whether or not this menu item should be included in a menu and whether or
not it should be enabled.
- Predicate<T> - Class in com.samskivert.util
-
Arbitrates membership.
- Predicate() - Constructor for class com.samskivert.util.Predicate
-
- Predicate.And<T> - Class in com.samskivert.util
-
Includes an object if and only if all the predicates with which it
was constructed also include the object.
- Predicate.InstanceOf<T> - Class in com.samskivert.util
-
A simple predicate that includes an object if it is an instance
of the specified class.
- Predicate.Not<T> - Class in com.samskivert.util
-
Negates any other predicate.
- Predicate.Or<T> - Class in com.samskivert.util
-
Includes an object if at least one of the predicates specified in the
constructor include the object.
- preferredLayoutSize(Container) - Method in class com.samskivert.swing.AbsoluteLayout
-
- preferredLayoutSize(Container) - Method in class com.samskivert.swing.GroupLayout
-
- PrefsConfig - Class in com.samskivert.util
-
Extends the
Config
mechanism to allow the modification of configuration values, which
are persisted using the Java preferences system.
- PrefsConfig(String) - Constructor for class com.samskivert.util.PrefsConfig
-
Constructs a new config object which will obtain configuration information from the
specified properties bundle.
- PrefsConfig(String, Properties) - Constructor for class com.samskivert.util.PrefsConfig
-
Constructs a config object which will obtain information from the supplied properties,
rooted at the specified path in the preferences hieriarchy.
- prepad(String, int) - Static method in class com.samskivert.util.StringUtil
-
Pads the supplied string to the requested string width by prepending spaces to the beginning
of the string.
- prepad(String, int, char) - Static method in class com.samskivert.util.StringUtil
-
Pads the supplied string to the requested string width by prepending the specified character
to the beginning of the string.
- prepend(T) - Method in class com.samskivert.util.Queue
-
- primitiveEquivalentOf(Class<?>) - Static method in class com.samskivert.util.ClassUtil
-
- primitiveIsAssignableFrom(Class<?>, Class<?>) - Static method in class com.samskivert.util.ClassUtil
-
Tells whether an instance of the primitive class represented by 'rhs' can be assigned to an
instance of the primitive class represented by 'lhs'.
- print(boolean) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(char) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(int) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(long) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(float) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(double) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(char[]) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(String) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- print(Object) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println() - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(boolean) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(char) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(int) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(long) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(float) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(double) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(char[]) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(String) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- println(Object) - Method in class com.samskivert.io.ExtensiblePrintStream
-
- process(ResultSet) - Method in interface com.samskivert.jdbc.JDBCUtil.BatchProcessor
-
Called for each row returned during our batch query.
- ProcessLogger - Class in com.samskivert.util
-
Reads the output from a process and copies any output to a supplied Logger.
- ProcessLogger() - Constructor for class com.samskivert.util.ProcessLogger
-
- PropertiesUtil - Class in com.samskivert.util
-
Utility functions related to properties objects.
- PropertiesUtil() - Constructor for class com.samskivert.util.PropertiesUtil
-
- propertyChange(PropertyChangeEvent) - Method in class com.samskivert.swing.RuntimeAdjust.Action
-
- propertyChange(PropertyChangeEvent) - Method in class com.samskivert.swing.RuntimeAdjust.BooleanAdjust
-
- propertyChange(PropertyChangeEvent) - Method in class com.samskivert.swing.RuntimeAdjust.EnumAdjust
-
- propertyChange(PropertyChangeEvent) - Method in class com.samskivert.swing.RuntimeAdjust.FileAdjust
-
- propertyChange(PropertyChangeEvent) - Method in class com.samskivert.swing.RuntimeAdjust.IntAdjust
-
- ProximityTracker - Class in com.samskivert.swing.util
-
A mechanism for registering a set of objects with x and y screen
coordinates and then efficiently determining which of those objects is
closest to a given screen coordinate.
- ProximityTracker() - Constructor for class com.samskivert.swing.util.ProximityTracker
-
Creates a proximity tracker with the default initial capacity.
- ProximityTracker(int) - Constructor for class com.samskivert.swing.util.ProximityTracker
-
Creates a proximity tracker with the specified initial capacity.
- prune() - Method in class com.samskivert.util.WeakObserverList
-
Removes all garbage-collected observers from the list.
- pruneSessions() - Method in class com.samskivert.servlet.user.UserRepository
-
Prunes any expired sessions from the sessions table.
- put(int, Object) - Method in class com.samskivert.util.CheapIntMap
-
Inserts the specified value into the map.
- put(K, Integer) - Method in class com.samskivert.util.CountMap
-
- put(Integer, V) - Method in class com.samskivert.util.HashIntMap
-
- put(int, V) - Method in class com.samskivert.util.HashIntMap
-
- put(int, int) - Method in class com.samskivert.util.IntIntMap
-
Adds the supplied key/value mapping.
- put(int, V) - Method in interface com.samskivert.util.IntMap
-
Associates the specified value with the specified key in this map.
- put(K, V) - Method in class com.samskivert.util.LRUHashMap
-
- put(K, V) - Method in class com.samskivert.util.SoftCache
-
Maps the specified key to the specified value.
- put(String, int) - Method in class com.samskivert.velocity.InvocationContext
-
A convenience method for putting an int value into the context.
- put(String, boolean) - Method in class com.samskivert.velocity.InvocationContext
-
A convenience method for putting a boolean value into the context.
- putAll(M, Iterable<? extends Map<? extends K, ? extends V>>) - Static method in class com.samskivert.util.CollectionUtil
-
Folds all the specified values into the supplied map and returns it.
- putAll(IntMap<V>) - Method in class com.samskivert.util.HashIntMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class com.samskivert.util.LRUHashMap
-
- putAllParameters() - Method in class com.samskivert.velocity.InvocationContext
-
Deprecated.
- RadialLabelSausage - Class in com.samskivert.swing
-
Specializes the label sausage to suit the needs of items placed within
a radial menu.
- RadialLabelSausage(String, Icon) - Constructor for class com.samskivert.swing.RadialLabelSausage
-
Constructs a radial label sausage.
- RadialMenu - Class in com.samskivert.swing
-
Provides a radial menu with iconic menu items that expand to include textual descriptions when
moused over.
- RadialMenu() - Constructor for class com.samskivert.swing.RadialMenu
-
Constructs a radial menu.
- RadialMenu.Host - Interface in com.samskivert.swing
-
The interface used to communicate back to the component that hosts this menu.
- RadialMenu.IconPredicate - Interface in com.samskivert.swing
-
An additional interface that can be implemented by the predicate to display extra status.
- RadialMenu.Predicate - Interface in com.samskivert.swing
-
Used to determine at the time that a menu is shown, whether its items should be included
and/or enabled.
- RadialMenuItem - Class in com.samskivert.swing
-
Used to track info for each menu item in a
RadialMenu
.
- RadialMenuItem(String, String) - Constructor for class com.samskivert.swing.RadialMenuItem
-
Constructs a radial menu item with the specified command and label.
- RadialMenuItem(String, String, Icon) - Constructor for class com.samskivert.swing.RadialMenuItem
-
Constructs a radial menu item with the specified command, label and icon.
- RadialMenuItem(String, String, Icon, RadialMenu.Predicate) - Constructor for class com.samskivert.swing.RadialMenuItem
-
Constructs a radial menu item with the specified command, label and icon.
- radio(String, String) - Method in class com.samskivert.velocity.FormTool
-
Creates a radio button with the specified name and value.
- radio(String, String, String) - Method in class com.samskivert.velocity.FormTool
-
Creates a radio button with the specified name and value.
- RAND - Static variable in class com.samskivert.util.Randoms
-
A default Randoms that is thread-safe and can be safely shared by any caller.
- rand - Static variable in class com.samskivert.util.RandomUtil
-
The random number generator used by the methods in this class.
- Randoms - Class in com.samskivert.util
-
Provides utility routines to simplify obtaining randomized values.
- Randoms.Weigher<T> - Interface in com.samskivert.util
-
An interface for weighing pickable elements.
- RandomUtil - Class in com.samskivert.util
-
Provides miscellaneous utility routines to simplify obtaining useful random number values and to
centralize seeding and proper care and feeding of the pseudo-random number generator.
- RandomUtil() - Constructor for class com.samskivert.util.RandomUtil
-
- read(String, String) - Method in class com.samskivert.net.cddb.CDDB
-
Requests the detail information for a particular disc in a particular category from the CDDB
server.
- realname - Variable in class com.samskivert.servlet.user.User
-
The user's real name (first, last and whatever else they opt to provide).
- RecentList - Class in com.samskivert.util
-
An array list that maintains a list of the N most recent entries added
to it.
- RecentList(int) - Constructor for class com.samskivert.util.RecentList
-
Constructs a recent list that keeps the specified number of most
recently added objects.
- reconstructURL(HttpServletRequest) - Static method in class com.samskivert.servlet.util.RequestUtils
-
Reconstructs the request URL including query parameters.
- recursiveClean(File) - Static method in class com.samskivert.util.FileUtil
-
Recursively deletes all of the files and directories in the
supplied directory, but not the directory itself.
- recursiveDelete(File) - Static method in class com.samskivert.util.FileUtil
-
Recursively delete the specified directory and all files and
directories underneath it.
- RedirectException - Exception in com.samskivert.servlet
-
A redirect exception is thrown by servlet services when they require
that the user be redirected to a different URL rather than continue
processing this request.
- RedirectException(String) - Constructor for exception com.samskivert.servlet.RedirectException
-
- reduceLeft(Folds.F<A, A>, Iterable<? extends A>) - Static method in class com.samskivert.util.Folds
-
Reduces the supplied values using the supplied function with a left fold.
- refresh(JComponent) - Static method in class com.samskivert.swing.util.SwingUtil
-
- refreshRate - Variable in class com.samskivert.util.SystemInfo
-
The video display refresh rate in kHz; see
DisplayMode
.
- refreshSession(String, int) - Method in class com.samskivert.servlet.user.UserManager
-
Validates that the supplied session key is still valid and if so, refreshes it for the
specified number of days.
- refreshSession(String, int) - Method in class com.samskivert.servlet.user.UserRepository
-
Validates that the supplied session key is still valid and if so, refreshes it for the
specified number of days.
- register(SignalUtil.Number, SignalUtil.Handler) - Static method in class com.samskivert.util.SignalUtil
-
- registerHook(int, int, DebugChords.Hook) - Static method in class com.samskivert.util.DebugChords
-
Registers the supplied debug hook to be invoked when the specified
key combination is depressed.
- registerSession(User, int) - Method in class com.samskivert.servlet.user.UserRepository
-
Creates a new session for the specified user and returns the randomly generated session
identifier for that session.
- rehostLocation(HttpServletRequest, String) - Static method in class com.samskivert.servlet.util.RequestUtils
-
Recreates the URL used to make the supplied request, replacing the
server part of the URL with the supplied server name.
- reinit(int, long) - Method in class com.samskivert.util.Throttle
-
Updates the number of operations for this throttle to a new maximum, retaining the current
history of operations if the limit is being increased and truncating the oldest operations
if the limit is decreased.
- release() - Method in class com.samskivert.swing.util.MouseHijacker
-
Release the component from the hijacking: reenable all of its
previous mouse listeners, and return the component for convenience.
- releaseConnection(String, boolean, Connection) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Releases a database connection when it is no longer needed by the repository.
- releaseConnection(String, boolean, Connection) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- releaseConnection(String, boolean, Connection) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- releaseTxConnection(String, Connection) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
- releaseTxConnection(String, Connection) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- releaseTxConnection(String, Connection) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- remove(int) - Method in class com.samskivert.swing.SafeLayeredPane
-
- remove() - Method in class com.samskivert.util.AbstractInterator
-
- remove(int[]) - Method in class com.samskivert.util.AbstractIntSet
-
Removes all values in the supplied array from the set.
- remove(int) - Method in class com.samskivert.util.AbstractIntSet
-
- remove(Object) - Method in class com.samskivert.util.AbstractIntSet
-
- remove(int) - Method in class com.samskivert.util.ArrayIntSet
-
- remove(Object) - Method in class com.samskivert.util.BaseArrayList
-
- remove(int) - Method in class com.samskivert.util.BaseArrayList
-
- remove(int) - Method in class com.samskivert.util.CheapIntMap
-
Removes the mapping associated with the specified key.
- remove(int[], int) - Static method in class com.samskivert.util.CompactIntListUtil
-
Removes the first value that is equal to the supplied value.
- remove(Object) - Method in class com.samskivert.util.CountMap
-
- remove(T) - Method in class com.samskivert.util.DependencyGraph
-
Removes an element and its dependencies from the graph.
- remove(Object) - Method in class com.samskivert.util.HashIntMap
-
- remove(int) - Method in class com.samskivert.util.HashIntMap
-
- remove(int) - Method in class com.samskivert.util.HashIntSet
-
- remove(int) - Method in class com.samskivert.util.IntIntMap
-
Removes the value mapped for the specified key.
- remove(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Removes the first value that is equal to the supplied value.
- remove(int) - Method in interface com.samskivert.util.IntMap
-
Removes the mapping for this key from this map if present.
- remove(int) - Method in interface com.samskivert.util.IntSet
-
Removes the specified element from this set if it is present
(optional operation).
- remove(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Removes the first element that is functionally equal to the
supplied element (element.equals(list[idx])
).
- remove(Object[], int) - Static method in class com.samskivert.util.ListUtil
-
Removes the element at the specified index.
- remove(Object) - Method in class com.samskivert.util.LRUHashMap
-
- remove(T) - Method in class com.samskivert.util.ObserverList
-
Removes the specified observer from the list.
- remove(String) - Method in class com.samskivert.util.PrefsConfig
-
Remove any set value for the specified preference.
- remove(K) - Method in class com.samskivert.util.SoftCache
-
Removes the specified key from the map.
- remove(T) - Method in class com.samskivert.util.WeakObserverList
-
- removeActionListener(ActionListener) - Method in class com.samskivert.swing.ComboButtonBox
-
Removes a listener from the list.
- removeActionListener(ActionListener) - Method in class com.samskivert.swing.ObjectEditorTable
-
Remove the specified action listener.
- removeAll(Collection<?>) - Method in class com.samskivert.util.AbstractIntSet
-
- removeAt(int[], int) - Static method in class com.samskivert.util.CompactIntListUtil
-
Removes the value at the specified index.
- removeAt(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Removes the value at the specified index.
- removeAvailableElement() - Method in class com.samskivert.util.DependencyGraph
-
Removes and returns an element which is available, meaning not dependent upon any other
still in the graph.
- removeComponent(Lifecycle.BaseComponent) - Method in class com.samskivert.util.Lifecycle
-
Removes a component from the lifecycle.
- removeDatum(Object) - Method in class com.samskivert.swing.ObjectEditorTable
-
Remove the specified element from the set of data.
- removeDatum(int) - Method in class com.samskivert.swing.ObjectEditorTable
-
Remove the specified row.
- removedFromMap(LRUHashMap<K, V>, V) - Method in interface com.samskivert.util.LRUHashMap.RemovalObserver
-
Informs the observer that this item was removed from the map.
- removeDragSource(JComponent) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Remove the specified component as a drag source.
- removeDropTarget(JComponent) - Static method in class com.samskivert.swing.dnd.DnDManager
-
Remove the specified component as a drop target.
- removeLayoutComponent(Component) - Method in class com.samskivert.swing.AbsoluteLayout
-
- removeLayoutComponent(Component) - Method in class com.samskivert.swing.GroupLayout
-
- removeMenuItem(RadialMenuItem) - Method in class com.samskivert.swing.RadialMenu
-
Removes the specified menu item from this menu.
- removeMenuItem(String) - Method in class com.samskivert.swing.RadialMenu
-
Removes the first menu item that matches the specified command from this menu.
- removeNotify() - Method in class com.samskivert.swing.ScrollBox
-
- removeObject(Object) - Method in class com.samskivert.swing.util.ProximityTracker
-
Removes from the tracker the object that is referentially equal to
(o1 == object
) the specified object.
- removeObjectEquals(Object) - Method in class com.samskivert.swing.util.ProximityTracker
-
Removes from the tracker the object that is equal to
(o1.equals(object)
) the specified object.
- removeOrElse(int, int) - Method in class com.samskivert.util.IntIntMap
-
Removes the value mapped for the specified key.
- removePropertyChangeListener(PropertyChangeListener) - Method in class com.samskivert.util.PrefsConfig
-
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.samskivert.util.PrefsConfig
-
- removeRef(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Removes the first element that is referentially equal to the
supplied element (list[idx] == element
).
- removeUpdate(DocumentEvent) - Method in class com.samskivert.swing.event.DocumentAdapter
-
- renameColumn(Connection, String, String, String, ColumnDefinition) - Method in class com.samskivert.jdbc.BaseLiaison
-
- renameColumn(Connection, String, String, String, ColumnDefinition) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Alter the name, but not the definition, of a given column on a given table.
- renameColumn(Connection, String, String, String, ColumnDefinition) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- render(Graphics2D, float, float) - Method in class com.samskivert.swing.Label
-
Renders the layout at the specified position in the supplied graphics context.
- render(Graphics2D) - Method in class com.samskivert.swing.RadialMenu
-
Renders the current configuration of this menu.
- render(Component, RadialMenu, Graphics2D, int, int) - Method in class com.samskivert.swing.RadialMenuItem
-
Renders this menu item at the specified location.
- render(InternalContextAdapter, Writer, Node) - Method in class com.samskivert.velocity.ImportDirective
-
Loads and renders the imported template.
- repaintRect(int, int, int, int) - Method in interface com.samskivert.swing.RadialMenu.Host
-
Requests that the appropriate region of the host be repainted.
- RepeatCallTracker - Class in com.samskivert.util
-
A class used to debug situations where a method that should be called
once and only once is being called again later and one wishes to report
the stack trace of the first and current calling on any repeat
callings.
- RepeatCallTracker() - Constructor for class com.samskivert.util.RepeatCallTracker
-
- RepeatRecordFilter - Class in com.samskivert.util
-
Filters repeated log messages, emitting "Previous message repeated N times."
when a non-repeated message is eventually logged.
- RepeatRecordFilter(int) - Constructor for class com.samskivert.util.RepeatRecordFilter
-
- replace(String, String, String) - Static method in class com.samskivert.util.StringUtil
-
- ReplacedBy - Annotation Type in com.samskivert.annotation
-
An annotation for indicating that something has a preferred implementation elsewhere, without
going so far as to deprecate it.
- replaceFinalComponent(String, String) - Static method in class com.samskivert.net.PathUtil
-
Replaces the final component in the supplied path with the
specified new component.
- Repository - Class in com.samskivert.jdbc
-
The repository class provides basic functionality upon which to build
an interface to a repository of information stored in a database (a
table or set of tables) that is accessed via JDBC.
- Repository(ConnectionProvider) - Constructor for class com.samskivert.jdbc.Repository
-
Creates and initializes the repository.
- Repository.Operation<V> - Interface in com.samskivert.jdbc
-
Database operations should be encapsulated in instances of this
class and then provided to the repository for invocation.
- RepositoryListenerUnit<T> - Class in com.samskivert.jdbc
-
- RepositoryListenerUnit(ResultListener<T>) - Constructor for class com.samskivert.jdbc.RepositoryListenerUnit
-
Creates a repository listener unit that will report its results to the supplied result
listener.
- RepositoryListenerUnit(String, ResultListener<T>) - Constructor for class com.samskivert.jdbc.RepositoryListenerUnit
-
Creates a repository listener unit that will report its results to the supplied result
listener and report the supplied name in
Invoker.Unit.toString()
.
- RepositoryUnit - Class in com.samskivert.jdbc
-
A specialized invoker unit that does one or more database operations and then sends the results
back to the event processing thread.
- RepositoryUnit(String) - Constructor for class com.samskivert.jdbc.RepositoryUnit
-
- requestCompleted(T) - Method in class com.samskivert.swing.AWTResultListener
-
- requestCompleted(T) - Method in class com.samskivert.util.FailureListener
-
- requestCompleted(int) - Method in interface com.samskivert.util.IntResultListener
-
Called to communicate that the request succeeded and that the
result is available.
- requestCompleted(T) - Method in class com.samskivert.util.ResultHandler
-
- requestCompleted(T) - Method in class com.samskivert.util.ResultListener.NOOP
-
- requestCompleted(T) - Method in interface com.samskivert.util.ResultListener
-
Called to communicate that the request succeeded and that the
result is available.
- requestCompleted(T) - Method in class com.samskivert.util.ResultListenerList
-
Multiplex a requestCompleted response to all the ResultListeners in
this list.
- requestCompleted(T) - Method in class com.samskivert.util.ServiceWaiter
-
- requestFailed(Exception) - Method in class com.samskivert.swing.AWTResultListener
-
- requestFailed(Exception) - Method in class com.samskivert.util.ChainedResultListener
-
- requestFailed(Exception) - Method in class com.samskivert.util.ComplainingListener
-
- requestFailed(Exception) - Method in interface com.samskivert.util.IntResultListener
-
Called to communicate that the request failed and to provide the
reason for failure.
- requestFailed(Exception) - Method in class com.samskivert.util.ResultHandler
-
- requestFailed(Exception) - Method in class com.samskivert.util.ResultListener.NOOP
-
- requestFailed(Exception) - Method in interface com.samskivert.util.ResultListener
-
Called to communicate that the request failed and to provide the
reason for failure.
- requestFailed(Exception) - Method in class com.samskivert.util.ResultListenerList
-
Multiplex a requestFailed response to all the ResultListeners in
this list.
- requestFailed(Exception) - Method in class com.samskivert.util.ServiceWaiter
-
- RequestUtils - Class in com.samskivert.servlet.util
-
A repository of utility functions related to HTTP servlet stuff.
- RequestUtils() - Constructor for class com.samskivert.servlet.util.RequestUtils
-
- requireDateParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to a date.
- requireFloatParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to a float.
- requireIntParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to an integer.
- requireIntParameter(HttpServletRequest, String, String, ParameterUtil.ParameterValidator) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to an integer.
- requireIntParameter(HttpServletRequest, String, int, int, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and converts it to an integer.
- requireParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request.
- requireParameter(HttpServletRequest, String, String, int) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
Fetches the supplied parameter from the request and ensures that it is no longer than
maxLength.
- requireProperty(Properties, String) - Static method in class com.samskivert.util.PropertiesUtil
-
Returns the specified property from the supplied properties object.
- requireProperty(Properties, String, String) - Static method in class com.samskivert.util.PropertiesUtil
-
Returns the specified property from the supplied properties object.
- requireSQLDateParameter(HttpServletRequest, String, String) - Static method in class com.samskivert.servlet.util.ParameterUtil
-
- requireUser(HttpServletRequest) - Method in class com.samskivert.servlet.user.UserManager
-
Fetches the necessary authentication information from the http request and loads the user
identified by that information.
- reset() - Method in class com.samskivert.util.Multex
-
Resets this multex, setting all conditions to unsatisfied.
- reset() - Method in class com.samskivert.util.ServiceWaiter
-
Reset the service waiter so that it can be used again.
- reset(String, String) - Method in class com.samskivert.velocity.FormTool
-
Creates a reset form element.
- restoreAntiAliasing(Graphics2D, Object) - Static method in class com.samskivert.swing.util.SwingUtil
-
Restores anti-aliasing in the supplied graphics context to its original setting.
- restrictHTML(String) - Static method in class com.samskivert.servlet.util.HTMLUtil
-
Restrict all HTML from the specified String.
- restrictHTML(String, boolean, boolean, boolean) - Static method in class com.samskivert.servlet.util.HTMLUtil
-
Restrict HTML except for the specified tags.
- restrictHTML(String, String[]) - Static method in class com.samskivert.servlet.util.HTMLUtil
-
Restrict HTML from the specified string except for the specified
regular expressions.
- restrictHTML(String) - Static method in class com.samskivert.velocity.StringTool
-
Restrict all HTML from the specified String.
- resuffix(File, String, String) - Static method in class com.samskivert.util.FileUtil
-
Replaces ext
with the supplied new extention if the
supplied file path ends in ext
.
- ResultHandler<T> - Class in com.samskivert.util
-
- ResultHandler() - Constructor for class com.samskivert.util.ResultHandler
-
- ResultListener<T> - Interface in com.samskivert.util
-
Provides access to a future result, or the exception associated with
failure.
- ResultListener.NOOP<T> - Class in com.samskivert.util
-
A result listener that does nothing for cases where that is an
appropriate behavior.
- ResultListenerList<T> - Class in com.samskivert.util
-
Multiplexes ResultListener responses to multiple ResultListeners.
- ResultListenerList() - Constructor for class com.samskivert.util.ResultListenerList
-
Create a ResultListenerList with the FAST_UNSAFE notification policy.
- ResultListenerList(ObserverList.Policy) - Constructor for class com.samskivert.util.ResultListenerList
-
Create a ResultListenerList with your own notifyPolicy.
- resultReceived() - Method in interface com.samskivert.util.SerialExecutor.ExecutorTask
-
After the task has been executed, this will be called
on the ResultReceiver thread to post-process the results of the
task.
- ResultUnit<T> - Class in com.samskivert.jdbc
-
A RepositoryUnit that returns a single result from its database operations and operates on that.
- ResultUnit(String) - Constructor for class com.samskivert.jdbc.ResultUnit
-
- retainAll(Collection<?>) - Method in class com.samskivert.util.AbstractIntSet
-
- retainAll(Collection<?>) - Method in class com.samskivert.util.ArrayIntSet
-
- RetryableTask - Class in com.samskivert.swing.util
-
A retryable task is one that is allowed to fail at which point a dialog
is presented to the user asking them if they would like to retry the
task.
- RetryableTask() - Constructor for class com.samskivert.swing.util.RetryableTask
-
- retype(Class<V>) - Method in class com.samskivert.util.FailureListener
-
Recasts us to look like we're of a different type.
- reverse(byte[]) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses the elements in the given array.
- reverse(byte[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses a subset of elements within the specified array.
- reverse(int[]) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses the elements in the given array.
- reverse(int[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses a subset of elements within the specified array.
- reverse(Object[]) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses the elements in the given array.
- reverse(Object[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Reverses a subset of elements within the specified array.
- REVERSE - Static variable in class com.samskivert.util.TermUtil
-
VT100 formatting code to enabled reverse video text.
- RIGHT - Static variable in class com.samskivert.swing.GroupLayout
-
A justification constant.
- right - Variable in class com.samskivert.util.IntTuple
-
The right int.
- right - Variable in class com.samskivert.util.Tuple
-
The right object.
- roll(int, boolean) - Method in class com.samskivert.util.Calendars.Builder
-
- rotate(double) - Method in class com.samskivert.swing.TGraphics2D
-
- rotate(double, double, double) - Method in class com.samskivert.swing.TGraphics2D
-
- rsort() - Method in class com.samskivert.util.ComparableArrayList
-
Sorts the elements in this list using the quick sort algorithm
according to their reverse natural ordering.
- rsort(T[], Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sorts the supplied array of objects from greatest to least, using the supplied comparator.
- rsort(T[]) - Static method in class com.samskivert.util.QuickSort
-
Sorts the supplied array of comparable objects from greatest to least.
- rsort(T[], int, int, Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sorts the specified subset of the supplied array from greatest to least, using the supplied
comparator.
- rsort(T[], int, int) - Static method in class com.samskivert.util.QuickSort
-
Sorts the specified subset of the supplied array of comparables from greatest to least,
using the supplied comparator.
- rsort(List<T>) - Static method in class com.samskivert.util.QuickSort
-
Sort the elements in the specified List according to their reverse natural order.
- rsort(List<T>, Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sort the elements in the specified List according to the reverse ordering imposed by the
specified Comparator.
- run() - Method in interface com.samskivert.jdbc.TransitionRepository.Transition
-
Do the transition.
- run() - Method in class com.samskivert.util.Invoker.Unit
-
- run() - Method in class com.samskivert.util.LoopingThread
-
Processes the loop.
- RUN_DIRECT - Static variable in class com.samskivert.util.Interval
-
A marker
RunQueue
to supply when you intend for your interval to run directly on
the interval timer thread, rather than having the interval processed on a separate thread.
- RunAnywhere - Class in com.samskivert.util
-
Write once, run anywhere. Well, at least that's what it
said in the brochures.
- RunAnywhere() - Constructor for class com.samskivert.util.RunAnywhere
-
- Runnables - Class in com.samskivert.util
-
Runnable related utility methods.
- RunQueue - Interface in com.samskivert.util
-
An interface for a service that queues up execution of Runnables.
- RunQueue.AsExecutor - Class in com.samskivert.util
-
Wee helper class to adapt a RunQueue into an Executor.
- RuntimeAdjust - Class in com.samskivert.swing
-
Provides a service where named variables can be registered as adjustable by the developer at
runtime.
- RuntimeAdjust() - Constructor for class com.samskivert.swing.RuntimeAdjust
-
- RuntimeAdjust.Action - Class in com.samskivert.swing
-
Provides the ability to click a button and fire an action.
- RuntimeAdjust.BooleanAdjust - Class in com.samskivert.swing
-
Provides runtime adjustable boolean variables.
- RuntimeAdjust.EnumAdjust - Class in com.samskivert.swing
-
Provides runtime adjustable enumerated variables.
- RuntimeAdjust.FileAdjust - Class in com.samskivert.swing
-
Provides runtime adjustable file path variables.
- RuntimeAdjust.IntAdjust - Class in com.samskivert.swing
-
Provides runtime adjustable integer variables.
- SAFE_IN_ORDER_NOTIFY - Static variable in class com.samskivert.util.ObserverList
-
- safeJigger(String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Utility method to jigger the specified string so that it's safe to use in a regular
Statement.
- SafeLayeredPane - Class in com.samskivert.swing
-
A JLayeredPane that removes all popups when a non-popup component is removed.
- SafeLayeredPane() - Constructor for class com.samskivert.swing.SafeLayeredPane
-
- safeToString(Object) - Static method in class com.samskivert.util.StringUtil
-
Attempts to generate a string representation of the object using
Object.toString()
,
but catches any exceptions that are thrown and reports them in the returned string
instead.
- sanitize(String, StringUtil.CharacterValidator) - Static method in class com.samskivert.util.StringUtil
-
Sanitize the specified String so that only valid characters are in it.
- sanitize(String, String) - Static method in class com.samskivert.util.StringUtil
-
Sanitize the specified String such that each character must match against the regex
specified.
- satisfied(int) - Method in class com.samskivert.util.Multex
-
Indicates that the specified condition has been satisfied.
- scale(double, double) - Method in class com.samskivert.swing.TGraphics2D
-
- ScaledIcon - Class in com.samskivert.swing
-
Draws an icon with a specified scale.
- ScaledIcon(Icon) - Constructor for class com.samskivert.swing.ScaledIcon
-
Construct an icon that is drawn at 10% normal.
- ScaledIcon(Icon, float) - Constructor for class com.samskivert.swing.ScaledIcon
-
Construct a scaled icon that is drawn at the specified scale.
- ScaledIcon(Icon, int, int) - Constructor for class com.samskivert.swing.ScaledIcon
-
Construct a scaled icon restricted to its larger dimension.
- schedule(Date) - Method in class com.samskivert.util.Interval
-
Schedules this interval to execute once at when
.
- schedule(long) - Method in class com.samskivert.util.Interval
-
Schedule the interval to execute once, after the specified delay.
- schedule(long, boolean) - Method in class com.samskivert.util.Interval
-
Schedule the interval to execute repeatedly with fixed-rate scheduling between repeats,
with the same delay.
- schedule(long, long) - Method in class com.samskivert.util.Interval
-
Schedule the interval to execute repeatedly with the specified initial delay and repeat
delay with fixed-rate scheduling between repeats.
- schedule(long, long, boolean) - Method in class com.samskivert.util.Interval
-
Schedule the interval to execute repeatedly with the specified initial delay and repeat
delay.
- ScrollablePanel - Class in com.samskivert.swing
-
A
JPanel
extension that implements the
Scrollable
interface, instructing it to scroll partially obscured components into
view if scrolling is done in the direction of a partially obscured
component.
- ScrollablePanel(LayoutManager, boolean) - Constructor for class com.samskivert.swing.ScrollablePanel
-
Pass through constructor.
- ScrollablePanel(LayoutManager) - Constructor for class com.samskivert.swing.ScrollablePanel
-
Pass through constructor.
- ScrollablePanel(boolean) - Constructor for class com.samskivert.swing.ScrollablePanel
-
Pass through constructor.
- ScrollablePanel() - Constructor for class com.samskivert.swing.ScrollablePanel
-
Pass through constructor.
- ScrollBox - Class in com.samskivert.swing
-
A non-annoying way to do two-dimensional scrolling.
- ScrollBox(JScrollPane) - Constructor for class com.samskivert.swing.ScrollBox
-
Construct the box to work on the specified scrollpane.
- ScrollBox(BoundedRangeModel, BoundedRangeModel) - Constructor for class com.samskivert.swing.ScrollBox
-
Construct with the specified range models.
- select(Connection, String) - Method in class com.samskivert.jdbc.jora.Table
-
Select records from database table according to search condition
- select(Connection, String, String) - Method in class com.samskivert.jdbc.jora.Table
-
Select records from database table according to search condition
including the specified (comma separated) extra tables into the SELECT
clause to facilitate a join in determining the key.
- selectRandomSubset(Collection<T>, int) - Static method in class com.samskivert.util.CollectionUtil
-
Returns a list containing a random selection of elements from the
specified collection.
- SerialExecutor - Class in com.samskivert.util
-
Executes tasks serially, but each one on a separate thread.
- SerialExecutor(Executor) - Constructor for class com.samskivert.util.SerialExecutor
-
Construct the SerialExecutor, using a 30-second default timeout for posted Runnables.
- SerialExecutor(Executor, long) - Constructor for class com.samskivert.util.SerialExecutor
-
Construct the SerialExecutor, using the specified timeout for posted Runnables.
- SerialExecutor.ExecutorTask - Interface in com.samskivert.util
-
A task to run in serial on the executor.
- SERVER_ERROR - Static variable in class com.samskivert.net.cddb.CDDBProtocol
-
- ServiceUnavailableException - Exception in com.samskivert.util
-
The service unavailable exception can be thrown by any service that
relies on some other services which is currently not available.
- ServiceUnavailableException(String) - Constructor for exception com.samskivert.util.ServiceUnavailableException
-
Constructs a service unavailable exception with the specified error
message.
- ServiceUnavailableException(String, Exception) - Constructor for exception com.samskivert.util.ServiceUnavailableException
-
Constructs a service unavailable exception with the specified error
message and the chained causing event.
- ServiceUnavailableException(Exception) - Constructor for exception com.samskivert.util.ServiceUnavailableException
-
Constructs a service unavailable exception with the specified
chained causing event.
- ServiceWaiter<T> - Class in com.samskivert.servlet.util
-
Extends the basic ServiceWaiter to be useful for servlets.
- ServiceWaiter() - Constructor for class com.samskivert.servlet.util.ServiceWaiter
-
Construct a ServiceWaiter with the default (30 second) timeout.
- ServiceWaiter(int) - Constructor for class com.samskivert.servlet.util.ServiceWaiter
-
Construct a ServiceWaiter with the specified timeout.
- ServiceWaiter<T> - Class in com.samskivert.util
-
A handy base class for issuing server-side service requests and awaiting their responses from
within a servlet.
- ServiceWaiter() - Constructor for class com.samskivert.util.ServiceWaiter
-
Construct a ServiceWaiter with the default (30 second) timeout.
- ServiceWaiter(int) - Constructor for class com.samskivert.util.ServiceWaiter
-
Construct a ServiceWaiter with the specified timeout.
- ServiceWaiter.TimeoutException - Exception in com.samskivert.util
-
- ServletContextLogger - Class in com.samskivert.velocity
-
Routes Velocity log messages to the servlet context.
- ServletContextLogger() - Constructor for class com.samskivert.velocity.ServletContextLogger
-
Constructs a servlet context logger that will obtain its servlet
context reference via RuntimeServices.getApplicationAttribute(java.lang.Object)
when initialized.
- ServletContextLogger(ServletContext) - Constructor for class com.samskivert.velocity.ServletContextLogger
-
Constructs a servlet context logger with the supplied servlet
context.
- ServletContextResourceLoader - Class in com.samskivert.velocity
-
A Velocity resource loader that loads resources from the servlet context.
- ServletContextResourceLoader() - Constructor for class com.samskivert.velocity.ServletContextResourceLoader
-
- ServletContextResourceLoader(ServletContext) - Constructor for class com.samskivert.velocity.ServletContextResourceLoader
-
When used with the
SiteResourceManager
we are constructed with our servlet context
reference and not later initialized.
- ServletContextResourceManager - Class in com.samskivert.velocity
-
A resource manager implementation for Velocity that loads resources from the servlet context.
- ServletContextResourceManager() - Constructor for class com.samskivert.velocity.ServletContextResourceManager
-
- set(int, E) - Method in class com.samskivert.util.BaseArrayList
-
- set(int, int) - Method in class com.samskivert.util.Calendars.Builder
-
- setActionArgument(Object) - Method in class com.samskivert.swing.CommandButton
-
Set the argument of the CommandEvents which we generate.
- setActionCommand(String) - Method in class com.samskivert.swing.ComboButtonBox
-
Specifies the command that will be used when generating action
events (which is done when the selection changes).
- setActivationArgument(Object) - Method in class com.samskivert.swing.RadialMenu
-
Sets the argument that will be defaultly posted along with commands.
- setActive(boolean) - Method in class com.samskivert.swing.RadialLabelSausage
-
Sets whether the label is to be rendered as an active label.
- setAlignment(int) - Method in class com.samskivert.swing.Label
-
- setAlignment(int) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the alignment of the text displayed by this label.
- setAlternateColor(Color) - Method in class com.samskivert.swing.Label
-
Instructs the label to render the text with the specified alternate color when
rendering.
- setAlternateColor(Color) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the alternate color used to display the label text.
- setAntiAliased(boolean) - Method in class com.samskivert.swing.MultiLineLabel
-
- setArmed(boolean) - Method in class com.samskivert.swing.event.MouseArmingAdapter
-
Called during drags to let us know if the component should be drawn
armed or not.
- setBackground(Color) - Method in class com.samskivert.swing.TGraphics2D
-
- setBounds(int, int, int, int) - Method in class com.samskivert.swing.ScrollBox
-
- setCanFlush(boolean) - Method in class com.samskivert.util.LRUHashMap
-
Used to temporarily disable flushing elements from the
cache.
- setCenterIcon(Icon) - Method in class com.samskivert.swing.RadialMenu
-
Sets the optional centerpiece icon to be displayed in the center of the menu.
- setCheckDuplicates(boolean) - Method in class com.samskivert.util.ObserverList
-
Configures this observer list to check duplicates when adding observers, or not.
- setCheckDuplicates(boolean) - Method in class com.samskivert.util.WeakObserverList
-
- setClip(int, int, int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- setClip(Shape) - Method in class com.samskivert.swing.TGraphics2D
-
- setCollapsed(boolean) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set the collapsion state.
- setColor(Color) - Method in class com.samskivert.swing.TGraphics2D
-
- setColumnComparator(Class<?>, Comparator<Object>) - Method in class com.samskivert.swing.TableSorter
-
- setComposite(Composite) - Method in class com.samskivert.swing.TGraphics2D
-
- setContent(JInternalDialog, JPanel) - Static method in class com.samskivert.swing.util.DialogUtil
-
Sets the content panel of the supplied internal dialog.
- setControlledPanel(JComponent) - Method in class com.samskivert.swing.Controller
-
Lets this controller know about the panel that it is controlling.
- setCount(int) - Method in interface com.samskivert.util.CountHashMap.Entry
-
Set the value of this entry as an int.
- setCount(K, int) - Method in class com.samskivert.util.CountHashMap
-
Set the count for the specified key.
- setData(Object[]) - Method in class com.samskivert.swing.ObjectEditorTable
-
Set the data to be viewed or edited.
- setData(Collection<?>) - Method in class com.samskivert.swing.ObjectEditorTable
-
Set the data to be viewed or edited.
- setData(Object) - Method in class com.samskivert.swing.ObjectEditorTable
-
Set this table to merely display / edit one lousy Object.
- setDefaultLongThreshold(long) - Static method in class com.samskivert.util.Invoker
-
Deprecated.
- setDocumentHelpers(JTextComponent, SwingUtil.DocumentValidator, SwingUtil.DocumentTransformer) - Static method in class com.samskivert.swing.util.SwingUtil
-
Set active Document helpers on the specified text component.
- setDocumentHelpers(Document, SwingUtil.DocumentValidator, SwingUtil.DocumentTransformer) - Static method in class com.samskivert.swing.util.SwingUtil
-
Set active Document helpers on the specified Document.
- setEmail(String) - Method in class com.samskivert.servlet.user.User
-
Updates the user's email address.
- setEnabled(boolean) - Method in class com.samskivert.swing.ComboButtonBox
-
- setEnabled(Container, boolean) - Static method in class com.samskivert.swing.util.SwingUtil
-
Enables (or disables) the specified component,
and all of its children. A simple
call to
Component.setEnabled(boolean)
does not propagate the enabled state to the children of
a component, which is senseless in our opinion, but was surely done for some arguably good
reason.
- setExecutePreCondition(SimpleRepository.PreCondition) - Static method in class com.samskivert.jdbc.SimpleRepository
-
Configures an operation that will be invoked prior to the execution of every database
operation to validate whether some pre-condition is met.
- setFactory(Logger.Factory) - Static method in class com.samskivert.util.Logger
-
Configures the logging factory be used by the logging system.
- SetFieldRule - Class in com.samskivert.xml
-
Sets a field in the object on the top of the stack with a value parsed
from the body of an element.
- SetFieldRule(String) - Constructor for class com.samskivert.xml.SetFieldRule
-
Constructs a set field rule for the specified field.
- setFont(Font) - Method in class com.samskivert.swing.Label
-
Sets the font to be used by this label.
- setFont(Font) - Method in class com.samskivert.swing.SimpleSlider
-
- setFont(Font) - Method in class com.samskivert.swing.TGraphics2D
-
- setFrameIcons(Frame, List<? extends Image>) - Static method in class com.samskivert.swing.util.SwingUtil
-
Sets the frame's icons.
- setGap(int) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set the gap between the trigger button and the rest of the content.
- setGap(int) - Method in class com.samskivert.swing.GroupLayout
-
- setGoldenLayout() - Method in class com.samskivert.swing.Label
-
Instructs the label to attempt to achieve a balance between width and height that
approximates the golden ratio (width ~1.618 times height).
- setIntValue(int) - Method in interface com.samskivert.util.IntIntMap.IntIntEntry
-
- setJustification(GroupLayout.Justification) - Method in class com.samskivert.swing.GroupLayout
-
- setLabel(String) - Method in class com.samskivert.swing.SimpleSlider
-
Updates the label displayed to the left of the slider.
- setLayout(int, int) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the constraints to be used when laying out the label.
- setLevel(String, int) - Method in class com.samskivert.util.DefaultLogProvider
-
- setLevel(int) - Method in class com.samskivert.util.DefaultLogProvider
-
- setLevel(String, int) - Static method in class com.samskivert.util.Log
-
Sets the log level of the specified module to the specified
value.
- setLevel(int) - Static method in class com.samskivert.util.Log
-
Sets the log level for all modules to the specified level.
- setLevel(String, int) - Method in class com.samskivert.util.LoggingLogProvider
-
- setLevel(int) - Method in class com.samskivert.util.LoggingLogProvider
-
- setLevel(String, int) - Method in interface com.samskivert.util.LogProvider
-
Set the log level for the specified module to the specified
level.
- setLevel(int) - Method in interface com.samskivert.util.LogProvider
-
Set the log level for all modules to the specified level.
- setLogProvider(LogProvider) - Static method in class com.samskivert.util.Log
-
Instructs the logging services to use the specified log provider to
perform the actual logging.
- setLongThreshold(long) - Method in class com.samskivert.util.Invoker
-
Set the long threshold for this Invoker.
- setMaximum(int) - Method in class com.samskivert.swing.SimpleSlider
-
Sets the slider's maximum value.
- setMaxSize(int) - Method in class com.samskivert.util.LRUHashMap
-
Updates the cache's maximum size, flushing elements from the cache
if necessary.
- setMaxValue(int) - Method in class com.samskivert.swing.IntField
-
Change the current max value.
- setMinimum(int) - Method in class com.samskivert.swing.SimpleSlider
-
Sets the slider's minimum value.
- setMinValue(int) - Method in class com.samskivert.swing.IntField
-
Change the current min value.
- setModel(ComboBoxModel) - Method in class com.samskivert.swing.ComboButtonBox
-
Provides the button box with a data model which it will display.
- setModel(TableModel) - Method in class com.samskivert.swing.TableMap
-
- setModified(String) - Method in class com.samskivert.jdbc.jora.FieldMask
-
Marks the specified field as modified.
- SetNextFieldRule - Class in com.samskivert.xml
-
Like the SetNextRule
except that the object on the top of
the stack is placed into a field of the penultimate object.
- SetNextFieldRule(String) - Constructor for class com.samskivert.xml.SetNextFieldRule
-
Constructs a set field rule for the specified field.
- setOffAxisAlignment(int) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the off-axis alignment of the text displayed by this label.
- setOffAxisJustification(GroupLayout.Justification) - Method in class com.samskivert.swing.GroupLayout
-
- setOffAxisPolicy(GroupLayout.Policy) - Method in class com.samskivert.swing.GroupLayout
-
- setOpaque(JComponent, boolean) - Static method in class com.samskivert.swing.util.SwingUtil
-
Set the opacity on the specified component, and all of its children.
- setOrientation(int) - Method in class com.samskivert.swing.ComboButtonBox
-
- setPaint(Paint) - Method in class com.samskivert.swing.TGraphics2D
-
- setPaintMode() - Method in class com.samskivert.swing.TGraphics2D
-
- setPassword(String) - Method in class com.samskivert.servlet.user.User
-
Updates the user's password.
- setPassword(Password) - Method in class com.samskivert.servlet.user.User
-
Updates the user's password.
- setPolicy(GroupLayout.Policy) - Method in class com.samskivert.swing.GroupLayout
-
- setProfilingParameters(int, int) - Method in class com.samskivert.util.Invoker
-
Sets the parameters of the unit profiling histogram.
- SetPropertyFieldsRule - Class in com.samskivert.xml
-
Sets the fields in the object on the top of the stack from the attributes available in the
matched element.
- SetPropertyFieldsRule() - Constructor for class com.samskivert.xml.SetPropertyFieldsRule
-
Constructs a set property fields rule.
- SetPropertyFieldsRule(boolean) - Constructor for class com.samskivert.xml.SetPropertyFieldsRule
-
Constructs a set property fields rule.
- SetPropertyFieldsRule.FieldParser - Interface in com.samskivert.xml
-
Used to supplied custom code to parse a property.
- setRealName(String) - Method in class com.samskivert.servlet.user.User
-
Updates the user's real name.
- setRemovalObserver(LRUHashMap.RemovalObserver<K, V>) - Method in class com.samskivert.util.LRUHashMap
-
Configures this hash map with a removal observer.
- setRenderingHint(RenderingHints.Key, Object) - Method in class com.samskivert.swing.TGraphics2D
-
- setRenderingHints(Map<?, ?>) - Method in class com.samskivert.swing.TGraphics2D
-
- setRunQueue(RunQueue) - Method in class com.samskivert.util.Interval
-
- setSelectedIndex(int) - Method in class com.samskivert.swing.ComboButtonBox
-
Sets the index of the selected component.
- setSentinel(int) - Method in class com.samskivert.util.HashIntSet
-
Sets the sentinel value, which cannot itself be stored in the set because it is used
internally to represent an unused location.
- setSiteId(int) - Method in class com.samskivert.servlet.user.User
-
Updates the user's site id.
- setSortingStatus(int, int) - Method in class com.samskivert.swing.TableSorter
-
- setStroke(Stroke) - Method in class com.samskivert.swing.TGraphics2D
-
- setStyle(int) - Method in class com.samskivert.swing.Label
-
Sets the style of the text within the label to one of the styles defined in
LabelStyleConstants
.
- setStyle(int) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the text style used to render this label.
- setTableHeader(JTableHeader) - Method in class com.samskivert.swing.TableSorter
-
- setTableModel(TableModel) - Method in class com.samskivert.swing.TableSorter
-
- setTargetHeight(int) - Method in class com.samskivert.swing.Label
-
Sets the target height for this label.
- setTargetWidth(int) - Method in class com.samskivert.swing.Label
-
Sets the target width for this label.
- setText(String) - Method in class com.samskivert.swing.Label
-
Sets the text to be displayed by this label.
- setText(String) - Method in class com.samskivert.swing.MultiLineLabel
-
Sets the text displayed by this label.
- setTextColor(Color) - Method in class com.samskivert.swing.Label
-
Sets the color used to render the text.
- setTime(Date) - Method in class com.samskivert.util.Calendars.Builder
-
- setTime(long) - Method in class com.samskivert.util.Calendars.Builder
-
- setTimeout(int) - Method in class com.samskivert.net.cddb.CDDB
-
Specifies the number of milliseconds that the client should wait for a response from the
server before aborting.
- setTimeout(int) - Method in class com.samskivert.util.ServiceWaiter
-
Change the timeout being used for this ServiceWaiter after it has been constructed.
- setToggling(AbstractButton) - Static method in class com.samskivert.swing.util.ButtonUtil
-
Set the specified button such that it alternates between being selected and not whenever it
is pushed.
- setToInt(Set<E>) - Static method in class com.samskivert.util.ByteEnumUtil
-
Convert a Set of ByteEnums into an integer compactly representing the elements that are
included.
- setTracking(boolean) - Method in class com.samskivert.util.LRUHashMap
-
Turn performance tracking on/off.
- setTracksViewportHeight(boolean) - Method in class com.samskivert.swing.ScrollablePanel
-
Instructs this panel to not scroll in the vertical direction but to
set its viewport's vertical size when it is sized.
- setTracksViewportWidth(boolean) - Method in class com.samskivert.swing.ScrollablePanel
-
Instructs this panel to not scroll in the horizontal direction but
to set its viewport's horizontal size when it is sized.
- setTransform(AffineTransform) - Method in class com.samskivert.swing.TGraphics2D
-
- setTrigger(AbstractButton, Icon, Icon) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set the trigger button.
- setTriggerContainer(JComponent) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set a component which contains the trigger button.
- setTriggerContainer(JComponent, JPanel) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set a component which contains the trigger button.
- setTriggerContainer(JComponent, JPanel, boolean) - Method in class com.samskivert.swing.CollapsiblePanel
-
Set a component which contains the trigger button.
- setUnitScrollIncrement(int) - Method in class com.samskivert.swing.ScrollablePanel
-
Set the unit scroll increment.
- setUsername(Username) - Method in class com.samskivert.servlet.user.User
-
Updates the user's username.
- setUseXHTML(boolean) - Method in class com.samskivert.velocity.FormTool
-
Used to deactivate XHTML generation for "old skool" Java HTML viewer.
- setValue(int) - Method in class com.samskivert.swing.IntField
-
Set the text to the value specified.
- setValue(Object, Object, Field) - Method in class com.samskivert.swing.ObjectEditorTable.FieldInterpreter
-
Set the value of the specified field in the specified object.
- setValue(boolean) - Method in class com.samskivert.swing.RuntimeAdjust.BooleanAdjust
-
- setValue(String) - Method in class com.samskivert.swing.RuntimeAdjust.EnumAdjust
-
- setValue(String) - Method in class com.samskivert.swing.RuntimeAdjust.FileAdjust
-
- setValue(int) - Method in class com.samskivert.swing.RuntimeAdjust.IntAdjust
-
- setValue(int) - Method in class com.samskivert.swing.SimpleSlider
-
Sets the slider's current value.
- setValue(V) - Method in class com.samskivert.util.MapEntry
-
Deprecated.
- setValue(String, int) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, long) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, float) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, boolean) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, String) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, int[]) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, long[]) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, float[]) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValue(String, String[]) - Method in class com.samskivert.util.PrefsConfig
-
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.
- setValueAt(Object, int, int) - Method in class com.samskivert.swing.TableMap
-
- setValueAt(Object, int, int) - Method in class com.samskivert.swing.TableSorter
-
- setVisible(boolean) - Method in class com.samskivert.swing.LazyComponent
-
- setWarnNonFields(boolean) - Method in class com.samskivert.xml.SetPropertyFieldsRule
-
Configures this rule to warn or not when it skips properties for which there are no
associated object fields.
- setXORMode(Color) - Method in class com.samskivert.swing.TGraphics2D
-
- sha1hex(String) - Static method in class com.samskivert.util.StringUtil
-
Returns a hex string representing the SHA-1 encoded source.
- SHADOW - Static variable in interface com.samskivert.swing.LabelStyleConstants
-
Constant denoting shadow text style.
- ShapeIcon - Class in com.samskivert.swing
-
Fills and or draws the specified shape antialiased as an icon.
- ShapeIcon(Shape, Color, Color) - Constructor for class com.samskivert.swing.ShapeIcon
-
- shear(double, double) - Method in class com.samskivert.swing.TGraphics2D
-
- shortClassName(Object) - Static method in class com.samskivert.util.StringUtil
-
Returns the class name of the supplied object, truncated to one package prior to the actual
class name.
- shortClassName(Class<?>) - Static method in class com.samskivert.util.StringUtil
-
Returns the supplied class's name, truncated to one package prior to the actual class
name.
- shortClassName(String) - Static method in class com.samskivert.util.StringUtil
-
Returns the supplied class name truncated to one package prior to the actual class name.
- shortDate(Object) - Method in class com.samskivert.velocity.I18nTool
-
- ShortestPath - Class in com.samskivert.util
-
Implements Dijkstra's algorithm for finding the shortest path between two nodes in a weighted
graph.
- ShortestPath() - Constructor for class com.samskivert.util.ShortestPath
-
- ShortestPath.Graph<T,V> - Interface in com.samskivert.util
-
A caller must implement this interface to provide the information needed to define the
graph and compute the shortest path.
- showDialog() - Method in class com.samskivert.swing.JInternalDialog
-
Adds this dialog to its parent and shows it.
- shuffle(byte[]) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(byte[], Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(byte[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(byte[], int, int, Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(int[]) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(int[], Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(int[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(int[], int, int, Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(Object[]) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(Object[], Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles the elements in the given array into a random sequence.
- shuffle(Object[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(Object[], int, int, Random) - Static method in class com.samskivert.util.ArrayUtil
-
Shuffles a subset of elements within the specified array into a random sequence.
- shuffle(List<?>) - Method in class com.samskivert.util.Randoms
-
Shuffle the specified list using our Random.
- shutdown() - Method in interface com.samskivert.jdbc.ConnectionProvider
-
Shuts down this connection provider, closing all connections currently in the pool.
- shutdown() - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- shutdown() - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- shutdown() - Method in class com.samskivert.servlet.user.UserManager
-
- shutdown() - Method in class com.samskivert.util.Invoker
-
Shuts down the invoker thread by queueing up a unit that will cause the thread to exit after
all currently queued units are processed.
- shutdown() - Method in class com.samskivert.util.Lifecycle
-
Shuts down all components immediately on the caller's thread.
- shutdown() - Method in interface com.samskivert.util.Lifecycle.ShutdownComponent
-
Called when the server is shutting down.
- shutdown() - Method in class com.samskivert.util.LoopingThread
-
Requests that this thread shut itself down.
- shutdown() - Method in class com.samskivert.velocity.Application
-
This should be overridden by the application implementation to perform any necessary
cleanup.
- signalReceived(SignalUtil.Number) - Method in interface com.samskivert.util.SignalUtil.Handler
-
- SignalUtil - Class in com.samskivert.util
-
A wrapper around Sun's internal signal handling bits that can be used to avoid a) an explicit
dependency on Sun's internal stuff (assuming they deprecate that and replace it with something
actually supported some day) and b) a slew of unsuppressable warnings every time you compile
your project.
- SignalUtil() - Constructor for class com.samskivert.util.SignalUtil
-
- SignalUtil.Handler - Interface in com.samskivert.util
-
- SignalUtil.Number - Enum in com.samskivert.util
-
- signo() - Method in enum com.samskivert.util.SignalUtil.Number
-
- simpleFormat(String) - Static method in class com.samskivert.servlet.util.HTMLUtil
-
Does some simple HTML markup, matching bare image URLs and wrapping
them in image tags, matching other URLs and wrapping them in href
tags, and wrapping * prefixed lists into ul-style HTML lists.
- simpleFormat(String) - Static method in class com.samskivert.velocity.StringTool
-
Does some simple markup of the supplied text.
- simpleName(Field) - Static method in class com.samskivert.util.GenUtil
-
Returns the name of the supplied class as it would likely appear in code using the class (no
package prefix, arrays specified as type[]
).
- simpleName(Type) - Static method in class com.samskivert.util.GenUtil
-
Returns the name of the supplied class as it would likely appear in code using the class (no
package prefix, arrays specified as type[]
).
- SimpleParser - Class in com.samskivert.xml
-
The simple parser class provides an extensible object that is
intended to simplify the task of writing an object to parse a
particular XML file.
- SimpleParser() - Constructor for class com.samskivert.xml.SimpleParser
-
- SimpleRepository - Class in com.samskivert.jdbc
-
The simple repository should be used for a repository that only needs access to a single JDBC
connection instance to perform its persistence services.
- SimpleRepository(ConnectionProvider, String) - Constructor for class com.samskivert.jdbc.SimpleRepository
-
Creates and initializes a simple repository which will access the database identified by the
supplied database identifier.
- SimpleRepository.PreCondition - Interface in com.samskivert.jdbc
-
- SimpleSlider - Class in com.samskivert.swing
-
Displays a slider with a label on the left explaining what the slider
does and a label on the right displaying the slider's current value.
- SimpleSlider(String, int, int, int) - Constructor for class com.samskivert.swing.SimpleSlider
-
Creates a simple slider with the specified configuration.
- single(int, String) - Static method in class com.samskivert.servlet.SiteIdentifiers
-
Returns a site identifier that returns the specified site always.
- Site - Class in com.samskivert.servlet
-
- Site(int, String) - Constructor for class com.samskivert.servlet.Site
-
Constructs a site record with the specified id and string.
- Site() - Constructor for class com.samskivert.servlet.Site
-
Constructs a blank record for unserialization from the repository.
- SITE_IDENTIFIER_IDENT - Static variable in class com.samskivert.servlet.JDBCTableSiteIdentifier
-
The database identifier used to obtain a connection from our connection provider.
- siteId - Variable in class com.samskivert.servlet.Site
-
The site's unqiue identifier.
- siteId - Variable in class com.samskivert.servlet.user.User
-
The site identifier of the site through which the user created their account.
- siteId - Variable in class com.samskivert.velocity.SiteKey
-
The site identifier associated with this path or -1 if no site
identifier was specified in the path.
- SiteIdentifier - Interface in com.samskivert.servlet
-
Responsible for determining the unique site identifier based on information available in the
HTTP request.
- SiteIdentifiers - Class in com.samskivert.servlet
-
- SiteIdentifiers() - Constructor for class com.samskivert.servlet.SiteIdentifiers
-
- SiteJarResourceLoader - Class in com.samskivert.velocity
-
A Velocity resource loader that loads resources from site-specific jar
files.
- SiteJarResourceLoader(SiteResourceLoader) - Constructor for class com.samskivert.velocity.SiteJarResourceLoader
-
Constructs a site resource loader that will use the specified site
identifier to map site ids to site strings.
- SiteKey - Class in com.samskivert.velocity
-
Decodes a compound Velocity resource name plus site identifier.
- SiteKey(String) - Constructor for class com.samskivert.velocity.SiteKey
-
- SiteResourceBundle(File) - Constructor for class com.samskivert.servlet.SiteResourceLoader.SiteResourceBundle
-
Constructs a new site resource bundle.
- SiteResourceLoader - Class in com.samskivert.servlet
-
Web applications may wish to load resources in such a way that the site
on which they are running is allowed to override a resource with a
site-specific version (a header, footer or navigation template for
example).
- SiteResourceLoader(SiteIdentifier, String) - Constructor for class com.samskivert.servlet.SiteResourceLoader
-
Constructs a new resource loader.
- SiteResourceLoader.SiteResourceBundle - Class in com.samskivert.servlet
-
Encapsulates the information we need to load data from a site
resource bundle as well as to determine whether the loaded bundle
is up to date.
- SiteResourceManager - Class in com.samskivert.velocity
-
A resource manager implementation for Velocity that first loads site specific resources (via the
SiteJarResourceLoader
), but falls back to default resources if no site-specific resource
loader is available.
- SiteResourceManager() - Constructor for class com.samskivert.velocity.SiteResourceManager
-
- siteString - Variable in class com.samskivert.servlet.Site
-
The site's human readable identifier (i.e., "monkeybutter").
- size() - Method in class com.samskivert.util.AbstractIntSet
- size() - Method in class com.samskivert.util.ArrayIntSet
-
- size() - Method in class com.samskivert.util.BaseArrayList
-
- size() - Method in class com.samskivert.util.CheapIntMap
-
Returns the number of mappings in this table.
- size() - Method in class com.samskivert.util.CountMap
-
- size() - Method in class com.samskivert.util.DependencyGraph
-
Returns the number of elements in the graph.
- size() - Method in class com.samskivert.util.HashIntMap
-
- size() - Method in class com.samskivert.util.HashIntSet
-
- size() - Method in class com.samskivert.util.Histogram
-
Returns the total number of values in the histogram.
- size() - Method in class com.samskivert.util.IntIntMap
-
Returns the number of mappings.
- size(Object[]) - Static method in class com.samskivert.util.ListUtil
-
- size() - Method in class com.samskivert.util.LRUHashMap
-
- size() - Method in class com.samskivert.util.ObserverList
-
Returns the number of observers in this list.
- size() - Method in class com.samskivert.util.Queue
-
- size() - Method in class com.samskivert.util.RecentList
-
Returns the number of elements in this list.
- size() - Method in class com.samskivert.util.WeakObserverList
-
- sizeToContents(JTable) - Static method in class com.samskivert.swing.util.SwingUtil
-
Adjusts the widths and heights of the cells of the supplied table to fit their contents.
- SmartPolygon - Class in com.samskivert.swing
-
Extends the AWT polygon class and provides a
Polygon.getBounds()
method
that doesn't annoyingly make a copy of the bounds rectangle every time
it is returned.
- SmartPolygon() - Constructor for class com.samskivert.swing.SmartPolygon
-
- SoftCache<K,V> - Class in com.samskivert.util
-
Implements a
SoftReference
cache wherein the values in the hashmap are not prevented
from being garbage collected.
- SoftCache(int, float) - Constructor for class com.samskivert.util.SoftCache
-
- SoftCache(int) - Constructor for class com.samskivert.util.SoftCache
-
- SoftCache() - Constructor for class com.samskivert.util.SoftCache
-
- sort() - Method in class com.samskivert.util.ComparableArrayList
-
Sorts the elements in this list using the quick sort algorithm
(which does not involve any object allocation).
- sort(T[], Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sorts the supplied array of objects from least to greatest, using the supplied comparator.
- sort(T[]) - Static method in class com.samskivert.util.QuickSort
-
Sorts the supplied array of comparable objects from least to greatest.
- sort(T[], int, int, Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sorts the specified subset of the supplied array from least to greatest, using the supplied
comparator.
- sort(T[], int, int) - Static method in class com.samskivert.util.QuickSort
-
Sorts the specified subset of the supplied array of comparables from least to greatest,
using the supplied comparator.
- sort(List<T>) - Static method in class com.samskivert.util.QuickSort
-
Sort the elements in the specified List according to their natural order.
- sort(List<T>, Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sort the elements in the specified List according to the ordering imposed by the specified
Comparator.
- sort(List<T>, int, int, Comparator<? super T>) - Static method in class com.samskivert.util.QuickSort
-
Sort a subset of the elements in the specified List according to the ordering imposed by the
specified Comparator.
- sort(Comparator<? super T>) - Method in class com.samskivert.util.SortableArrayList
-
Sorts the elements in this list with the supplied element
comparator using the quick sort algorithm (which does not involve
any object allocation).
- sort(List<T>) - Method in class com.samskivert.velocity.DataTool
-
Sorts the supplied list and returns it.
- sort(Collection<T>) - Method in class com.samskivert.velocity.DataTool
-
Copies the data from the supplied collection into a list, sorts it and
returns the list.
- sort(Iterator<T>) - Method in class com.samskivert.velocity.DataTool
-
Copies the data from the supplied iterator into a list, sorts it and
returns the list.
- SortableArrayList<T> - Class in com.samskivert.util
-
- SortableArrayList() - Constructor for class com.samskivert.util.SortableArrayList
-
- Spacer - Class in com.samskivert.swing
-
A widget whose sole purpose is to introduce blank space between other
widgets.
- Spacer(int, int) - Constructor for class com.samskivert.swing.Spacer
-
Constructs a spacer with the specified width and height.
- Spacer(Dimension) - Constructor for class com.samskivert.swing.Spacer
-
Constructs a spacer with the specified width and height.
- spaces(int) - Static method in class com.samskivert.util.StringUtil
-
Returns a string containing the requested number of spaces.
- splice(byte[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
subset of values from indexes 0
to offset -
1
(inclusive) in the supplied array.
- splice(byte[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
concatenated subset of values from indexes 0
to
offset - 1
, and offset + length
to
values.length
(inclusive) in the supplied array.
- splice(short[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
subset of values from indexes 0
to offset -
1
(inclusive) in the supplied array.
- splice(short[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
concatenated subset of values from indexes 0
to
offset - 1
, and offset + length
to
values.length
(inclusive) in the supplied array.
- splice(int[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
subset of values from indexes 0
to offset -
1
(inclusive) in the supplied array.
- splice(int[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
concatenated subset of values from indexes 0
to
offset - 1
, and offset + length
to
values.length
(inclusive) in the supplied array.
- splice(T[], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
subset of values from indexes 0
to offset -
1
(inclusive) in the supplied array.
- splice(T[], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
concatenated subset of values from indexes 0
to
offset - 1
, and offset + length
to
values.length
(inclusive) in the supplied array.
- splice(int[][], int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
subset of values from indexes 0
to offset -
1
(inclusive) in the supplied array.
- splice(int[][], int, int) - Static method in class com.samskivert.util.ArrayUtil
-
Creates and returns a new array sized to fit and populated with the
concatenated subset of values from indexes 0
to
offset - 1
, and offset + length
to
values.length
(inclusive) in the supplied array.
- split(String, String) - Static method in class com.samskivert.util.StringUtil
-
Splits the supplied string into components based on the specified separator string.
- STANDARD_PORT - Static variable in class com.samskivert.net.cddb.CDDB
-
The port on which CDDB servers are generally run.
- startDrag(Cursor[], Object[]) - Method in interface com.samskivert.swing.dnd.DragSource
-
Called by the DnDManager to verify that a drag may begin at this source.
- stateChanged(ChangeEvent) - Method in class com.samskivert.swing.SimpleSlider
-
- StaticConnectionProvider - Class in com.samskivert.jdbc
-
The static connection provider generates JDBC connections based on configuration information
provided via a properties file.
- StaticConnectionProvider(String) - Constructor for class com.samskivert.jdbc.StaticConnectionProvider
-
Constructs a static connection provider which will load its configuration from a properties
file accessible via the classpath of the running application and identified by the specified
path.
- StaticConnectionProvider(Properties) - Constructor for class com.samskivert.jdbc.StaticConnectionProvider
-
Constructs a static connection provider which will fetch its configuration information from
the specified properties object.
- straightJoin(Connection, String, String) - Method in class com.samskivert.jdbc.jora.Table
-
- StreamUtil - Class in com.samskivert.io
-
Convenience methods for streams.
- StreamUtil() - Constructor for class com.samskivert.io.StreamUtil
-
- STRETCH - Static variable in class com.samskivert.swing.GroupLayout
-
Stretch all the widgets to their maximum possible size on this axis.
- stringCode(String) - Static method in class com.samskivert.util.StringUtil
-
- stringCode(String, StringBuilder) - Static method in class com.samskivert.util.StringUtil
-
Encodes (case-insensitively) a short English language string into a semi-unique
integer.
- StringTool - Class in com.samskivert.velocity
-
Provides simple string funtions like blank()
.
- StringTool() - Constructor for class com.samskivert.velocity.StringTool
-
- StringUtil - Class in com.samskivert.util
-
String related utility functions.
- StringUtil() - Constructor for class com.samskivert.util.StringUtil
-
- StringUtil.CharacterValidator - Interface in com.samskivert.util
-
Validates a character.
- StringUtil.Formatter - Class in com.samskivert.util
-
- submit(String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a submit element with the name submit
and
the specified button text.
- submit(String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a submit element with the specified parameter name and
the specified button text.
- submitExtra(String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a submit element with the name submit
and
the specified button text with the specified extra text.
- submitExtra(String, String, String) - Method in class com.samskivert.velocity.FormTool
-
Constructs a submit element with the specified parameter name and
the specified button text with the specified extra text.
- sum(int, Iterable<? extends Number>) - Static method in class com.samskivert.util.Folds
-
Sums the supplied collection of numbers to an int with a left to right fold.
- sum(long, Iterable<? extends Number>) - Static method in class com.samskivert.util.Folds
-
Sums the supplied collection of numbers to a long with a left to right fold.
- sum(float, Iterable<? extends Number>) - Static method in class com.samskivert.util.Folds
-
Sums the supplied collection of numbers to a float with a left to right fold.
- sum(double, Iterable<? extends Number>) - Static method in class com.samskivert.util.Folds
-
Sums the supplied collection of numbers to a double with a left to right fold.
- sum(BigInteger, Iterable<? extends BigInteger>) - Static method in class com.samskivert.util.Folds
-
Sums the supplied collection of numbers to a bigint with a left to right fold.
- sum(int[]) - Static method in class com.samskivert.util.IntListUtil
-
Returns the total of all of the values in the list.
- summarize() - Method in class com.samskivert.util.Histogram
-
Generates a terse summary of the count and contents of the values in this histogram.
- summarizeObject(PrintStream, Object, boolean, String) - Static method in class com.samskivert.util.ObjectUtil
-
Prints out the object class name, hash code and optionally the
toString()
data for the supplied object.
- SwingUtil - Class in com.samskivert.swing.util
-
Miscellaneous useful Swing-related utility functions.
- SwingUtil() - Constructor for class com.samskivert.swing.util.SwingUtil
-
- SwingUtil.ComponentOp - Interface in com.samskivert.swing.util
-
An operation that may be applied to a component.
- SwingUtil.DocumentTransformer - Interface in com.samskivert.swing.util
-
An interface for transforming the text contained within a document.
- SwingUtil.DocumentValidator - Interface in com.samskivert.swing.util
-
An interface for validating the text contained within a document.
- synchronizedIntMap(IntMap<V>) - Static method in class com.samskivert.util.Collections
-
Returns a synchronized (thread-safe) int map backed by the specified int map.
- synchronizedIntSet(IntSet) - Static method in class com.samskivert.util.Collections
-
Returns a synchronized (thread-safe) int set backed by the specified int set.
- SystemInfo - Class in com.samskivert.util
-
A record detailing that gathers and makes available various useful bits
of system information.
- SystemInfo() - Constructor for class com.samskivert.util.SystemInfo
-
Constructs a system info object.
- Table<T> - Class in com.samskivert.jdbc.jora
-
Used to establish mapping between corteges of database tables and java classes.
- Table(Class<T>, String, String, boolean) - Constructor for class com.samskivert.jdbc.jora.Table
-
Constructor for table object.
- Table(Class<T>, String, String) - Constructor for class com.samskivert.jdbc.jora.Table
-
Constructor for table object.
- Table(Class<T>, String, String[]) - Constructor for class com.samskivert.jdbc.jora.Table
-
Constructor for table object.
- Table(Class<T>, String, String[], boolean) - Constructor for class com.samskivert.jdbc.jora.Table
-
Constructor for table object.
- tableChanged(TableModelEvent) - Method in class com.samskivert.swing.TableMap
-
- tableContainsColumn(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- tableContainsColumn(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns true if the specified table exists and contains a column with the specified name;
false if either condition does not hold true.
- tableContainsColumn(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns true if the table with the specified name exists and contains a column with the
specified name, false if either condition does not hold true.
- tableContainsIndex(Connection, String, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- tableContainsIndex(Connection, String, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns true if the specified table exists and contains an index of the specified name;
false if either conditions does not hold true.
- tableContainsIndex(Connection, String, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns true if the index on the specified column exists for the specified table, false if
it does not.
- tableContainsPrimaryKey(Connection, String, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns true if the specified table contains a primary key on the specified column.
- tableExists(Connection, String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- tableExists(Connection, String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns true if the table with the specified name exists, false if it does not.
- tableExists(Connection, String) - Static method in class com.samskivert.jdbc.JDBCUtil
-
Returns true if the table with the specified name exists, false if it does
not.
- TableMap - Class in com.samskivert.swing
-
In a chain of data manipulators some behaviour is common.
- TableMap() - Constructor for class com.samskivert.swing.TableMap
-
- TableSorter - Class in com.samskivert.swing
-
TableSorter is a decorator for TableModels; adding sorting
functionality to a supplied TableModel.
- TableSorter() - Constructor for class com.samskivert.swing.TableSorter
-
- TableSorter(TableModel) - Constructor for class com.samskivert.swing.TableSorter
-
- TableSorter(TableModel, JTableHeader) - Constructor for class com.samskivert.swing.TableSorter
-
- tableSQL(String) - Method in class com.samskivert.jdbc.BaseLiaison
-
- tableSQL(String) - Method in interface com.samskivert.jdbc.DatabaseLiaison
-
Returns the proper SQL to identify a table.
- tableSQL(String) - Method in class com.samskivert.jdbc.DefaultLiaison
-
- tableSQL(String) - Method in class com.samskivert.jdbc.HsqldbLiaison
-
- tableSQL(String) - Method in class com.samskivert.jdbc.MySQLLiaison
-
- tableSQL(String) - Method in class com.samskivert.jdbc.PostgreSQLLiaison
-
- taint(Object) - Static method in class com.samskivert.text.MessageUtil
-
Call this to "taint" any string that has been entered by an entity outside the application
so that the translation code knows not to attempt to translate this string when doing
recursive translations.
- Task - Interface in com.samskivert.swing.util
-
A swing application requests that a task be invoked by the task
master.
- TaskAdapter - Class in com.samskivert.swing.util
-
A helper class for easily instantiating
Task
instances.
- TaskAdapter() - Constructor for class com.samskivert.swing.util.TaskAdapter
-
- taskCompleted(String, Object) - Method in interface com.samskivert.swing.util.TaskObserver
-
If the task successfully runs to completion and returns a result,
this member function will be called on the supplied observer.
- taskFailed(String, Throwable) - Method in interface com.samskivert.swing.util.TaskObserver
-
If the task fails to run to completion and instead throws an
exception, this member function will be called on the supplied
observer.
- TaskMaster - Class in com.samskivert.swing.util
-
The task master provides the ability for swing applications to invoke
tasks on another thread and to conveniently receive the results of
those tasks back on the swing event dispatch thread where the swing
application can safely manipulate its user interface in response to the
results of the task.
- TaskMaster() - Constructor for class com.samskivert.swing.util.TaskMaster
-
- TaskObserver - Interface in com.samskivert.swing.util
-
The task observer interface provides the means by which the task master
can communicate the success or failure of a task invocation back to the
originator of a task.
- tcompose(String, Object...) - Static method in class com.samskivert.text.MessageUtil
-
- tcompose(String, String...) - Static method in class com.samskivert.text.MessageUtil
-
- TERMINATOR - Static variable in class com.samskivert.net.cddb.CDDBProtocol
-
The terminating marker which occurs alone on it's own line to
indicate the end of an extended command.
- TermUtil - Class in com.samskivert.util
-
Provides access to the very platform specific concept of the terminal
(ie.
- TermUtil() - Constructor for class com.samskivert.util.TermUtil
-
- TerseLogFormatter - Class in com.samskivert.util
-
A very brief formatter that shows only the message and stack trace (if any).
- TerseLogFormatter() - Constructor for class com.samskivert.util.TerseLogFormatter
-
- test(String, String) - Static method in class com.samskivert.net.cddb.CDDBTest
-
- testAndAdd(int[], int) - Static method in class com.samskivert.util.IntListUtil
-
Searches through the list checking to see if the value supplied is
already in the list and adds it if it is not.
- testAndAdd(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Searches through the list checking to see if the element supplied
is already in the list (using equals()
to check for
equality) and adds it if it is not.
- testAndAddRef(Object[], Object) - Static method in class com.samskivert.util.ListUtil
-
Searches through the list checking to see if the element supplied
is already in the list (using reference equality to check for
existence) and adds it if it is not.
- text(String) - Method in class com.samskivert.velocity.FormTool
-
Creates a text input field with the specified name and no extra
arguments or default value.
- text(String, String) - Method in class com.samskivert.velocity.FormTool
-
Creates a text input field with the specified name and the
specified extra arguments with no default value.
- text(String, String, Object) - Method in class com.samskivert.velocity.FormTool
-
Creates a text input field with the specified name, extra arguments
and default value.
- textarea(String, String, Object) - Method in class com.samskivert.velocity.FormTool
-
Constructs a text area with the specified name, optional extra
parameters, and default text.
- TGraphics2D - Class in com.samskivert.swing
-
A Graphics2D that pipes all processing to two subgraphics.
- TGraphics2D(Graphics2D, Graphics2D) - Constructor for class com.samskivert.swing.TGraphics2D
-
Construct a TGraphics2D.
- threadLocal() - Static method in class com.samskivert.util.Randoms
-
Get a thread-local Randoms instance that will not contend with any other thread
for random number generation.
- Throttle - Class in com.samskivert.util
-
A throttle is used to prevent code from attempting a particular operation too often.
- Throttle(int, long) - Constructor for class com.samskivert.util.Throttle
-
Constructs a new throttle instance that will allow the specified number of operations to
proceed within the specified period (the period is measured in milliseconds).
- throttleOp() - Method in class com.samskivert.util.Throttle
-
Registers an attempt at an operation and returns true if the operation should be throttled
(meaning N operations have already been performed in the last M seconds), or false if the
operation is allowed to be performed.
- throttleOp(long) - Method in class com.samskivert.util.Throttle
-
Registers an attempt at an operation and returns true if the operation should be performed
or false if it should be throttled (meaning N operations have already been performed in the
last M seconds).
- timedOut() - Method in interface com.samskivert.util.SerialExecutor.ExecutorTask
-
- TimeoutException() - Constructor for exception com.samskivert.util.ServiceWaiter.TimeoutException
-
- Timer - Class in com.samskivert.swing
-
A timer that posts commands to a controller.
- Timer(int, Component, String) - Constructor for class com.samskivert.swing.Timer
-
Construct a samskivert timer.
- Timer(int, ActionListener) - Constructor for class com.samskivert.swing.Timer
-
Construct a samskivert timer with the same functionality of a swing
Timer except for an improved toString().
- title - Variable in class com.samskivert.net.cddb.CDDB.Detail
-
The title of this CD.
- title - Variable in class com.samskivert.net.cddb.CDDB.Entry
-
The human readable title of this entry.
- toArray() - Method in class com.samskivert.util.BaseArrayList
-
- toArray(T[]) - Method in class com.samskivert.util.BaseArrayList
-
- toArray(Collection<? extends T>, Class<T>) - Static method in class com.samskivert.util.CollectionUtil
-
Returns an Array, of the type specified by the runtime-type token type
,
containing the elements of the collection.
- toArrayList(int) - Method in class com.samskivert.jdbc.jora.Cursor
-
Extracts no more than maxElements records from database and store
them into array.
- toArrayList() - Method in class com.samskivert.jdbc.jora.Cursor
-
Store all objects returned by SELECT query into a list of Object.
- toByte() - Method in interface com.samskivert.util.ByteEnum
-
Returns the byte value to which to map this enum value.
- toByteArray(InputStream) - Static method in class com.samskivert.io.StreamUtil
-
Reads the contents of the supplied stream into a byte array.
- toColorString(int) - Static method in class com.samskivert.util.StringUtil
-
Format the specified int as a String color value, like "000000".
- toDate() - Method in class com.samskivert.util.Calendars.Builder
-
Returns a
Date
configured with our calendar's current time.
- toggleCollapsed(int) - Method in class com.samskivert.swing.CollapsibleList
-
Toggles the collapsed state of the specified section.
- toIntArray() - Method in class com.samskivert.util.AbstractIntSet
-
Returns an array containing all of the elements in this set.
- toIntArray(int[], int) - Method in class com.samskivert.util.ArrayIntSet
-
Serializes this int set into an array at the specified offset.
- toIntArray() - Method in class com.samskivert.util.ArrayIntSet
-
- toIntArray(Collection<Integer>) - Static method in class com.samskivert.util.CollectionUtil
-
If a collection contains only Integer
objects, it can be
passed to this function and converted into an int array.
- toIntArray() - Method in interface com.samskivert.util.IntSet
-
Returns an array containing all of the elements in this set.
- toMatrixString(int[], int, int) - Static method in class com.samskivert.util.StringUtil
-
Returns an array containing the values in the supplied array converted into a table of
values wrapped at the specified column count and fit into the specified field width.
- toObserverList() - Method in class com.samskivert.util.DependencyGraph
-
Flattens this graph into an observer list in dependencys order.
- TOP - Static variable in class com.samskivert.swing.GroupLayout
-
A justification constant.
- toShortArray() - Method in class com.samskivert.util.ArrayIntSet
-
Creates an array of shorts from the contents of this set.
- toSQLDate() - Method in class com.samskivert.util.Calendars.Builder
-
Returns a
Date
configured with our calendar's current time.
- toString(InputStream) - Static method in class com.samskivert.io.StreamUtil
-
Reads the contents of the supplied stream into a string using the platform default charset.
- toString(InputStream, String) - Static method in class com.samskivert.io.StreamUtil
-
Reads the contents of the supplied stream into a string using the supplied
Charset
.
- toString(Reader) - Static method in class com.samskivert.io.StreamUtil
-
Reads the contents of the supplied reader into a string.
- toString() - Method in class com.samskivert.jdbc.jora.FieldMask
-
- toString() - Method in class com.samskivert.jdbc.jora.Table
-
- toString() - Method in class com.samskivert.servlet.Site
-
- toString() - Method in class com.samskivert.servlet.SiteResourceLoader.SiteResourceBundle
-
- toString() - Method in class com.samskivert.servlet.SiteResourceLoader
-
- toString() - Method in class com.samskivert.servlet.user.User
-
- toString() - Method in class com.samskivert.servlet.user.Username
-
- toString() - Method in class com.samskivert.swing.DimenInfo
-
- toString() - Method in class com.samskivert.swing.event.CommandEvent
-
- toString() - Method in class com.samskivert.swing.TGraphics2D
-
- toString() - Method in class com.samskivert.swing.Timer
-
- toString() - Method in class com.samskivert.swing.util.ProximityTracker
-
- toString() - Method in class com.samskivert.util.AbstractIntSet
-
- toString() - Method in class com.samskivert.util.Histogram
-
- toString() - Method in class com.samskivert.util.IntIntMap
-
- toString() - Method in class com.samskivert.util.IntTuple
-
- toString() - Method in class com.samskivert.util.Invoker.Unit
-
Returns the name of this invoker.
- toString() - Method in class com.samskivert.util.KeyValue
-
- toString() - Method in class com.samskivert.util.LogBuilder
-
Returns the formatted log message.
- toString() - Method in class com.samskivert.util.MapEntry
-
Deprecated.
- toString() - Method in class com.samskivert.util.Queue
-
- toString(Object) - Method in class com.samskivert.util.StringUtil.Formatter
-
Formats the supplied object into a string.
- toString(Object) - Static method in class com.samskivert.util.StringUtil
-
Converts the supplied object to a string.
- toString(StringBuilder, Object) - Static method in class com.samskivert.util.StringUtil
-
Converts the supplied value to a string and appends it to the supplied string buffer.
- toString(Object, String, String) - Static method in class com.samskivert.util.StringUtil
-
Like the single argument
StringUtil.toString(Object)
with the additional function of
specifying the characters that are used to box in collection and array types.
- toString(StringBuilder, Object, String, String) - Static method in class com.samskivert.util.StringUtil
-
Converts the supplied value to a string and appends it to the supplied string buffer.
- toString(StringBuilder, Object, String, String, String) - Static method in class com.samskivert.util.StringUtil
-
Converts the supplied value to a string and appends it to the supplied string buffer.
- toString() - Method in class com.samskivert.util.SystemInfo
-
- toString() - Method in class com.samskivert.util.Throttle
-
- toString() - Method in class com.samskivert.util.Triple
-
- toString() - Method in class com.samskivert.util.Tuple
-
- toString() - Method in class com.samskivert.xml.SetNextFieldRule
-
- toString() - Method in class com.samskivert.xml.ValidatedSetNextRule
-
Render a printable version of this rule.
- totalMemory - Variable in class com.samskivert.util.SystemInfo
-
The amount of total memory available in kilobytes.
- tothei - Variable in class com.samskivert.swing.DimenInfo
-
- toTime() - Method in class com.samskivert.util.Calendars.Builder
-
Returns the milliseconds since the epoch for our calendar's current time.
- toTimestamp() - Method in class com.samskivert.util.Calendars.Builder
-
Returns a
Timestamp
configured with our calendar's current time.
- totweight - Variable in class com.samskivert.swing.DimenInfo
-
- totwid - Variable in class com.samskivert.swing.DimenInfo
-
- toUSLowerCase(String) - Static method in class com.samskivert.util.StringUtil
-
Returns a US locale lower case string.
- toUSUpperCase(String) - Static method in class com.samskivert.util.StringUtil
-
Returns a US locale upper case string.
- trackNames - Variable in class com.samskivert.net.cddb.CDDB.Detail
-
The track names.
- transform(AffineTransform) - Method in class com.samskivert.swing.TGraphics2D
-
- transform(String) - Method in interface com.samskivert.swing.util.SwingUtil.DocumentTransformer
-
Transform the specified text in some way, or simply return the text untransformed.
- transition(Class<?>, String, TransitionRepository.Transition) - Method in class com.samskivert.jdbc.TransitionRepository
-
Perform a transition if it has not already been applied, and record that it was applied.
- TRANSITION_DB_IDENT - Static variable in class com.samskivert.jdbc.TransitionRepository
-
The identifier of this connection.
- TransitionRepository - Class in com.samskivert.jdbc
-
Used to note that transitionary code has been run to migrate persistent data.
- TransitionRepository(ConnectionProvider) - Constructor for class com.samskivert.jdbc.TransitionRepository
-
Construct a TransitionRepository for the server.
- TransitionRepository.Transition - Interface in com.samskivert.jdbc
-
An interface for the transition.
- translate(int, int) - Method in class com.samskivert.swing.TGraphics2D
-
- translate(double, double) - Method in class com.samskivert.swing.TGraphics2D
-
- translate(InvocationContext, String) - Method in class com.samskivert.velocity.Application
-
A convenience function for translating messages.
- translate(InvocationContext, String, Object...) - Method in class com.samskivert.velocity.Application
-
A convenience function for translating messages.
- trim(String) - Static method in class com.samskivert.util.StringUtil
-
Calls
String.trim()
on non-null values, returns null for null values.
- Triple<A,B,C> - Class in com.samskivert.util
-
- Triple(A, B, C) - Constructor for class com.samskivert.util.Triple
-
Constructs a triple with the specified two objects.
- trueInstance() - Static method in class com.samskivert.util.Predicate
-
Returns a type-safe reference to the shared instance of a predicate that always returns
true
.
- truncate(String, int) - Static method in class com.samskivert.util.StringUtil
-
Truncate the specified String if it is longer than maxLength.
- truncate(String, int, String) - Static method in class com.samskivert.util.StringUtil
-
Truncate the specified String if it is longer than maxLength.
- truncate(String, int, String) - Static method in class com.samskivert.velocity.StringTool
-
Truncates the supplied text at the specified length, appending the
specified "elipsis" indicator to the text if truncated.
- Tuple<L,R> - Class in com.samskivert.util
-
A tuple is a simple object that holds a reference to two other objects.
- Tuple(L, R) - Constructor for class com.samskivert.util.Tuple
-
Constructs a tuple with the supplied values.
- txConnectionFailed(String, Connection, SQLException) - Method in interface com.samskivert.jdbc.ConnectionProvider
-
- txConnectionFailed(String, Connection, SQLException) - Method in class com.samskivert.jdbc.DataSourceConnectionProvider
-
- txConnectionFailed(String, Connection, SQLException) - Method in class com.samskivert.jdbc.StaticConnectionProvider
-
- type - Variable in class com.samskivert.jdbc.ColumnDefinition
-