Class ComponentDrawableFilter

    • Constructor Detail

      • ComponentDrawableFilter

        public ComponentDrawableFilter()
        Default constructor.
    • Method Detail

      • getValue

        public Object getValue​(ExpressionRuntime runtime,
                               ReportElement element)
        Returns the ComponentDrawable for the AWT-Component or null.
        Specified by:
        getValue in interface DataSource
        runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.
        element -
        the value.
      • isHeadless

        protected static boolean isHeadless()
        A helper method that queries the configuration (and therefore also the system properties) for whether the system is in headless mode.
        true, if the system is headless, false otherwise.
      • getDataSource

        public DataSource getDataSource()
        Returns the assigned DataSource for this Target.
        Specified by:
        getDataSource in interface DataTarget
        The datasource.
      • setDataSource

        public void setDataSource​(DataSource ds)
        Assigns a DataSource for this Target.
        Specified by:
        setDataSource in interface DataTarget
        ds - The data source.