org.pfsw.joi
Class ElementFilterMenu

java.lang.Object
  extended by org.pfsw.joi.ElementFilterMenu

public class ElementFilterMenu
extends java.lang.Object

Holds an Element filter and all menu items and takes care that they are in sync.


Constructor Summary
ElementFilterMenu()
          Initialize the new instance with default values.
 
Method Summary
protected  javax.swing.JCheckBoxMenuItem createCheckMenuItem(java.lang.String text, java.lang.String command, javax.swing.Icon icon)
           
protected  ElementFilter getElementFilter()
           
protected  javax.swing.JCheckBoxMenuItem getFinalMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getPackageMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getPrivateMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getProtectedMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getPublicMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getStaticMenuItem()
           
protected  javax.swing.JCheckBoxMenuItem getTransientMenuItem()
           
protected  void init()
           
 void replaceFilter(ElementFilter filter)
           
protected  void setElementFilter(ElementFilter aValue)
           
protected  void setFinalMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setPackageMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setPrivateMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setProtectedMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setPublicMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setStaticMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void setTransientMenuItem(javax.swing.JCheckBoxMenuItem newValue)
           
protected  void updateItems()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementFilterMenu

public ElementFilterMenu()
Initialize the new instance with default values.

Method Detail

getElementFilter

protected ElementFilter getElementFilter()

setElementFilter

protected void setElementFilter(ElementFilter aValue)

getTransientMenuItem

protected javax.swing.JCheckBoxMenuItem getTransientMenuItem()

setTransientMenuItem

protected void setTransientMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getStaticMenuItem

protected javax.swing.JCheckBoxMenuItem getStaticMenuItem()

setStaticMenuItem

protected void setStaticMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getFinalMenuItem

protected javax.swing.JCheckBoxMenuItem getFinalMenuItem()

setFinalMenuItem

protected void setFinalMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getPrivateMenuItem

protected javax.swing.JCheckBoxMenuItem getPrivateMenuItem()

setPrivateMenuItem

protected void setPrivateMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getProtectedMenuItem

protected javax.swing.JCheckBoxMenuItem getProtectedMenuItem()

setProtectedMenuItem

protected void setProtectedMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getPackageMenuItem

protected javax.swing.JCheckBoxMenuItem getPackageMenuItem()

setPackageMenuItem

protected void setPackageMenuItem(javax.swing.JCheckBoxMenuItem newValue)

getPublicMenuItem

protected javax.swing.JCheckBoxMenuItem getPublicMenuItem()

setPublicMenuItem

protected void setPublicMenuItem(javax.swing.JCheckBoxMenuItem newValue)

replaceFilter

public void replaceFilter(ElementFilter filter)

init

protected void init()

updateItems

protected void updateItems()

createCheckMenuItem

protected javax.swing.JCheckBoxMenuItem createCheckMenuItem(java.lang.String text,
                                                            java.lang.String command,
                                                            javax.swing.Icon icon)