Class AbstractModelCondition.DefaultConditionFactory

  • All Implemented Interfaces:
    Enclosing class:

    public static class AbstractModelCondition.DefaultConditionFactory
    extends java.lang.Object
    implements ModelConditionFactory
    A ModelCondition factory. This factory handles elements common to all widgets that support conditions. Widgets that have specialized conditions can extend this class.
    • Constructor Detail

      • DefaultConditionFactory

        public DefaultConditionFactory()
    • Method Detail

      • newInstance

        public ModelCondition newInstance​(ModelWidget modelWidget,
                                          org.w3c.dom.Element conditionElement)
        Description copied from interface: ModelConditionFactory
        Returns a new ModelCondition instance built from conditionElement.
        Specified by:
        newInstance in interface ModelConditionFactory
        modelWidget - The ModelWidget that contains the Condition instance.
        conditionElement - The XML element used to build the Condition instance.
        A new ModelCondition instance built from conditionElement.