Package javascript.swing
Class JSButton
- java.lang.Object
-
- javascript.swing.JSComponent
-
- javascript.swing.AbstractButton
-
- javascript.swing.JSButton
-
public class JSButton extends AbstractButton
The javax.swing.JButton clone- Author:
- gianpiero.diblasi
-
-
Constructor Summary
Constructors Constructor Description JSButton()Creates the object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetContentAreaFilled(boolean b)Clone of javax.swing.JButton.setContentAreaFilledvoidsetText(java.lang.String text)Clone of javax.swing.JButton.setText-
Methods inherited from class javascript.swing.AbstractButton
addActionListener, onclick, setIcon, setTooltip
-
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
-
-
-
-
Method Detail
-
setText
public void setText(java.lang.String text)
Clone of javax.swing.JButton.setText- Parameters:
text- The text
-
setContentAreaFilled
public void setContentAreaFilled(boolean b)
Clone of javax.swing.JButton.setContentAreaFilled- Parameters:
b- true to fill the area, false otherwise
-
-