Getbackgroundpaint(), Getcategoryautorevalidate(), Getcategoryviewfilter() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 59: Getscrollpane(), Setbackgroundpaint(paint), Setcategoryviewfilter(categoryviewfilter), Getbackgroundpaint, Getcategoryautorevalidate, Getcategoryviewfilter, Getscrollpane
![background image](https://www.manualsdir.com/files/798675/content/doc059.png)
(continued from last page)
getScrollPane
public javax.swing.JScrollPane getScrollPane()
Returns the scroll panel that is used to show the category tree.
Returns:
The scroll panel that is used to show the category tree. Never
null
.
getCategoryViewFilter
public CategoryViewFilter getCategoryViewFilter()
Property: A filter that can be used to filter out which Categories should be visible in the tree.
Returns:
The current filter.
null
if no filter.
setCategoryViewFilter
public void setCategoryViewFilter(CategoryViewFilter filter)
Property: A filter that can be used to filter out which Categories should be visible in the tree.
Parameters:
filter
- The new filter.
null
if no filter.
getBackgroundPaint
public java.awt.Paint getBackgroundPaint()
Sets the background paint. If
!= null
this paint is drawn in the background (if opaque) rather than the normal background
color. If this is
null
the normal color retrieved from
Component.getBackground()
is painted instead. If not opaque
none of the colors will be painted.
Returns:
The background paint. May be
null
.
setBackgroundPaint
public void setBackgroundPaint(java.awt.Paint bgPaint)
Sets the background paint. If
!= null
this paint is drawn in the background (if opaque) rather than the normal background
color. If this is
null
the normal color retrieved from
Component.getBackground()
is painted instead. If not opaque
none of the colors will be painted.
Parameters:
bgPaint
- The background paint. May be
null
.
getCategoryAutoRevalidate
public boolean getCategoryAutoRevalidate()
Property: If the categories in the
CategoryDepository
changes the tree will revalidate itself if there is a category root
set.
Returns:
If the auto revalidation is on.
Page 59 of 196
com.miginfocom.beans.CategoryTreeBean