| java.awt.Container net.xoetrope.xui.XPage net.xoetrope.awt.XDialog net.xoetrope.awt.XMessageBox
XMessageBox | public class XMessageBox extends XDialog implements XMessageBoxSetup(Code) | | Creates a simple modal MessageBox with a label for the text
and a close button
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt
$Revision: 1.10 $
|
Constructor Summary | |
public | XMessageBox() Constructor creates the close image and the label for displaying the message. |
XMessageBox | public XMessageBox()(Code) | | Constructor creates the close image and the label for displaying the message.
|
closeDlg | public void closeDlg()(Code) | | Close the dialog.
|
setSize | public void setSize(int width, int height)(Code) | | Adjust the size and locatio of the close image and the message label.
Parameters: width - The new width of the dialog. Parameters: height - The new height of the dialog. |
setup | public void setup(String title, String msg, Dimension size, Container container)(Code) | | Setup the content of the message box
Parameters: title - the message box title or caption Parameters: msg - the text of the message Parameters: size - the size of the owner page Parameters: container - container content page |
Methods inherited from net.xoetrope.xui.XPage | public int accumulateMessages(boolean start, int level)(Code)(Java Doc) public void addActionHandler(Component comp, String methodName)(Code)(Java Doc) public void addBinding(XDataBinding b)(Code)(Java Doc) public void addFocusHandler(Component comp, String methodName)(Code)(Java Doc) public void addHandler(Component comp, long eventType, String methodName) throws Exception(Code)(Java Doc) public void addItemHandler(Component comp, String methodName)(Code)(Java Doc) public void addKeyHandler(Component comp, String methodName)(Code)(Java Doc) public void addListener(Object comp, String listenerName, String argType)(Code)(Java Doc) public void addMenuHandler(Object menuItem, String methodName)(Code)(Java Doc) public void addMouseHandler(Component comp, String methodName)(Code)(Java Doc) public void addMouseMotionHandler(Component comp, String methodName)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addTextHandler(Component comp, String methodName)(Code)(Java Doc) public XValidator addValidation(Component comp, String validationName, String method, int mask)(Code)(Java Doc) public XValidator addValidation(Component comp, String validationName, String method)(Code)(Java Doc) public XValidator addValidation(Component comp, String validationName)(Code)(Java Doc) public int checkValidations()(Code)(Java Doc) public void clearValidations()(Code)(Java Doc) public Object evaluateAttribute(String attribValue)(Code)(Java Doc) public String evaluatePath(String path)(Code)(Java Doc) public Component findComponent(String name)(Code)(Java Doc) public Component findComponent(Container container, String name)(Code)(Java Doc) public Object getAttribute(String attribName)(Code)(Java Doc) public Object getAttribute(String attribName, String compName)(Code)(Java Doc) public XDataBinding getBinding(Component targetComp)(Code)(Java Doc) public XDataBinding getBinding(String targetPath)(Code)(Java Doc) public Vector getBindings()(Code)(Java Doc) public XComponentFactory getComponentFactory()(Code)(Java Doc) public String getComponentName(Component comp)(Code)(Java Doc) public AWTEvent getCurrentEvent()(Code)(Java Doc) public Object getEventAttribute(Component c, String attribName)(Code)(Java Doc) public XEventHandler getEventHandler()(Code)(Java Doc) public int getStatus()(Code)(Java Doc) public XValidationHandler getValidationHandler()(Code)(Java Doc) public boolean handleException(Component comp, Exception ex, XValidator validator)(Code)(Java Doc) public boolean isFocusChangeSuppressed()(Code)(Java Doc) public void pageActivated()(Code)(Java Doc) public void pageCreated()(Code)(Java Doc) public void pageDeactivated()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintSuper(Graphics g)(Code)(Java Doc) public void removeBinding(XDataBinding b)(Code)(Java Doc) public void saveBoundComponentValues()(Code)(Java Doc) public void setAttribute(String attribName, String compName, Object attribValue)(Code)(Java Doc) public void setClearPage(boolean value)(Code)(Java Doc) public void setComponentFactory(XStyleFactory factory)(Code)(Java Doc) public void setEventHandler(XEventHandler eh)(Code)(Java Doc) public void setExceptionHandler(XValidationExceptionHandler eh)(Code)(Java Doc) public void setStatus(int newStatus)(Code)(Java Doc) public void setValidationFactory(XValidationFactory vf)(Code)(Java Doc) public void setValidationFactory(String vf)(Code)(Java Doc) public void showComponents(Container container, boolean visible, int recursionLevel)(Code)(Java Doc) public void showHandCursor(Component comp)(Code)(Java Doc) public void showMessage(String title, String msg)(Code)(Java Doc) public void showMessage(Container parent, String title, String msg)(Code)(Java Doc) public String stripAttributeValues(String path)(Code)(Java Doc) public String translate(String key)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateBindings()(Code)(Java Doc) public void updateBoundComponentValues()(Code)(Java Doc) public int validationHandler()(Code)(Java Doc) public boolean wasMouseClicked()(Code)(Java Doc) public boolean wasMouseDoubleClicked()(Code)(Java Doc) public boolean wasMouseRightClicked()(Code)(Java Doc)
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
|
|