Package org.jmol.awtjs.swing
Class JDialog
java.lang.Object
org.jmol.awtjs.swing.Component
org.jmol.awtjs.swing.Container
org.jmol.awtjs.swing.JDialog
- Direct Known Subclasses:
JsDialog
There is really no need here for awt.Dialog.
We would not use FileDialog in an HTML5 context anyway.
-
Field Summary
FieldsFields inherited from class org.jmol.awtjs.swing.Component
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
pack()
void
repaint()
void
setLocation
(int[] loc) void
void
setVisible
(boolean tf) void
setZIndex
(int zIndex) void
toFront()
toHTML()
void
validate()
Methods inherited from class org.jmol.awtjs.swing.Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAll
Methods inherited from class org.jmol.awtjs.swing.Component
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText
-
Field Details
-
defaultHeight
protected int defaultHeight
-
-
Constructor Details
-
JDialog
public JDialog()
-
-
Method Details
-
setZIndex
public void setZIndex(int zIndex) -
setLocation
public void setLocation(int[] loc) -
getContentPane
-
setTitle
-
pack
public void pack() -
validate
public void validate() -
setVisible
public void setVisible(boolean tf) - Overrides:
setVisible
in classComponent
-
dispose
public void dispose() -
repaint
public void repaint() -
toHTML
-
toFront
public void toFront()
-