|
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.util.notice.NewNoticeWindow
| Nested Class Summary | |
protected class |
NewNoticeWindow.ListenerClick
|
| 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 static boolean |
alwaysVisible
When alwaysVisible is true the user can not hide the window It is used with the force read notices and only can be false if all these notices are read |
protected javax.swing.JButton |
bClose
|
static boolean |
defaultMarkAsReadOnClick
Mark as read notices when user clicks on notice window. |
protected java.lang.String |
formName
|
protected javax.swing.JLabel |
licon
|
protected NewNoticeWindow.ListenerClick |
listenerClick
|
protected javax.swing.JLabel |
ltext
|
protected java.lang.String |
managerName
|
protected boolean |
markAsReadOnClick
|
protected javax.swing.JPanel |
panel
|
protected boolean |
visibleWindow
|
| 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.util.notice.INoticeWindow |
NEW_MESSAGES_RECEIVED, NEW_NOTICE_INFO, NEW_NOTICES_MESSAGE, NEW_NOTICES_TOOLTIP |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
NewNoticeWindow(java.awt.Frame f)
|
|
| Method Summary | |
void |
addMouseListeners()
|
void |
configWindow()
|
javax.swing.JButton |
getCloseButton()
|
javax.swing.JLabel |
getLabelIcon()
|
javax.swing.JLabel |
getLabelText()
|
NewNoticeWindow.ListenerClick |
getListenerClick()
|
boolean |
isAlwaysVisible()
|
boolean |
isMarkAsReadOnClick()
|
boolean |
isVisibleWindow()
|
void |
markAsReadNotices()
|
void |
placeWindow()
Put the window in the left bottom of the application frame only if the window is visible |
static void |
putLeftBottom(java.awt.Component c,
java.awt.Component cp)
Put the window in the left button corner of the application frame |
void |
setAlwaysVisible(boolean alwaysVisible)
|
void |
setFormReference(java.lang.String formManagerName,
java.lang.String formName)
|
void |
setListenerClick(NewNoticeWindow.ListenerClick listenerClick)
|
void |
setMarkAsReadOnClick(boolean markAsReadOnClick)
|
void |
setVisible(boolean b)
|
void |
setVisibleWindow(boolean visible,
boolean alwaysVisible,
java.lang.String text)
Shows or hides the window. |
void |
setVisibleWindow(boolean visible,
java.lang.String text)
Show or hide the window. |
| 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, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, 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, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static boolean defaultMarkAsReadOnClick
protected static boolean alwaysVisible
protected boolean visibleWindow
protected javax.swing.JLabel licon
protected javax.swing.JLabel ltext
protected javax.swing.JButton bClose
protected NewNoticeWindow.ListenerClick listenerClick
protected javax.swing.JPanel panel
protected java.lang.String formName
protected java.lang.String managerName
protected boolean markAsReadOnClick
| Constructor Detail |
public NewNoticeWindow(java.awt.Frame f)
| Method Detail |
public boolean isMarkAsReadOnClick()
public void setMarkAsReadOnClick(boolean markAsReadOnClick)
public static void putLeftBottom(java.awt.Component c,
java.awt.Component cp)
c - Component to showcp - Application framepublic void configWindow()
public void setVisible(boolean b)
public void addMouseListeners()
public NewNoticeWindow.ListenerClick getListenerClick()
public void setListenerClick(NewNoticeWindow.ListenerClick listenerClick)
public void setFormReference(java.lang.String formManagerName,
java.lang.String formName)
public void setVisibleWindow(boolean visible,
java.lang.String text)
setVisibleWindow in interface INoticeWindow
public void setVisibleWindow(boolean visible,
boolean alwaysVisible,
java.lang.String text)
INoticeWindow
setVisibleWindow in interface INoticeWindowvisible - If visible is true then the window is shown else is hidedalwaysVisible - If alwaysVisible is true then the window can not be hidedtext - Text to show in the windowpublic void setAlwaysVisible(boolean alwaysVisible)
setAlwaysVisible in interface INoticeWindowpublic boolean isAlwaysVisible()
isAlwaysVisible in interface INoticeWindowpublic boolean isVisibleWindow()
isVisibleWindow in interface INoticeWindowpublic void placeWindow()
INoticeWindow
placeWindow in interface INoticeWindowpublic javax.swing.JLabel getLabelIcon()
public javax.swing.JLabel getLabelText()
public javax.swing.JButton getCloseButton()
public void markAsReadNotices()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||