highlight.java

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

JAVA
93
字号
/************************************************************************************************** ** ** $Id: Highlight.java,v 1.2 2004/03/02 03:14:41 gregreynolds Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/go/display/style/Highlight.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 highlight attributes that can be applied to any * {@link org.opengis.go.display.primitive.Graphic}. * * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version $Revision: 1.2 $, $Date: 2004/03/02 03:14:41 $ */public interface Highlight {        //*************************************************************************    //  Static Fields    //*************************************************************************        //**  Highlight property names  **        public static final String HIGHLIGHT_BLINK_PATTERN = "HIGHLIGHT_BLINK_PATTERN";        public static final String HIGHLIGHT_BLINKING = "HIGHLIGHT_BLINKING";        //**  Default Highlight property values  **            /**  Default blinking value.  */    public static final boolean DEFAULT_HIGHLIGHT_BLINKING = false;    /**  Default blink pattern value.  */    public static final float[] DEFAULT_HIGHLIGHT_BLINK_PATTERN = {0.5f, 0.5f};        //*************************************************************************    //  Methods    //*************************************************************************        /**     * Returns the blinking value.     * @return the blinking value.     */    public boolean getHighlightBlinking();        /**     * Returns whether the blinking value has been set.     * @return true if the blinking value has been set, false otherwise.     */        public boolean isHighlightBlinkingSet();        /**     * Sets the blinking value.     * @param blinking the blinking value.     */        public void setHighlightBlinking(boolean blinking);        /**     * Sets the fact that the blinking value has been set.     * @param flag true if the blinking value has been set, false otherwise.     */        public void setHighlightBlinkingSet(boolean flag);       /**     * Returns the blink pattern value.     * @return the blink pattern value.     */    public float[] getHighlightBlinkPattern();        /**     * Returns whether the blink pattern value has been set.     * @return true if the blink pattern value has been set, false otherwise.     */        public boolean isHighlightBlinkPatternSet();        /**     * Sets the blink pattern value.     * @param blinkPattern the blink pattern value.     */        public void setHighlightBlinkPattern(float[] blinkPattern);        /**     * Sets the fact that the blink pattern value has been set.     * @param flag true if the blink pattern value has been set, false otherwise.     */        public void setHighlightBlinkPatternSet(boolean flag);   }

⌨️ 快捷键说明

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