inheritance.java

来自「GEo 地理操作源代码」· Java 代码 · 共 101 行

JAVA
101
字号
/************************************************************************************************** ** ** $Id: Inheritance.java,v 1.3 2004/03/02 03:14:41 gregreynolds Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/go/display/style/Attic/Inheritance.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.go.display.style;/** * Encapsulates the inheritance attributes that can be applied to any * {@link org.opengis.go.display.primitive.Graphic}. * * @version 0.2 * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> */public interface Inheritance {    /**     * Default inherit style from parent value.     */    public static final boolean DEFAULT_INHERIT_STYLE_FROM_PARENT = false;    /**     * Default override aggregated graphics value.     */    public static final boolean DEFAULT_OVERRIDE_AGGREGATED_GRAPHICS = false;        /**     * Inherit style from parent attribute name.     */    public static final String INHERIT_STYLE_FROM_PARENT = "INHERITANCE_INHERIT_STYLE_FROM_PARENT";    /**     * Override aggregated graphics attribute name.     */    public static final String OVERRIDE_AGGREGATED_GRAPHICS = "INHERITANCE_OVERRIDE_AGGREGATED_GRAPHICS";                /**     * Returns the inherit style from parent value.     *     * @return the inherit style from parent value.     */    public boolean isInheritingStyleFromParent();        /**     * Returns whether the inherit style from parent value has been set.     *     * @return <code>true</code> if the inherit style from parent value     *         has been set, <code>false</code> otherwise.     */        public boolean isInheritingStyleFromParentSet();        /**     * Sets the inherit style from parent value.     *     * @param inheritStyleFromParent the inherit style from parent value.     */        public void setInheritingStyleFromParent(boolean inheritStyleFromParent);        /**     * Sets the fact that the inherit style from parent value has been set.     *     * @param flag <code>true</code> if the inherit style from parent value     *             has been set, <code>false</code> otherwise.     */        public void setInheritingStyleFromParentSet(boolean flag);     /**     * Returns the override aggregated graphics value.     *     * @return the override aggregated graphics value.     */    public boolean isOverridingAggregatedGraphics();        /**     * Returns whether the override aggregated graphics value has been set.     *     * @return <code>true</code> if the override aggregated graphics value     *         has been set, <code>false</code> otherwise.     */        public boolean isOverridingAggregatedGraphicsSet();        /**     * Sets the override aggregated graphics value.     *     * @param overrideAggregatedGraphics the override aggregated graphics value.     */        public void setOverridingAggregatedGraphics(boolean overrideAggregatedGraphics);        /**     * Sets the fact that the override aggregated graphics value has been set.     *     * @param flag <code>true</code> if the override aggregated graphics value     *             has been set, <code>false</code> otherwise.     */        public void setOverridingAggregatedGraphicsSet(boolean flag);}

⌨️ 快捷键说明

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