|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sail.core.util.SailBeanUtils
public class SailBeanUtils
Our class of utility functions for Beans and BeanContexts. Everything here is
generic to all JavaBean programming. Methods specific to pods go in
PodUtils
.
Constructor Summary | |
---|---|
SailBeanUtils()
|
Method Summary | ||
---|---|---|
static
|
childrenOfType(java.beans.beancontext.BeanContext bc,
java.lang.Class<T> type)
|
|
static java.beans.beancontext.BeanContextServices |
findServicesContextOf(java.beans.beancontext.BeanContextChild child)
|
|
static
|
firstChildOfType(java.beans.beancontext.BeanContext bc,
java.lang.Class<T> type)
|
|
static java.awt.Image |
getLargeBeanIcon(java.lang.Object bean)
|
|
static java.awt.Image |
getSmallBeanIcon(java.lang.Object bean)
|
|
static void |
printTree(java.io.PrintStream out,
int indent,
java.util.Collection<?> collection)
|
|
static java.beans.beancontext.BeanContext |
resolveBeanContext(java.lang.Object source)
Helper method to find the BeanContext containing the source |
|
static java.beans.beancontext.BeanContext |
resolvePod(java.lang.Object source)
Deprecated. use PodUtils instead |
|
static java.lang.String |
shortNameOf(java.lang.Class<?> clazz)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SailBeanUtils()
Method Detail |
---|
public static void printTree(java.io.PrintStream out, int indent, java.util.Collection<?> collection)
public static <T> T firstChildOfType(java.beans.beancontext.BeanContext bc, java.lang.Class<T> type)
public static <T> java.util.Collection<T> childrenOfType(java.beans.beancontext.BeanContext bc, java.lang.Class<T> type)
public static java.awt.Image getLargeBeanIcon(java.lang.Object bean)
public static java.awt.Image getSmallBeanIcon(java.lang.Object bean)
@Deprecated public static java.lang.String shortNameOf(java.lang.Class<?> clazz)
public static java.beans.beancontext.BeanContextServices findServicesContextOf(java.beans.beancontext.BeanContextChild child)
public static java.beans.beancontext.BeanContext resolveBeanContext(java.lang.Object source)
source
-
@Deprecated public static java.beans.beancontext.BeanContext resolvePod(java.lang.Object source)
PodUtils
instead
source
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |