input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
protected void fire state changed change event event if initialized update entry super fire state changed event | invoked when this instance wishes to propagate a state change to |
public int get extent return 0 | returns the models extent the length of the inner range that |
public int get maximum return maximum get | returns the models maximum |
public int get minimum return minimum get | returns the minimum acceptable value |
public int get value return entry get int or zero | returns the models current value |
public boolean get value is adjusting return is adjusting get | returns true if the current changes to the value property are part |
public void set extent int new extent throw new unsupported operation exception | sets the models extent |
public void set maximum int new maximum maximum set new maximum minimum set math min new maximum get minimum set value get value | sets the models maximum to i new maximum i |
public void set minimum int new minimum minimum set new minimum maximum set math max new minimum get maximum set value get value | sets the models minimum to i new minimum i |
public void set value int new value entry put int math max minimum get math min maximum get new value | sets the models current value to code new value code if |
public void set value is adjusting boolean b is adjusting set b | this attribute indicates that any upcoming changes to the value |
public boolean add object o check for null o return rep add new weak reference o | ensures that this collection contains the specified element optional |
public list as list list result new array list for iterator u iterator u has next result add u next return result | returns a list containing all of the elements in this collection |
protected void check for null object o if o null throw new null pointer exception | checks whether its argument is null and if so throws a |
public boolean contains object o check for null o return super contains o | returns tt true tt if this collection contains the specified |
private void do lookahead if did lookahead lookahead null while lookahead null repit has next lookahead reference repit next get if lookahead null repit remove did lookahead true | looks ahead for the next live reference returned by the |
public boolean has next do lookahead return lookahead null | returns tt true tt if the iteration has more elements |
public object next if has next throw new no such element exception did lookahead false return lookahead | returns the next element in the iteration |
public boolean remove object o check for null o return super remove o | removes a single instance of the specified element from this |
public int size return rep size | returns the number of elements in this collection |
public bounded range model get bounded range model return bounded range model | the code bounded range model code property should be maintained by |
public boolean model get canceled return canceled | the code canceled code property should be set by the consumer and |
public boolean model get completed return completed | the code completed code property should be set by the producer and |
public boolean model get indeterminate return indeterminate | the code indeterminate code property should be set by the producer |
public double model get stall time millis return stall time millis | the code stall time millis code property should be set by the producer |
public string model get status1 return status1 | the code status1 code property may be set by the producer and |
public string model get status2 return status2 | the code status2 code property may be set by the producer and |
public string model get subject return subject | the code subject code property may be maintained either by the |
public void reset reset for new subject null | the code reset code method is for use by the consumer to |
public void reset for new subject string subject string bounded range model set range properties 0 0 0 1 false canceled set false completed set false indeterminate set false stall time millis set 0 status1 set null status2 set null subject set subject string | the code reset for new subject code method combines the operations |
public void add change listener change listener x delegate add change listener x | adds a change listener to the models listener list |
public int get extent return delegate get extent | returns the models extent the length of the inner range that |
public int get maximum return delegate get maximum | returns the models maximum |
public int get minimum return delegate get minimum | returns the minimum acceptable value |
public int get value return delegate get value | returns the models current value |
public boolean get value is adjusting return real model get value is adjusting | returns true if the current changes to the value property are part |
public void remove change listener change listener x delegate remove change listener x | removes a change listener from the models listener list |
public void set maximum int new maximum throw new unsupported operation exception | sets the models maximum to i new maximum i |
public num get int to num ratio return int to num ratio | returns the models int to num ratio |
public void set minimum int new minimum throw new unsupported operation exception | sets the models minimum to i new minimum i |
public num get num extent return extent | returns the models extent the length of the inner range that |
public void set value int new value if new value current int min real model set to low value else if new value current int max real model set to high value else real model set value to real new value | sets the models current value to code new value code |
public void set value is adjusting boolean b real model set value is adjusting b | this attribute indicates that any upcoming changes to the value |
public num get num maximum return maximum | returns the models maximum |
public num get num minimum return minimum | returns the minimum acceptable value |
public num get num value return value | returns the models current value |
public void set int to num ratio num new ratio if new ratio is na n r compare new ratio r zero 0 double is infinite new ratio double value throw new illegal argument exception ratio must be positive and finite if r equals int to num ratio new ratio int to num ratio new ratio fire state changed | sets the models int to num ratio to i new ratio i |
public void set num extent num new extent num extent r max r zero r min r subtract maximum value new extent if r equals this extent extent this extent extent fire state changed | sets the models extent |
public void set num maximum num new maximum num new minimum r min new maximum minimum set range properties value extent new minimum new maximum is adjusting | sets the models maximum to i new maximum i |
public void rescale to range double scale minimum double scale maximum if internal rescale to range scale minimum scale maximum fire state changed | comments to be added |
public void set num minimum num new minimum num new maximum r max new minimum maximum set range properties value extent new minimum new maximum is adjusting | sets the models minimum to i new minimum i |
public void set num value num new value num value r max minimum r min r subtract maximum extent new value if r equals this value value this value value fire state changed | sets the models current value to code new value code if |
public void set value double new value bounded range model set value map in truncated new value | sets the models current value to code new value code if |
public void set value is adjusting boolean b set range properties value extent minimum maximum b | this attribute indicates that any upcoming changes to the value |
public double get minimum return map out bounded range model get minimum | returns the minimum acceptable value |
public void set minimum double new minimum bounded range model set minimum map in new minimum | sets the models minimum to i new minimum i |
public void set value is adjusting boolean b bounded range model set value is adjusting b | this attribute indicates that any upcoming changes to the value |
public double get maximum return map out bounded range model get maximum | returns the models maximum |
public void set maximum double new maximum bounded range model set maximum map in new maximum | sets the models maximum to i new maximum i |
public double get value return map out bounded range model get value | returns the models current value |
public void set extent double new extent bounded range model set extent map in truncated delta new extent | sets the models extent |
public double get normalized value double range maximum minimum if range 0 return raw value range return double max value | fraction of the min max range represented by raw value |
public void set normalized value double val raw value val maximum minimum minimum | update the raw value based on the normalized value supplied |
public double get delta quantum return delta quantum | comments to be added |
public double get effective delta quantum return math max delta quantum math abs map out delta 1 | comments to be added |
public void set delta quantum double arg delta quantum if arg delta quantum 0 throw new illegal argument exception quantum must be positive delta quantum arg delta quantum | comments to be added |
public void apply delta int num quanta double quantum get effective delta quantum double current num quanta math floor 0 5 get value quantum set value quantum current num quanta num quanta | comments to be added |
public double get round number bias return 0 | comments to be added |
public boolean get value is adjusting return bounded range model get value is adjusting | returns true if the current changes to the value property are part |
public double get extent return map out delta bounded range model get extent | returns the models extent the length of the inner range that |
public double get granule return map out delta 1 | comments to be added |
public interpolator get normalizer return interpolator create get minimum 0 get maximum 1 | comments to be added |
public double get normalized value return get internal normalizer map bounded range model get value | comments to be added |
public void set normalized value double normalized value bounded range model set value as validated int get internal normalizer unmap normalized value | comments to be added |
public double get normalized extent return get internal normalizer map delta bounded range model get extent | comments to be added |
public void set normalized extent double normalized extent bounded range model set extent as validated int get internal normalizer unmap delta normalized extent | comments to be added |
public range settings get range settings range settings settings new range settings settings minimum get minimum settings maximum get maximum settings set normalized value get normalized value settings normalized extent get normalized extent settings raw value get value return settings | comments to be added |
public void set range settings range settings settings if settings null rescale to range settings minimum settings maximum if double is na n settings normalized extent set normalized extent settings normalized extent if double is na n settings get normalized value set normalized value settings get normalized value else if double is na n settings raw value set value settings raw value | comments to be added |
public void set to high value set value get maximum | comments to be added |
public boolean add object o long now get current time value long now object no time limit timeless new long now object old time element to millis map put o now object trim now return old time null | ensures that this collection contains the specified element optional |
public void set to low value set value get minimum | comments to be added |
public boolean contains object o return element to millis map contains key o | returns tt true tt if this collection contains the specified |
public string to string string class name get class get name int last dot pos class name last index of class name last dot pos 0 class name class name substring last dot pos 1 return class name get minimum get value get value get extent get maximum | comments to be added |
public boolean equals object o return element to millis map key set equals o | compares the specified object with this collection for equality |
public int hash code return element to millis map key set hash code | returns the hash code value for this collection |
public iterator iterator return element to millis map key set iterator | returns an iterator over the elements contained in this collection |
public boolean remove object o return element to millis map remove o null | removes a single instance of the specified element from this |
public int size return element to millis map size | returns the number of elements in this collection |
public void add change listener change listener x synchronized change listeners if changes are frozen change listeners contains x change listeners add x | adds a change listener to the models listener list |
public boolean is change listener change listener x synchronized change listeners return change listeners contains x | determines whether a change listener is on the models listener list |
public void remove change listener change listener x synchronized change listeners change listeners remove x | removes a change listener from the models listener list |
public void discard queued events compound change events null | discards events queued as part of a compound change |
public boolean is compound change in progress return compound change in progress | returns true if a compound change is in progress |
public void set changes are frozen synchronized change listeners changes are frozen true internal fire state changed get cached event change listeners clear if change listeners instanceof array list array list change listeners trim to size | invoked when it is known that there will be no further changes |
public void state changed change event e in the future we may wish to queue up several change events that occur close together in time for now we queue up change events only if there has been an explicit request to do so if compound change in progress if compound change events null compound change events new array list compound change events add e else perform change action e | invoked when the target of this listener has changed its state |
protected void perform change action change event e fire state changed | perform action in response to a state change |
protected void perform compound change action change event events fire state changed formerly for int i 0 i events length i perform change action events i | perform action in response to multiple enqueued state changes |
protected void fire state changed fire state changed get cached event | invoked when this instance wishes to inform its listeners of |
protected void fire state changed change event event synchronized change listeners if changes are frozen throw new usage exception changes are frozen internal fire state changed event | invoked when this instance wishes to propagate a state change to |
public void action performed action event action event fire value commit request event | describe code action performed code method here |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.