Java Doc for SDialog.java in  » Swing-Library » wings3 » org » wings » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » wings3 » org.wings 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.wings.SComponent
      org.wings.SContainer
         org.wings.SForm
            org.wings.SWindow
               org.wings.SDialog

All known Subclasses:   org.wings.SOptionPane,
SDialog
public class SDialog extends SWindow (Code)
Top-level window with a title and a border that is typically used to take some form of input from the user.

As opposed to Swing, wingS dialogs are non modal. However, the dismission of the dialog is propagated by means of ActionEvents. The action command of the event tells, what kind of user activity caused the dialog to dismiss.
author:
   Holger Engels
author:
   Roman Rädle



Field Summary
final public static  StringCLOSE_ACTION
    
final public static  StringDEFAULT_ACTION
    
protected  booleandraggable
    
protected  SIconicon
    
protected  booleanmodal
    
protected  Stringtitle
    
protected  intx
    
protected  inty
    

Constructor Summary
public  SDialog()
    
public  SDialog(SFrame owner)
     Creates a dialog with the specifed parent SFrame as its owner.
public  SDialog(SFrame owner, boolean modal)
     Creates a modal or non-modal dialog without a title and with the specified owner Frame.
public  SDialog(SFrame owner, String title)
     Creates a dialog with the specified title and the specified owner frame.
public  SDialog(SFrame owner, String title, boolean modal)
     Creates a modal or non-modal dialog with the specified title and the specified owner Frame.

Method Summary
public  SIcongetIcon()
    
public  StringgetTitle()
     Gets the title of the dialog.
public  intgetX()
    
public  intgetY()
    
public  voidhide()
    
public  booleanisClosable()
    
public  booleanisDraggable()
    
public  booleanisModal()
    
public  voidprocessLowLevelEvent(String action, String[] values)
    
public  voidsetCG(DialogCG cg)
    
public  voidsetClosable(boolean v)
    
public  voidsetDraggable(boolean draggable)
    
public  voidsetIcon(SIcon i)
    
public  voidsetModal(boolean modal)
    
public  voidsetTitle(String t)
     Sets the title of the dialog.
public  voidsetX(int x)
    
public  voidsetY(int y)
    

Field Detail
CLOSE_ACTION
final public static String CLOSE_ACTION(Code)
Action command if dialog window was closed



DEFAULT_ACTION
final public static String DEFAULT_ACTION(Code)
Action command if user hit return



draggable
protected boolean draggable(Code)



icon
protected SIcon icon(Code)



modal
protected boolean modal(Code)



title
protected String title(Code)
The Title of the Dialog Frame



x
protected int x(Code)



y
protected int y(Code)




Constructor Detail
SDialog
public SDialog()(Code)
Creates a Dialog without parent SFrame or SDialog and without Title



SDialog
public SDialog(SFrame owner)(Code)
Creates a dialog with the specifed parent SFrame as its owner.
Parameters:
  owner - the parent SFrame



SDialog
public SDialog(SFrame owner, boolean modal)(Code)
Creates a modal or non-modal dialog without a title and with the specified owner Frame. If owner is null, a shared, hidden frame will be set as the owner of the dialog.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.
Parameters:
  owner - the Frame from which the dialog is displayed
Parameters:
  modal - true for a modal dialog, false for one that allows otherswindows to be active at the same time returns true.




SDialog
public SDialog(SFrame owner, String title)(Code)
Creates a dialog with the specified title and the specified owner frame.
Parameters:
  owner - the parent SFrame
Parameters:
  title - the String to display as titke



SDialog
public SDialog(SFrame owner, String title, boolean modal)(Code)
Creates a modal or non-modal dialog with the specified title and the specified owner Frame. If owner is null, a shared, hidden frame will be set as the owner of this dialog. All constructors defer to this one.

NOTE: Any popup components (JComboBox, JPopupMenu, JMenuBar) created within a modal dialog will be forced to be lightweight.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.
Parameters:
  owner - the Frame from which the dialog is displayed
Parameters:
  title - the String to display in the dialog's title bar
Parameters:
  modal - true for a modal dialog, false for one that allows otherwindows to be active at the same time returns true.





Method Detail
getIcon
public SIcon getIcon()(Code)



getTitle
public String getTitle()(Code)
Gets the title of the dialog. The title is displayed in the dialog's border. the title of this dialog window. The title may be null.



getX
public int getX()(Code)



getY
public int getY()(Code)



hide
public void hide()(Code)



isClosable
public boolean isClosable()(Code)



isDraggable
public boolean isDraggable()(Code)



isModal
public boolean isModal()(Code)



processLowLevelEvent
public void processLowLevelEvent(String action, String[] values)(Code)



setCG
public void setCG(DialogCG cg)(Code)



setClosable
public void setClosable(boolean v)(Code)



setDraggable
public void setDraggable(boolean draggable)(Code)



setIcon
public void setIcon(SIcon i)(Code)



setModal
public void setModal(boolean modal)(Code)



setTitle
public void setTitle(String t)(Code)
Sets the title of the dialog.
Parameters:
  t - the title displayed in the dialog's border; a null valueresults in an empty title



setX
public void setX(int x)(Code)



setY
public void setY(int y)(Code)



Fields inherited from org.wings.SWindow
final public static String CLOSE_ACTION(Code)(Java Doc)
final public static String DEFAULT_ACTION(Code)(Java Doc)
protected SRootContainer owner(Code)(Java Doc)

Methods inherited from org.wings.SWindow
public void dispose()(Code)(Java Doc)
public SRootContainer getOwner()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public void processLowLevelEvent(String action, String[] values)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public void show(SComponent c)(Code)(Java Doc)

Fields inherited from org.wings.SForm
final public static String ENC_TYPE_MULTIPART_FORM(Code)(Java Doc)
final public static String ENC_TYPE_TEXT_PLAIN(Code)(Java Doc)
final public static String URL_ENCODING(Code)(Java Doc)
protected String actionCommand(Code)(Java Doc)
int fileChooserCount(Code)(Java Doc)
final protected EventListenerList listenerList(Code)(Java Doc)

Methods inherited from org.wings.SForm
public void addActionListener(ActionListener listener)(Code)(Java Doc)
public static void addArmedComponent(LowLevelEventListener component)(Code)(Java Doc)
public SComponent addComponent(SComponent c, Object constraint, int index)(Code)(Java Doc)
public static void clearArmedComponents()(Code)(Java Doc)
protected void fireActionPerformed(String pActionCommand)(Code)(Java Doc)
public static void fireEvents()(Code)(Java Doc)
public void fireFinalEvents()(Code)(Java Doc)
public void fireIntermediateEvents()(Code)(Java Doc)
public URL getAction()(Code)(Java Doc)
public String getActionCommand()(Code)(Java Doc)
public FormCG getCG()(Code)(Java Doc)
public SButton getDefaultButton()(Code)(Java Doc)
public String getEncodingType()(Code)(Java Doc)
public RequestURL getRequestURL()(Code)(Java Doc)
public boolean isEpochCheckEnabled()(Code)(Java Doc)
public boolean isPostMethod()(Code)(Java Doc)
public void processLowLevelEvent(String action, String[] values)(Code)(Java Doc)
public void registerFileChooser(SFileChooser fileChooser)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void setAction(URL action)(Code)(Java Doc)
public void setActionCommand(String actionCommand)(Code)(Java Doc)
public void setCG(FormCG cg)(Code)(Java Doc)
public void setDefaultButton(SButton defaultButton)(Code)(Java Doc)
public void setEncodingType(String type)(Code)(Java Doc)
public void setEpochCheckEnabled(boolean epochCheckEnabled)(Code)(Java Doc)
public void setPostMethod(boolean postMethod)(Code)(Java Doc)
public void unregisterFileChooser(SFileChooser fileChooser)(Code)(Java Doc)

Methods inherited from org.wings.SContainer
public SComponent add(SComponent c)(Code)(Java Doc)
public void add(SComponent c, Object constraint)(Code)(Java Doc)
public SComponent add(SComponent c, int index)(Code)(Java Doc)
public void add(SComponent c, Object constraint, int index)(Code)(Java Doc)
public SComponent addComponent(SComponent c)(Code)(Java Doc)
public SComponent addComponent(SComponent c, Object constraint)(Code)(Java Doc)
public SComponent addComponent(SComponent c, int index)(Code)(Java Doc)
public SComponent addComponent(SComponent c, Object constraint, int index)(Code)(Java Doc)
public void addContainerListener(SContainerListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected void fireContainerEvent(int type, SComponent comp)(Code)(Java Doc)
public SComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
protected ArrayList getComponentList()(Code)(Java Doc)
public SComponent[] getComponents()(Code)(Java Doc)
public Object getConstraintAt(int i)(Code)(Java Doc)
protected ArrayList getConstraintList()(Code)(Java Doc)
public SLayoutManager getLayout()(Code)(Java Doc)
public void invite(ComponentVisitor visitor) throws Exception(Code)(Java Doc)
public void inviteEachComponent(ComponentVisitor visitor) throws Exception(Code)(Java Doc)
protected boolean isShowingChildren()(Code)(Java Doc)
protected void processContainerEvent(SContainerListener listener, SContainerEvent e)(Code)(Java Doc)
public void remove(SComponent c)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public void removeContainerListener(SContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setCG(ContainerCG cg)(Code)(Java Doc)
public void setLayout(SLayoutManager l)(Code)(Java Doc)
protected void setParentFrame(SFrame f)(Code)(Java Doc)
public void updateCG()(Code)(Java Doc)

Fields inherited from org.wings.SComponent
final public static int DONE_RENDERING(Code)(Java Doc)
final public static Selector SELECTOR_ALL(Code)(Java Doc)
final public static int START_RENDERING(Code)(Java Doc)
final public static int WHEN_FOCUSED_OR_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_FRAME(Code)(Java Doc)
protected Map<Selector, Style> dynamicStyles(Code)(Java Doc)
protected boolean enabled(Code)(Java Doc)
protected boolean visible(Code)(Java Doc)

Methods inherited from org.wings.SComponent
final public void addComponentListener(SComponentListener l)(Code)(Java Doc)
public void addDynamicStyle(Style style)(Code)(Java Doc)
final protected void addEventListener(Class<T> type, T listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
final public void addParentFrameListener(SParentFrameListener l)(Code)(Java Doc)
final public void addRenderListener(SRenderListener renderListener)(Code)(Java Doc)
final public void addScriptListener(ScriptListener listener)(Code)(Java Doc)
public void addStyle(String additionalCssClassName)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected void fireComponentChangeEvent(SComponentEvent aEvent)(Code)(Java Doc)
public void fireFinalEvents()(Code)(Java Doc)
protected void fireKeyEvents()(Code)(Java Doc)
final public void fireRenderEvent(int type)(Code)(Java Doc)
public ActionMap getActionMap()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public SBorder getBorder()(Code)(Java Doc)
public ComponentCG getCG()(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
public SPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public Style getDynamicStyle(Selector selector)(Code)(Java Doc)
public Collection getDynamicStyles()(Code)(Java Doc)
public int getFocusTraversalIndex()(Code)(Java Doc)
public SFont getFont()(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public int getHorizontalAlignment()(Code)(Java Doc)
public InputMap getInputMap()(Code)(Java Doc)
public InputMap getInputMap(int condition)(Code)(Java Doc)
final protected int getListenerCount(Class type)(Code)(Java Doc)
final protected Object[] getListenerList()(Code)(Java Doc)
final public EventListener[] getListeners(Class<? extends EventListener> type)(Code)(Java Doc)
public String getLowLevelEventId()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
final public SContainer getParent()(Code)(Java Doc)
public SFrame getParentFrame()(Code)(Java Doc)
public SDimension getPreferredSize()(Code)(Java Doc)
public RequestURL getRequestURL()(Code)(Java Doc)
public boolean getResidesInForm()(Code)(Java Doc)
public List<ScriptListener> getScriptListenerList()(Code)(Java Doc)
public ScriptListener[] getScriptListeners()(Code)(Java Doc)
final public Session getSession()(Code)(Java Doc)
public boolean getShowAsFormComponent()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public int getVerticalAlignment()(Code)(Java Doc)
public void invite(ComponentVisitor visitor) throws Exception(Code)(Java Doc)
protected static boolean isDifferent(Object oldObject, Object newObject)(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isRecursivelyVisible()(Code)(Java Doc)
public boolean isReloadForced()(Code)(Java Doc)
protected boolean isUpdatePossible()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
protected void processComponentEvent(SComponentListener listener, SComponentEvent e)(Code)(Java Doc)
protected boolean processKeyEvents(String[] values)(Code)(Java Doc)
protected void processLowLevelEvent(String name, String[] values)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
final void register()(Code)(Java Doc)
public void reload()(Code)(Java Doc)
final protected void reloadIfChange(Object oldVal, Object newVal)(Code)(Java Doc)
final protected void reloadIfChange(int oldVal, int newVal)(Code)(Java Doc)
final protected void reloadIfChange(boolean oldVal, boolean newVal)(Code)(Java Doc)
final protected void reloadIfChange(byte oldVal, byte newVal)(Code)(Java Doc)
final protected void reloadIfChange(short oldVal, short newVal)(Code)(Java Doc)
final protected void reloadIfChange(long oldVal, long newVal)(Code)(Java Doc)
final protected void reloadIfChange(float oldVal, float newVal)(Code)(Java Doc)
final protected void reloadIfChange(double oldVal, double newVal)(Code)(Java Doc)
final protected void reloadIfChange(char oldVal, char newVal)(Code)(Java Doc)
final public void removeComponentListener(SComponentListener l)(Code)(Java Doc)
public void removeDynamicStyle(Selector selector)(Code)(Java Doc)
final protected void removeEventListener(Class<T> type, T listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
final public void removeParentFrameListener(SParentFrameListener l)(Code)(Java Doc)
final public void removeRenderListener(SRenderListener renderListener)(Code)(Java Doc)
final public void removeScriptListener(ScriptListener listener)(Code)(Java Doc)
public void removeStyle(String cssStyleClassName)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
public void setActionMap(ActionMap actionMap)(Code)(Java Doc)
public void setAttribute(String cssPropertyName, String value)(Code)(Java Doc)
public void setAttribute(CSSProperty property, String propertyValue)(Code)(Java Doc)
public void setAttribute(Selector selector, CSSProperty property, String propertyValue)(Code)(Java Doc)
public void setAttribute(Selector selector, CSSProperty property, SIcon icon)(Code)(Java Doc)
public void setAttribute(Selector selector, CSSProperty property, Color color)(Code)(Java Doc)
public void setAttributes(Selector selector, CSSAttributeSet attributes)(Code)(Java Doc)
public void setBackground(Color color)(Code)(Java Doc)
public void setBorder(SBorder border)(Code)(Java Doc)
public void setCG(ComponentCG newCG)(Code)(Java Doc)
public void setComponentPopupMenu(SPopupMenu popupMenu)(Code)(Java Doc)
public void setDynamicStyles(Collection dynamicStyles)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalIndex(int index)(Code)(Java Doc)
public void setFont(SFont font)(Code)(Java Doc)
public void setForeground(Color color)(Code)(Java Doc)
public void setHorizontalAlignment(int alignment)(Code)(Java Doc)
public void setInputMap(InputMap inputMap)(Code)(Java Doc)
public void setInputMap(int condition, InputMap inputMap)(Code)(Java Doc)
public void setName(String uniqueName)(Code)(Java Doc)
public void setNameRaw(String uncheckedName)(Code)(Java Doc)
public void setParent(SContainer parent)(Code)(Java Doc)
protected void setParentFrame(SFrame parentFrame)(Code)(Java Doc)
public void setPreferredSize(SDimension preferredSize)(Code)(Java Doc)
public void setReloadForced(boolean forced)(Code)(Java Doc)
public void setShowAsFormComponent(boolean showAsFormComponent)(Code)(Java Doc)
public void setStyle(String cssClassName)(Code)(Java Doc)
public void setToolTipText(String t)(Code)(Java Doc)
public void setVerticalAlignment(int alignment)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final void unregister()(Code)(Java Doc)
public void update(Update update)(Code)(Java Doc)
public void updateCG()(Code)(Java Doc)
public void write(Device s) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.