Class JSplashScreen
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
javax.swing.JWindow
net.thevpc.common.swing.splash.JSplashScreen
- All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumNested classes/interfaces inherited from class JWindow
JWindow.AccessibleJWindowNested classes/interfaces inherited from class Window
Window.AccessibleAWTWindowNested classes/interfaces inherited from class Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields inherited from class JWindow
accessibleContext, rootPane, rootPaneCheckingEnabledFields inherited from class Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidgeMessageAt(int index) floatintintintintintgetTextY()intintlongbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidsetBackgroundColor(Color backgroundColor) voidvoidsetErrorColor(Color errorColor) voidsetForegroundColor(Color foregroundColor) voidsetHideOnClick(boolean hideOnClick) voidsetHorizontalAnimation(boolean horizontalAnimation) voidsetImageIcon(ImageIcon imageIcon) voidsetInfoColor(Color infoColor) voidsetMessageAt(int index, JSplashScreen.Message msg) voidsetMessages(JSplashScreen.Message[] msg) voidsetProgress(float progress) voidsetProgressLineColor(Color progressLineColor) voidsetProgressLineColor2(Color progressLineColor2) voidsetProgressText(String progressText) voidsetProgressTextColor(Color progressTextColor) voidsetRainbowColor(Color rainbowColor) voidsetRainbowColor2(Color rainbowColor2) voidsetRainbowColor3(Color rainbowColor3) voidsetRainbowColor4(Color rainbowColor4) voidsetRenderer(JLabel renderer) voidsetShowProgress(boolean showProgress) voidsetSuccessColor(Color successColor) voidsetTextBounds(int x, int y, int width, int height) voidvoidsetTextHeightDelta(int textHeightDelta) voidsetTextHeightExact(int textHeightExact) voidsetTextXmax(int textXmax) voidsetTextXmin(int textXmin) voidsetTextY(int textY) voidsetTextYmax(int textYmax) voidsetTextYmin(int textYmin) voidsetTimeout(long timeout) voidsetVerticalAnimation(boolean verticalAnimation) voidsetVerticalAnimationLoop(boolean verticalAnimationLoop) voidsetWarnColor(Color warnColor) Methods inherited from class JWindow
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update, windowInitMethods inherited from class Window
addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBackground, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setOpacity, setShape, setSize, setSize, setType, setVisible, show, toBack, toFrontMethods inherited from class Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeMethods inherited from class Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Constructor Details
-
JSplashScreen
-
-
Method Details
-
openSplash
public void openSplash() -
closeSplash
public void closeSplash() -
setComponentOrientation
- Overrides:
setComponentOrientationin classComponent
-
getRenderer
-
setRenderer
-
animateText
public void animateText() -
clearMessages
public void clearMessages() -
setMessageAt
-
geMessageAt
-
setMessages
-
addMessage
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
isHideOnClick
public boolean isHideOnClick() -
setHideOnClick
public void setHideOnClick(boolean hideOnClick) -
isVerticalAnimation
public boolean isVerticalAnimation() -
setVerticalAnimation
public void setVerticalAnimation(boolean verticalAnimation) -
isHorizontalAnimation
public boolean isHorizontalAnimation() -
setHorizontalAnimation
public void setHorizontalAnimation(boolean horizontalAnimation) -
isVerticalAnimationLoop
public boolean isVerticalAnimationLoop() -
setVerticalAnimationLoop
public void setVerticalAnimationLoop(boolean verticalAnimationLoop) -
getTextYmin
public int getTextYmin() -
setTextBounds
public void setTextBounds(int x, int y, int width, int height) -
setTextBounds
-
getTextXmin
public int getTextXmin() -
setTextXmin
public void setTextXmin(int textXmin) -
getTextXmax
public int getTextXmax() -
setTextXmax
public void setTextXmax(int textXmax) -
setTextYmin
public void setTextYmin(int textYmin) -
getTextYmax
public int getTextYmax() -
setTextYmax
public void setTextYmax(int textYmax) -
getTextY
public int getTextY() -
setTextY
public void setTextY(int textY) -
getBackgroundColor
-
setBackgroundColor
-
getForegroundColor
-
setForegroundColor
-
getImageIcon
-
setImageIcon
-
getProgress
public float getProgress() -
setProgressText
-
setProgress
public void setProgress(float progress) -
progressStart
-
progressUpdate
-
progressEnd
-
getErrorColor
-
setErrorColor
-
getInfoColor
-
setInfoColor
-
getSuccessColor
-
setSuccessColor
-
getWarnColor
-
setWarnColor
-
getRainbowColor
-
setRainbowColor
-
getRainbowColor2
-
setRainbowColor2
-
getRainbowColor3
-
setRainbowColor3
-
getRainbowColor4
-
setRainbowColor4
-
getProgressLineColor
-
setProgressLineColor
-
getProgressLineColor2
-
setProgressLineColor2
-
getProgressTextColor
-
setProgressTextColor
-
isShowProgress
public boolean isShowProgress() -
setShowProgress
public void setShowProgress(boolean showProgress) -
getTextHeightDelta
public int getTextHeightDelta() -
setTextHeightDelta
public void setTextHeightDelta(int textHeightDelta) -
getTextHeightExact
public int getTextHeightExact() -
setTextHeightExact
public void setTextHeightExact(int textHeightExact)
-