Package javascript.swing
Class JSDialog
- java.lang.Object
-
- javascript.swing.JSComponent
-
- javascript.swing.JSDialog
-
public class JSDialog extends JSComponent
The javax.swing.JDialog clone- Author:
- gianpiero.diblasi
-
-
Constructor Summary
Constructors Constructor Description JSDialog()
Creates the object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWindowClosedListener(WindowClosedListener listener)
Adds a listener of window closedvoid
dispose()
Clone of javax.swing.JDialog.disposeJSPanel
getContentPane()
Clone of javax.swing.JDialog.getContentPanevoid
setTitle(java.lang.String title)
Clone of javax.swing.JDialog.setTitlevoid
setVisible(boolean b)
Clone of javax.swing.JDialog.setVisible-
Methods inherited from class javascript.swing.JSComponent
addChildEventListenerByQuery, addEventListener, appendChild, appendChildInTree, appendInBody, appendNodeChild, appendNodeChildInTree, clearChildContentByQuery, clearContent, cssAddClass, cssClassList, cssRemoveClass, cssToggleClass, getAttribute, getChildAttributeByIndex, getChildAttributeByQuery, getChildCount, getChildPropertyByQuery, getChilStyleByIndex, getChilStyleByQuery, getID, getProperty, getStyle, insertBefore, insertBeforeInTree, insertNodeBefore, insertNodeBeforeInTree, invoke, invokeInTree, prependChild, prependChildInTree, prependNodeChild, prependNodeChildInTree, removeAttribute, removeChildAttributeByQuery, removeFromBody, setAttribute, setBackground, setChildAttributeByIndex, setChildAttributeByQuery, setChildPropertyByQuery, setContent, setEnabled, setID, setProperty
-
-
-
-
Method Detail
-
dispose
public void dispose()
Clone of javax.swing.JDialog.dispose
-
setTitle
public void setTitle(java.lang.String title)
Clone of javax.swing.JDialog.setTitle- Parameters:
title
- The title
-
getContentPane
public JSPanel getContentPane()
Clone of javax.swing.JDialog.getContentPane- Returns:
- The content pane
-
setVisible
public void setVisible(boolean b)
Clone of javax.swing.JDialog.setVisible- Parameters:
b
- true to show the dialog, false otherwise
-
addWindowClosedListener
public void addWindowClosedListener(WindowClosedListener listener)
Adds a listener of window closed- Parameters:
listener
- The listener
-
-