org.beanfabrics.swing.customizer.util
Class CustomizerUtil
java.lang.Object
org.beanfabrics.swing.customizer.util.CustomizerUtil
public class CustomizerUtil
- extends java.lang.Object
ATTENTION: This class is experimental and should only be used inside beanfabrics.
The CustomizerUtil is a utility class used by JavaBeans Customizer classes in Beanfabrics.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isWindows
public static boolean isWindows()
isMacOSX
public static boolean isMacOSX()
isAquaLookAndFeel
public static boolean isAquaLookAndFeel()
createPathChooser
public static PathChooserController createPathChooser(org.beanfabrics.context.Context context,
PathContext pathContext,
org.beanfabrics.Path initialPath)
getRootWindowLocator
public static RootWindowLocator getRootWindowLocator(java.awt.Component comp)
locateRootWindow
public static java.awt.Window locateRootWindow(org.beanfabrics.model.PresentationModel pm)
locateRootWindow
public static java.awt.Window locateRootWindow(org.beanfabrics.context.Context context)
getTypeInfo
public static org.beanfabrics.meta.TypeInfo getTypeInfo(java.lang.Class<? extends org.beanfabrics.model.PresentationModel> pmClass)
asRootNode
public static org.beanfabrics.meta.PathNode asRootNode(java.lang.Class<? extends org.beanfabrics.model.PresentationModel> pmClass)
getDeclaredPmTypeFromView
public static java.lang.Class<? extends org.beanfabrics.model.PresentationModel> getDeclaredPmTypeFromView(org.beanfabrics.View<?> view)
getDeclaredPmTypeFromView
public static java.lang.Class<? extends org.beanfabrics.model.PresentationModel> getDeclaredPmTypeFromView(java.lang.Class<? extends org.beanfabrics.View<?>> viewClass)
getElementTypeOfSubscribedOrActualIListPM
public static java.lang.Class<? extends org.beanfabrics.model.PresentationModel> getElementTypeOfSubscribedOrActualIListPM(org.beanfabrics.ModelSubscriber subscriber)
getSubscribedNode
public static org.beanfabrics.meta.PathNode getSubscribedNode(org.beanfabrics.ModelSubscriber subscriber)
getProvidedRootNode
public static org.beanfabrics.meta.PathNode getProvidedRootNode(org.beanfabrics.ModelSubscriber subscriber)
getRootNodeOfActualOrDeclaredPMFromView
public static org.beanfabrics.meta.PathNode getRootNodeOfActualOrDeclaredPMFromView(org.beanfabrics.View<?> view)
getPathContextToCustomizeModelSubscriber
public static PathContext getPathContextToCustomizeModelSubscriber(org.beanfabrics.ModelSubscriber theSubscriber)
getPathContextToCustomizeModelSubscriber
public static PathContext getPathContextToCustomizeModelSubscriber(org.beanfabrics.ModelSubscriber theSubscriber,
java.lang.Class<? extends org.beanfabrics.model.PresentationModel> expectedModelType)