Skip to content

Commit

Permalink
New skipEmptyViewCallInSetValue param option added for
Browse files Browse the repository at this point in the history
type-representations. Enabling this property allows for smooth 
animations produced by successive method calls.

Should fix issue #71 : #71
  • Loading branch information
miho committed May 30, 2017
1 parent 480c315 commit df822be
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ protected Message getEmptyInputDataMessage() {
@Override
public void setValue(final Object o) {

if (!skipEmptyViewCallInSetValue&&o!=null) {
if (!skipEmptyViewCallInSetValue) {
VSwingUtil.invokeLater(new Runnable() {
@Override
public void run() {
Expand Down Expand Up @@ -1819,7 +1819,7 @@ public void disableSerialization() {

/**
* Defines whether to skip {@link TypeRepresentation#emptyView()} call in
* {@link TypeRepresentation#setValue(java.lang.Object) } if the object to visualize is not null.
* {@link TypeRepresentation#setValue(java.lang.Object) }.
*
* @param skip value which determins whether to skip
*/
Expand All @@ -1829,7 +1829,7 @@ protected void setSkipEmptyViewCallInSetValue(boolean skip) {

/**
* Indicates whether {@link TypeRepresentation#emptyView()} call is skipped in
* {@link TypeRepresentation#setValue(java.lang.Object) } if the object to visualize is not null.
* {@link TypeRepresentation#setValue(java.lang.Object) }.
*
* @return {@code true} if skipped; {@code false} otherwise
*/
Expand Down

0 comments on commit df822be

Please sign in to comment.