If a pass-style provided and the condition passes, the widget-style of the parent menu-item is set with the pass-style. If no pass-style is given, the widget-style is not changed. If a disabled-style provided and the condition fails, the disabled-style of the parent menu-item is set with the disabled-style and processing is allowed to continue. If no disabled-style is given, the widget-style is not changed and the menu-item is not rendered. Can have multiple pipe separated values, but don't use spaces. Can have multiple pipe separated values, but don't use spaces. Calls a static Java method that takes a String and returns a boolean.