[fixes #1090] Rename setTabPosition
It's more of an update-function instead of a set
This commit is contained in:
parent
9025171a28
commit
f06ad1ec35
@ -289,12 +289,12 @@ public abstract class FinSet extends ExternalComponent implements AxialPositiona
|
||||
|
||||
tabLength = lengthRequest;
|
||||
|
||||
setTabPosition();
|
||||
updateTabPosition();
|
||||
|
||||
fireComponentChangeEvent(ComponentChangeEvent.MASS_CHANGE);
|
||||
}
|
||||
|
||||
protected void setTabPosition(){
|
||||
|
||||
protected void updateTabPosition(){
|
||||
this.tabPosition = this.tabOffsetMethod.getAsPosition(tabOffset, tabLength, length);
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ public abstract class FinSet extends ExternalComponent implements AxialPositiona
|
||||
*/
|
||||
public void setTabOffset( final double offsetRequest) {
|
||||
tabOffset = offsetRequest;
|
||||
setTabPosition();
|
||||
updateTabPosition();
|
||||
|
||||
fireComponentChangeEvent(ComponentChangeEvent.MASS_CHANGE);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ public class TrapezoidFinSet extends FinSet {
|
||||
if (length == r)
|
||||
return;
|
||||
length = Math.max(r, 0);
|
||||
setTabPosition();
|
||||
updateTabPosition();
|
||||
|
||||
fireComponentChangeEvent(ComponentChangeEvent.AEROMASS_CHANGE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user