pashapm / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

LayoutParameter constructor protected #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The constructor of the class LayoutParameter in package 
com.googlecode.lanterna.gui.layout should not be package protected but public. 
If it is package protected it's not possible to write specialized 
LayoutManagers with their own LayoutParamters.

I know it should be prevented that the LayoutManagers are used with wrong 
LayoutParameters or that users think they should create new Parameters every 
time. But this has to be done different than with this package protection. For 
example with a check on the used LayoutParameters.

Original issue reported on code.google.com by bruno.eb...@pop.ch on 12 Jul 2013 at 7:47

GoogleCodeExporter commented 9 years ago
I've changed it now on 2.1.x-branch to protected

Original comment by mab...@gmail.com on 15 Jul 2013 at 10:30