⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaulttablexydataset.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<FONT color="green">526</FONT>            result = 29 * result + (this.propagateEvents ? 1 : 0);<a name="line.526"></a><FONT color="green">527</FONT>            result = 29 * result + (this.autoPrune ? 1 : 0);<a name="line.527"></a><FONT color="green">528</FONT>            return result;<a name="line.528"></a><FONT color="green">529</FONT>        }<a name="line.529"></a><FONT color="green">530</FONT>        <a name="line.530"></a><FONT color="green">531</FONT>        /**<a name="line.531"></a><FONT color="green">532</FONT>         * Returns the minimum x-value in the dataset.<a name="line.532"></a><FONT color="green">533</FONT>         *<a name="line.533"></a><FONT color="green">534</FONT>         * @param includeInterval  a flag that determines whether or not the<a name="line.534"></a><FONT color="green">535</FONT>         *                         x-interval is taken into account.<a name="line.535"></a><FONT color="green">536</FONT>         * <a name="line.536"></a><FONT color="green">537</FONT>         * @return The minimum value.<a name="line.537"></a><FONT color="green">538</FONT>         */<a name="line.538"></a><FONT color="green">539</FONT>        public double getDomainLowerBound(boolean includeInterval) {<a name="line.539"></a><FONT color="green">540</FONT>            return this.intervalDelegate.getDomainLowerBound(includeInterval);<a name="line.540"></a><FONT color="green">541</FONT>        }<a name="line.541"></a><FONT color="green">542</FONT>    <a name="line.542"></a><FONT color="green">543</FONT>        /**<a name="line.543"></a><FONT color="green">544</FONT>         * Returns the maximum x-value in the dataset.<a name="line.544"></a><FONT color="green">545</FONT>         *<a name="line.545"></a><FONT color="green">546</FONT>         * @param includeInterval  a flag that determines whether or not the<a name="line.546"></a><FONT color="green">547</FONT>         *                         x-interval is taken into account.<a name="line.547"></a><FONT color="green">548</FONT>         * <a name="line.548"></a><FONT color="green">549</FONT>         * @return The maximum value.<a name="line.549"></a><FONT color="green">550</FONT>         */<a name="line.550"></a><FONT color="green">551</FONT>        public double getDomainUpperBound(boolean includeInterval) {<a name="line.551"></a><FONT color="green">552</FONT>            return this.intervalDelegate.getDomainUpperBound(includeInterval);<a name="line.552"></a><FONT color="green">553</FONT>        }<a name="line.553"></a><FONT color="green">554</FONT>    <a name="line.554"></a><FONT color="green">555</FONT>        /**<a name="line.555"></a><FONT color="green">556</FONT>         * Returns the range of the values in this dataset's domain.<a name="line.556"></a><FONT color="green">557</FONT>         *<a name="line.557"></a><FONT color="green">558</FONT>         * @param includeInterval  a flag that determines whether or not the<a name="line.558"></a><FONT color="green">559</FONT>         *                         x-interval is taken into account.<a name="line.559"></a><FONT color="green">560</FONT>         * <a name="line.560"></a><FONT color="green">561</FONT>         * @return The range.<a name="line.561"></a><FONT color="green">562</FONT>         */<a name="line.562"></a><FONT color="green">563</FONT>        public Range getDomainBounds(boolean includeInterval) {<a name="line.563"></a><FONT color="green">564</FONT>            if (includeInterval) {<a name="line.564"></a><FONT color="green">565</FONT>                return this.intervalDelegate.getDomainBounds(includeInterval);<a name="line.565"></a><FONT color="green">566</FONT>            }<a name="line.566"></a><FONT color="green">567</FONT>            else {<a name="line.567"></a><FONT color="green">568</FONT>                return DatasetUtilities.iterateDomainBounds(this, includeInterval);<a name="line.568"></a><FONT color="green">569</FONT>            }<a name="line.569"></a><FONT color="green">570</FONT>        }<a name="line.570"></a><FONT color="green">571</FONT>        <a name="line.571"></a><FONT color="green">572</FONT>        /**<a name="line.572"></a><FONT color="green">573</FONT>         * Returns the interval position factor. <a name="line.573"></a><FONT color="green">574</FONT>         * <a name="line.574"></a><FONT color="green">575</FONT>         * @return The interval position factor.<a name="line.575"></a><FONT color="green">576</FONT>         */<a name="line.576"></a><FONT color="green">577</FONT>        public double getIntervalPositionFactor() {<a name="line.577"></a><FONT color="green">578</FONT>            return this.intervalDelegate.getIntervalPositionFactor();<a name="line.578"></a><FONT color="green">579</FONT>        }<a name="line.579"></a><FONT color="green">580</FONT>    <a name="line.580"></a><FONT color="green">581</FONT>        /**<a name="line.581"></a><FONT color="green">582</FONT>         * Sets the interval position factor. Must be between 0.0 and 1.0 inclusive.<a name="line.582"></a><FONT color="green">583</FONT>         * If the factor is 0.5, the gap is in the middle of the x values. If it<a name="line.583"></a><FONT color="green">584</FONT>         * is lesser than 0.5, the gap is farther to the left and if greater than<a name="line.584"></a><FONT color="green">585</FONT>         * 0.5 it gets farther to the right.<a name="line.585"></a><FONT color="green">586</FONT>         *  <a name="line.586"></a><FONT color="green">587</FONT>         * @param d the new interval position factor.<a name="line.587"></a><FONT color="green">588</FONT>         */<a name="line.588"></a><FONT color="green">589</FONT>        public void setIntervalPositionFactor(double d) {<a name="line.589"></a><FONT color="green">590</FONT>            this.intervalDelegate.setIntervalPositionFactor(d);<a name="line.590"></a><FONT color="green">591</FONT>            fireDatasetChanged();<a name="line.591"></a><FONT color="green">592</FONT>        }<a name="line.592"></a><FONT color="green">593</FONT>    <a name="line.593"></a><FONT color="green">594</FONT>        /**<a name="line.594"></a><FONT color="green">595</FONT>         * returns the full interval width. <a name="line.595"></a><FONT color="green">596</FONT>         * <a name="line.596"></a><FONT color="green">597</FONT>         * @return The interval width to use.<a name="line.597"></a><FONT color="green">598</FONT>         */<a name="line.598"></a><FONT color="green">599</FONT>        public double getIntervalWidth() {<a name="line.599"></a><FONT color="green">600</FONT>            return this.intervalDelegate.getIntervalWidth();<a name="line.600"></a><FONT color="green">601</FONT>        }<a name="line.601"></a><FONT color="green">602</FONT>    <a name="line.602"></a><FONT color="green">603</FONT>        /**<a name="line.603"></a><FONT color="green">604</FONT>         * Sets the interval width to a fixed value, and sends a <a name="line.604"></a><FONT color="green">605</FONT>         * {@link DatasetChangeEvent} to all registered listeners. <a name="line.605"></a><FONT color="green">606</FONT>         * <a name="line.606"></a><FONT color="green">607</FONT>         * @param d  the new interval width (must be &gt; 0).<a name="line.607"></a><FONT color="green">608</FONT>         */<a name="line.608"></a><FONT color="green">609</FONT>        public void setIntervalWidth(double d) {<a name="line.609"></a><FONT color="green">610</FONT>            this.intervalDelegate.setFixedIntervalWidth(d);<a name="line.610"></a><FONT color="green">611</FONT>            fireDatasetChanged();<a name="line.611"></a><FONT color="green">612</FONT>        }<a name="line.612"></a><FONT color="green">613</FONT>    <a name="line.613"></a><FONT color="green">614</FONT>        /**<a name="line.614"></a><FONT color="green">615</FONT>         * Returns whether the interval width is automatically calculated or not.<a name="line.615"></a><FONT color="green">616</FONT>         * <a name="line.616"></a><FONT color="green">617</FONT>         * @return A flag that determines whether or not the interval width is <a name="line.617"></a><FONT color="green">618</FONT>         *         automatically calculated.<a name="line.618"></a><FONT color="green">619</FONT>         */<a name="line.619"></a><FONT color="green">620</FONT>        public boolean isAutoWidth() {<a name="line.620"></a><FONT color="green">621</FONT>            return this.intervalDelegate.isAutoWidth();<a name="line.621"></a><FONT color="green">622</FONT>        }<a name="line.622"></a><FONT color="green">623</FONT>    <a name="line.623"></a><FONT color="green">624</FONT>        /**<a name="line.624"></a><FONT color="green">625</FONT>         * Sets the flag that indicates whether the interval width is automatically<a name="line.625"></a><FONT color="green">626</FONT>         * calculated or not. <a name="line.626"></a><FONT color="green">627</FONT>         * <a name="line.627"></a><FONT color="green">628</FONT>         * @param b  a boolean.<a name="line.628"></a><FONT color="green">629</FONT>         */<a name="line.629"></a><FONT color="green">630</FONT>        public void setAutoWidth(boolean b) {<a name="line.630"></a><FONT color="green">631</FONT>            this.intervalDelegate.setAutoWidth(b);<a name="line.631"></a><FONT color="green">632</FONT>            fireDatasetChanged();<a name="line.632"></a><FONT color="green">633</FONT>        }<a name="line.633"></a><FONT color="green">634</FONT>     <a name="line.634"></a><FONT color="green">635</FONT>    }<a name="line.635"></a></PRE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -