Package javascript.swing
Class JSProgressBar
- java.lang.Object
-
- javascript.swing.JSComponent
-
- javascript.swing.JSProgressBar
-
public class JSProgressBar extends JSComponent
The javax.swing.JProgressBar clone- Author:
- gianpiero.diblasi
-
-
Field Summary
Fields Modifier and Type Field Description static int
HORIZONTAL
static int
VERTICAL
-
Constructor Summary
Constructors Constructor Description JSProgressBar()
Creates the object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setIndeterminate(boolean b)
Clone of javax.swing.JProgressBar.setIndeterminatevoid
setMaximum(int value)
Clone of javax.swing.JProgressBar.setMaximumvoid
setMinimum(int value)
Clone of javax.swing.JProgressBar.setMinimumvoid
setOrientation(int orientation)
Clone of javax.swing.JProgressBar.setOrientationvoid
setString(java.lang.String string)
Clone of javax.swing.JProgressBar.setStringvoid
setStringPainted(boolean b)
Clone of javax.swing.JProgressBar.setStringPaintedvoid
setValue(int value)
Clone of javax.swing.JProgressBar.setValue-
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
-
-
-
-
Field Detail
-
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
-
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
setMaximum
public void setMaximum(int value)
Clone of javax.swing.JProgressBar.setMaximum- Parameters:
value
- The value
-
setMinimum
public void setMinimum(int value)
Clone of javax.swing.JProgressBar.setMinimum- Parameters:
value
- The value
-
setValue
public void setValue(int value)
Clone of javax.swing.JProgressBar.setValue- Parameters:
value
- The value
-
setIndeterminate
public void setIndeterminate(boolean b)
Clone of javax.swing.JProgressBar.setIndeterminate- Parameters:
b
- true to set an indeterminate progressbar, false otherwise
-
setStringPainted
public void setStringPainted(boolean b)
Clone of javax.swing.JProgressBar.setStringPainted- Parameters:
b
- true to paint the string, false otherwise
-
setString
public void setString(java.lang.String string)
Clone of javax.swing.JProgressBar.setString- Parameters:
string
- The string to paint
-
setOrientation
public void setOrientation(int orientation)
Clone of javax.swing.JProgressBar.setOrientation- Parameters:
orientation
- The orientation
-
-