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(Context context,
PathContext pathContext,
Path initialPath)
getRootWindowLocator
public static RootWindowLocator getRootWindowLocator(java.awt.Component comp)
locateRootWindow
public static java.awt.Window locateRootWindow(PresentationModel pm)
locateRootWindow
public static java.awt.Window locateRootWindow(Context context)
getTypeInfo
public static TypeInfo getTypeInfo(java.lang.Class<? extends PresentationModel> pmClass)
asRootNode
public static PathNode asRootNode(java.lang.Class<? extends PresentationModel> pmClass)
getDeclaredPmTypeFromView
public static java.lang.Class<? extends PresentationModel> getDeclaredPmTypeFromView(View<?> view)
getDeclaredPmTypeFromView
public static java.lang.Class<? extends PresentationModel> getDeclaredPmTypeFromView(java.lang.Class<? extends View<?>> viewClass)
getElementTypeOfSubscribedOrActualIListPM
public static java.lang.Class<? extends PresentationModel> getElementTypeOfSubscribedOrActualIListPM(ModelSubscriber subscriber)
getSubscribedNode
public static PathNode getSubscribedNode(ModelSubscriber subscriber)
getProvidedRootNode
public static PathNode getProvidedRootNode(ModelSubscriber subscriber)
getRootNodeOfActualOrDeclaredPMFromView
public static PathNode getRootNodeOfActualOrDeclaredPMFromView(View<?> view)
getPathContextToCustomizeModelSubscriber
public static PathContext getPathContextToCustomizeModelSubscriber(ModelSubscriber theSubscriber)
getPathContextToCustomizeModelSubscriber
public static PathContext getPathContextToCustomizeModelSubscriber(ModelSubscriber theSubscriber,
java.lang.Class<? extends PresentationModel> expectedModelType)