com.supermap.plot
Class AnimationBlink
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.plot.AnimationGO
-
- com.supermap.plot.AnimationBlink
-
public class AnimationBlink extends AnimationGO
Blink animation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ColorgetBlinkAnimationReplaceColor()Gets the switched colorsColorgetBlinkAnimationStartColor()Gets the starting switched colorsdoublegetBlinkInterval()Gets the blink intervalintgetBlinkNumberofTimes()Gets the blink times in a specific timeAnimationDefine.BlinkAnimationBlinkStylegetBlinkStyle()Gets the blink types such as blink an animation according to times or intervalsAnimationDefine.BlinkAnimationReplaceStylegetReplaceStyle()Returns whether to switch colors or notvoidsetBlinkAnimationReplaceColor(Color replacecolor)Sets the switched colorsvoidsetBlinkAnimationStartColor(Color replacecolor)Sets the starting switched colorsvoidsetBlinkInterval(double blinkinterval)Sets the blink intervalvoidsetBlinkNumberofTimes(int blinkNumber)Sets the blink times in a specific timevoidsetBlinkStyle(AnimationDefine.BlinkAnimationBlinkStyle type)Sets the blink types such as blink an animation according to times or intervalsvoidsetReplaceStyle(AnimationDefine.BlinkAnimationReplaceStyle type)Sets whether to switch colors or not-
Methods inherited from class com.supermap.plot.AnimationGO
dispose, fromXml, getAnimationType, getDuration, getGeometry, getLayerName, getName, getStartTime, setDuration, setGeometry, setName, setStartTime, toXml
-
-
-
-
Method Detail
-
getBlinkInterval
public double getBlinkInterval()
Gets the blink interval- Returns:
- the blink interval
-
setBlinkInterval
public void setBlinkInterval(double blinkinterval)
Sets the blink interval- Parameters:
blinkinterval- the blink interval
-
getBlinkNumberofTimes
public int getBlinkNumberofTimes()
Gets the blink times in a specific time- Returns:
- the blink times
-
setBlinkNumberofTimes
public void setBlinkNumberofTimes(int blinkNumber)
Sets the blink times in a specific time- Parameters:
blinkNumber- the blink times
-
getBlinkStyle
public AnimationDefine.BlinkAnimationBlinkStyle getBlinkStyle()
Gets the blink types such as blink an animation according to times or intervals- Returns:
- the blink types
-
setBlinkStyle
public void setBlinkStyle(AnimationDefine.BlinkAnimationBlinkStyle type)
Sets the blink types such as blink an animation according to times or intervals- Parameters:
type- the blink types
-
getReplaceStyle
public AnimationDefine.BlinkAnimationReplaceStyle getReplaceStyle()
Returns whether to switch colors or not- Returns:
- Switches colors or not
-
setReplaceStyle
public void setReplaceStyle(AnimationDefine.BlinkAnimationReplaceStyle type)
Sets whether to switch colors or not- Parameters:
type- Whether to switch colors when blinking an animation
-
setBlinkAnimationReplaceColor
public void setBlinkAnimationReplaceColor(Color replacecolor)
Sets the switched colors- Parameters:
replacecolor- the switched colors
-
getBlinkAnimationReplaceColor
public Color getBlinkAnimationReplaceColor()
Gets the switched colors- Returns:
- the switched colors
-
setBlinkAnimationStartColor
public void setBlinkAnimationStartColor(Color replacecolor)
Sets the starting switched colors- Parameters:
replacecolor- the first color
-
getBlinkAnimationStartColor
public Color getBlinkAnimationStartColor()
Gets the starting switched colors- Returns:
- the first colors
-
-