(String position)
| 955 | /// |
| 956 | /// - #setPosition(java.lang.String, java.lang.String) |
| 957 | public void setPosition(String position) { |
| 958 | if (CN.isTablet()) { |
| 959 | if (!position.equals(tabletPosition)) { |
| 960 | tabletPosition = position; |
| 961 | updateBorderForPosition(); |
| 962 | } |
| 963 | } else { |
| 964 | if (!position.equals(this.position)) { |
| 965 | this.position = position; |
| 966 | updateBorderForPosition(); |
| 967 | } |
| 968 | } |
| 969 | } |
| 970 | |
| 971 | private void updateBorderForPosition() { |
| 972 | Border border = getStyle().getBorder(); |