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 JContentPane
protected int
private int
private static final int
private String
(package private) int[]
private String
private int
Fields 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()
private void
Set it into DOM, but don't show it yet.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
-
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:
setVisible
in 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()
-