MCPcopy Create free account
hub / github.com/PCGen/pcgen / accept

Method accept

code/src/java/pcgen/gui2/filter/FilterButton.java:79–85  ·  view source on GitHub ↗
(C context, E element)

Source from the content-addressed store, hash-verified

77 }
78
79 @Override
80 public boolean accept(C context, E element)
81 {
82 //if this button is not selected treat it as if
83 //this filter always accepts
84 return !isEnabled() || !isSelected() || filter.accept(context, element);
85 }
86
87 @Override
88 public void actionPerformed(ActionEvent e)

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.65

Tested by

no test coverage detected