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
There is really no need here for awt.Dialog.
We would not use FileDialog in an HTML5 context anyway.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JContentPaneprotected intprivate intprivate static final intprivate String(package private) int[]private Stringprivate intFields 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 TypeMethodDescriptionvoiddispose()voidpack()voidrepaint()private voidSet it into DOM, but don't show it yet.voidsetLocation(int[] loc) voidvoidsetVisible(boolean tf) voidsetZIndex(int zIndex) voidtoFront()toHTML()voidvalidate()Methods inherited from class org.jmol.awtjs.swing.Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAllMethods 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
-
headerHeight
private static final int headerHeight- See Also:
-
defaultWidth
private int defaultWidth -
defaultHeight
protected int defaultHeight -
contentPane
-
title
-
html
-
zIndex
private int zIndex -
loc
int[] loc
-
-
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
public void repaint() -
setDialog
private void setDialog()Set it into DOM, but don't show it yet. this.loc, this.manager, this.id, etc. -
toHTML
-
toFront
public void toFront()
-