| net.refractions.udig.project.ui.commands.AbstractDrawCommand net.refractions.udig.tools.edit.animation.MessageBubble
MessageBubble | public class MessageBubble extends AbstractDrawCommand implements IAnimation(Code) | | Creates a semi transparent bubble (OSX like) that show a message to the user and disappears after
a few seconds.
author: Jesse since: 1.1.0 |
MessageBubble | public MessageBubble(int x, int y, String message, short delay)(Code) | | Parameters: x - upperLeft of message Parameters: y - upperLeft of message Parameters: message - message to display Parameters: delay - the length of time to show the message |
getBubbleColor | public Color getBubbleColor()(Code) | | Returns the color used to draw the Message Bubble
the color used to draw the Message Bubble |
getFrameInterval | public short getFrameInterval()(Code) | | |
getTextColor | public Color getTextColor()(Code) | | Returns the color used to draw the Message
the color used to draw the Message |
hasNext | public boolean hasNext()(Code) | | |
nextFrame | public void nextFrame()(Code) | | |
setBubbleColor | public void setBubbleColor(Color bubbleColor)(Code) | | Sets the color used to draw the Message Bubble. Default is Color(0,0,0,167);
Parameters: bubbleColor - the new color to use |
setHorizontalBorder | public void setHorizontalBorder(int horizontalBorder)(Code) | | Sets the space between the edge of the bubble and the text. Default = 10 pixels
Parameters: horizontalBorder - border along the x-axis. In pixels. |
setHorizontalCornerArc | public void setHorizontalCornerArc(int horizontalCornerArc)(Code) | | Sets the horizontal Arc of the bubble corners for the four edges. Default is 15 pixels.
Parameters: horizontalCornerArc - the horizontal Arc of the bubble corners for the four edges in pixels. |
setTextColor | public void setTextColor(Color textColor)(Code) | | Sets the color used to draw the Message. Default is Color(200,200,200,167);
Parameters: bubbleColor - the new color to use |
setValid | public void setValid(boolean valid)(Code) | | |
setVerticalBorder | public void setVerticalBorder(int verticalBorder)(Code) | | Sets the space between the edge of the bubble and the text. Default = 10 pixels
Parameters: verticalBorder - border along the y-axis. In pixels. |
setVerticalCornerArc | public void setVerticalCornerArc(int verticalCornerArc)(Code) | | Sets the vertical Arc of the bubble corners for the four edges. Default is 15 pixels.
Parameters: verticalCornerArc - the vertical Arc of the bubble corners for the four edges in pixels. |
|
|