|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
javax.swing.JWindow
com.ontimize.gui.TopWindow
Implements a 'splash window', or a window without buttons bar to show images, messages, etc.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JWindow |
javax.swing.JWindow.AccessibleJWindow |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected com.ontimize.gui.TopWindow.RepaintThread |
repaintThread
|
protected int |
repaintTime
|
| Fields inherited from class javax.swing.JWindow |
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
TopWindow(java.awt.Frame owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
|
|
TopWindow(java.awt.Frame owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
|
|
TopWindow(javax.swing.JPanel panel)
|
|
TopWindow(java.util.ResourceBundle res)
|
|
TopWindow(java.lang.String message)
|
|
TopWindow(java.lang.String message,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
|
|
TopWindow(java.lang.String message,
java.util.ResourceBundle res)
|
|
TopWindow(java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
|
|
TopWindow(java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
|
|
TopWindow(java.awt.Window owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
|
|
TopWindow(java.awt.Window owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
|
|
| Method Summary | |
protected void |
center()
|
static TopWindow |
createSearchingWindow(java.util.ResourceBundle res)
|
static TopWindow |
createWorkingWindow(java.util.ResourceBundle res)
|
java.util.Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated. |
void |
hide()
|
void |
pack()
|
void |
setComponentLocale(java.util.Locale l)
|
void |
setRepaintTime(int repaintTime)
|
void |
setResourceBundle(java.util.ResourceBundle res)
Sets the language resource bundle. |
void |
setTextColor(java.awt.Color color)
|
void |
show()
|
void |
show(boolean repaint)
repaint specifies that the window must be painted each repaintTime milliseconds using a high priority thread, but
this painting does not happen if the event dispatcher thread is busy |
void |
show(int milliseconds)
Show the window during the specified time. |
void |
update()
Repaint the window |
void |
updateIcon(javax.swing.ImageIcon icon)
|
void |
updateText(java.lang.String text)
Update the text in the window if this window shows a text, in other case does nothing. |
| Methods inherited from class javax.swing.JWindow |
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update, windowInit |
| Methods inherited from class java.awt.Window |
addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ontimize.gui.ISplash |
dispose |
| Field Detail |
protected int repaintTime
protected com.ontimize.gui.TopWindow.RepaintThread repaintThread
| Constructor Detail |
public TopWindow(java.util.ResourceBundle res)
public TopWindow(java.lang.String message)
public TopWindow(java.lang.String message,
java.util.ResourceBundle res)
public TopWindow(java.lang.String message,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
public TopWindow(java.awt.Frame owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
public TopWindow(java.awt.Window owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
public TopWindow(java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2,
javax.swing.border.Border border)
public TopWindow(java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
public TopWindow(java.awt.Window owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
public TopWindow(java.awt.Frame owner,
java.lang.String message,
java.util.ResourceBundle res,
javax.swing.ImageIcon image,
javax.swing.ImageIcon image2)
public TopWindow(javax.swing.JPanel panel)
| Method Detail |
protected void center()
public void show()
show in interface ISplashpublic void setRepaintTime(int repaintTime)
setRepaintTime in interface ISplashpublic void show(boolean repaint)
repaintTime milliseconds using a high priority thread, but
this painting does not happen if the event dispatcher thread is busy
show in interface ISplashpublic void show(int milliseconds)
milliseconds - public void hide()
hide in interface ISplashpublic void updateText(java.lang.String text)
updateText in interface ISplashtext - public void updateIcon(javax.swing.ImageIcon icon)
public void update()
public void setResourceBundle(java.util.ResourceBundle res)
Internationalization
setResourceBundle in interface Internationalizationres - the new language bundle.public java.util.Vector getTextsToTranslate()
Internationalization
getTextsToTranslate in interface Internationalizationpublic void setComponentLocale(java.util.Locale l)
setComponentLocale in interface Internationalizationpublic void pack()
public void setTextColor(java.awt.Color color)
public static TopWindow createSearchingWindow(java.util.ResourceBundle res)
public static TopWindow createWorkingWindow(java.util.ResourceBundle res)
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||