-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 9, 11, 14
-
b10
-
generic
-
generic
Platform: ALL
JDK: ALL
Class javax.swing.plaf.basic.BasicTreeUI
http://download.java.net/jdk7/docs/api/javax/swing/plaf/basic/BasicTreeUI.html
contains some getters/setters that are not consistent and have specification that says nothing about how they should be used and how do they behave in BasicTreeUI
setRowHeight() / getRowHeight()
setShowsRootHandles() / getShowsRootHandles()
setRootVisible() / isRootVisible()
setEditable() / isEditable()
setCellEditor() / getCellEditor()
setCellRenderer() / getCellRenderer()
Values passed to setter are not equal to those returned from getter. The spec says nothing about this.
While many other properties ( "largeModel", "hashColor", "model" etc) have getter/setter that correspond each other.
JDK: ALL
Class javax.swing.plaf.basic.BasicTreeUI
http://download.java.net/jdk7/docs/api/javax/swing/plaf/basic/BasicTreeUI.html
contains some getters/setters that are not consistent and have specification that says nothing about how they should be used and how do they behave in BasicTreeUI
setRowHeight() / getRowHeight()
setShowsRootHandles() / getShowsRootHandles()
setRootVisible() / isRootVisible()
setEditable() / isEditable()
setCellEditor() / getCellEditor()
setCellRenderer() / getCellRenderer()
Values passed to setter are not equal to those returned from getter. The spec says nothing about this.
While many other properties ( "largeModel", "hashColor", "model" etc) have getter/setter that correspond each other.
- csr for
-
JDK-8236411 BasicTreeUI contains getters/setters with unclear spec
-
- Closed
-
- relates to
-
JDK-6987309 More than 600 public/protected methods in javax.swing.plaf have no spec
-
- Closed
-
-
JDK-8049649 Fix doclint warnings in javax.swing.plaf.basic package
-
- Closed
-