Skip to content

Commit

Permalink
Dumper: rename 5 methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 19, 2017
1 parent db42acd commit 06d2081
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
54 changes: 27 additions & 27 deletions debug/src/main/java/jme3utilities/debug/Dumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -584,81 +584,81 @@ public void dumpUserData(Spatial spatial) {
}

/**
* Configure the indent increment.
* Configure dumping of render-queue bucket assignments.
*
* @param newValue (not null)
* @param newValue true to enable, false to disable
* @return this instance for chaining
*/
public Dumper setIndentIncrement(String newValue) {
Validate.nonNull(newValue, "increment");
indentIncrement = newValue;
public Dumper setDumpBucket(boolean newValue) {
dumpBucketFlag = newValue;
return this;
}

/**
* Configure the list separator.
* Configure dumping of cull hints.
*
* @param separator (not null)
* @param newValue true to enable, false to disable
* @return this instance for chaining
*/
public Dumper setListSeparator(String separator) {
Validate.nonNull(separator, "separator");
listSeparator = separator;
public Dumper setDumpCull(boolean newValue) {
dumpCullFlag = newValue;
return this;
}

/**
* Configure dumping of render-queue bucket assignments.
* Configure dumping of shadow modes.
*
* @param newValue true to enable, false to disable
* @return this instance for chaining
*/
public Dumper setPrintBucket(boolean newValue) {
dumpBucketFlag = newValue;
public Dumper setDumpShadow(boolean newValue) {
dumpShadowFlag = newValue;
return this;
}

/**
* Configure dumping of cull hints.
* Configure dumping of location and scaling.
*
* @param newValue true to enable, false to disable
* @return this instance for chaining
*/
public Dumper setPrintCull(boolean newValue) {
dumpCullFlag = newValue;
public Dumper setDumpTransform(boolean newValue) {
dumpTransformFlag = newValue;
return this;
}

/**
* Configure dumping of shadow modes.
* Configure dumping of user data.
*
* @param newValue true to enable, false to disable
* @return this instance for chaining
*/
public Dumper setPrintShadow(boolean newValue) {
dumpShadowFlag = newValue;
public Dumper setDumpUser(boolean newValue) {
dumpUserFlag = newValue;
return this;
}

/**
* Configure dumping of location and scaling.
* Configure the indent increment.
*
* @param newValue true to enable, false to disable
* @param newValue (not null)
* @return this instance for chaining
*/
public Dumper setPrintTransform(boolean newValue) {
dumpTransformFlag = newValue;
public Dumper setIndentIncrement(String newValue) {
Validate.nonNull(newValue, "increment");
indentIncrement = newValue;
return this;
}

/**
* Configure dumping of user data.
* Configure the list separator.
*
* @param newValue true to enable, false to disable
* @param separator (not null)
* @return this instance for chaining
*/
public Dumper setPrintUser(boolean newValue) {
dumpUserFlag = newValue;
public Dumper setListSeparator(String separator) {
Validate.nonNull(separator, "separator");
listSeparator = separator;
return this;
}
// *************************************************************************
Expand Down
10 changes: 5 additions & 5 deletions tests/src/main/java/jme3utilities/debug/test/PoseDemoHud.java
Original file line number Diff line number Diff line change
Expand Up @@ -785,14 +785,14 @@ private void updateDebugAids() {
*/
Dumper dumper = PoseDemo.getDumper();
enable = isChecked("printTransform");
dumper.setPrintTransform(enable);
dumper.setDumpTransform(enable);
enable = isChecked("printUser");
dumper.setPrintUser(enable);
dumper.setDumpUser(enable);
enable = isChecked("printBucket");
dumper.setPrintBucket(enable);
dumper.setDumpBucket(enable);
enable = isChecked("printShadow");
dumper.setPrintShadow(enable);
dumper.setDumpShadow(enable);
enable = isChecked("printCull");
dumper.setPrintCull(enable);
dumper.setDumpCull(enable);
}
}

0 comments on commit 06d2081

Please sign in to comment.