|
Spirograph Problem Set Javadocs | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Deprecated Methods | |
spirograph.DotPanel.curHeight()
This method and the associated shadow variable violate the DRY (Do not Repeat Yourself) principle. The only visible benefit is a slightly reduced typing. With modern compilers this won't even yield a performance increase because the getWidth or getHeight methods will be inlined. The Sun code for these methods in Component
is:
public int getWidth() {
return width;
}
For this reason, this method and the associated variables will be removed. |
|
spirograph.DotPanel.curWidth()
This method and the associated shadow variable violate the DRY (Do not Repeat Yourself) principle. The only visible benefit is a slightly reduced typing. With modern compilers this won't even yield a performance increase because the getWidth or getHeight methods will be inlined. The Sun code for these methods in Component
is:
public int getWidth() {
return width;
}
For this reason, this method and the associated variable will be removed. |
|
spirograph.DotFrame.showAdvEnv()
Since 1/14/03 - will be removed when AdvEtchControl is complete. |
|
spirograph.DotFrame.showResetMenu()
Since 1/14/03 - will be removed when AdvEtchControl is complete. |
|
Spirograph Problem Set Javadocs | |||||||||
PREV NEXT | FRAMES NO FRAMES |