add a clearFlag() method in Form
--------------------------------

                 Key: PIVOT-614
                 URL: https://issues.apache.org/jira/browse/PIVOT-614
             Project: Pivot
          Issue Type: Improvement
    Affects Versions: 1.5.1
            Reporter: A.J.
            Priority: Minor


The Form does not expose any explicit way of removing the Flag attribute.
While implementing it, I realized it was as easy as calling Form.setFlag() 
method with a null value but it ain't very 'developer friendly', imho.
So, either make it clear in the doc or add a method such as this one

Form,java:

    public static final void clearFlag(Component component) {
        setFlag(component, (Flag) null);
    }

cheers
A.J.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to