Checkbox.java, [...]: New versions from classpath.
2003-05-25 Michael Koch <konqueror@gmx.de> * java/awt/Checkbox.java, java/awt/Dialog.java, java/awt/Font.java, java/awt/Frame.java, java/awt/ScrollPaneAdjustable.java, java/awt/Scrollbar.java, java/awt/Window.java: New versions from classpath. From-SVN: r67164
This commit is contained in:
committed by
Michael Koch
parent
ef8855d7a0
commit
eceea3010f
@@ -119,6 +119,8 @@ private int visibleAmount;
|
||||
// List of AdjustmentListener's.
|
||||
private AdjustmentListener adjustment_listeners;
|
||||
|
||||
private transient boolean valueIsAdjusting = false;
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/*
|
||||
@@ -725,5 +727,25 @@ paramString()
|
||||
{
|
||||
return (AdjustmentListener[]) getListeners (AdjustmentListener.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the value is in the process of changing.
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public boolean getValueIsAdjusting ()
|
||||
{
|
||||
return valueIsAdjusting;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of valueIsAdjusting.
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public void setValueIsAdjusting (boolean valueIsAdjusting)
|
||||
{
|
||||
this.valueIsAdjusting = valueIsAdjusting;
|
||||
}
|
||||
} // class Scrollbar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user