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 Component
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidpack()voidrepaint()voidsetLocation(int[] loc) voidvoidsetVisible(boolean tf) voidsetZIndex(int zIndex) voidtoFront()toHTML()voidvalidate()Methods inherited from class Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAllMethods inherited from class 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:
setVisiblein classComponent
-
dispose
public void dispose() -
repaint
-
toHTML
-
toFront
public void toFront()
-