litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Anywhere/src/org/litesoft/render/AbstractRenderOneDimensionalContainerHelper.java
|
@@ -15,8 +15,7 @@ |
15 |
15 |
|
RenderContainmentApproach pContainmentApproach, // |
16 |
16 |
|
RenderContainerChildrenPolicy pChildrenPolicy ) |
17 |
17 |
|
{ |
18 |
|
- |
super( pRectangularRenderableObject, pRenderAccessor, pParticipatingAdapter, pDimensionAdapter, |
19 |
|
- |
pContainmentApproach ); |
|
18 |
+ |
super( pRectangularRenderableObject, pRenderAccessor, pParticipatingAdapter, pDimensionAdapter, pContainmentApproach ); |
20 |
19 |
|
UtilsCommon.assertNotNull( "ChildrenPolicy", mChildrenPolicy = pChildrenPolicy ); |
21 |
20 |
|
} |
22 |
21 |
|
|
|
@@ -42,8 +41,7 @@ |
42 |
41 |
|
max( zMinimumSizes ); |
43 |
42 |
|
} |
44 |
43 |
|
|
45 |
|
- |
protected RenderProcessResult LLadjustChildSizesAfterLayout( LayoutContainerRHP pLayoutContainerRHP, |
46 |
|
- |
RenderHelper[] pChildHelpers ) |
|
44 |
+ |
protected RenderProcessResult LLadjustChildSizesAfterLayout( LayoutContainerRHP pLayoutContainerRHP, RenderHelper[] pChildHelpers ) |
47 |
45 |
|
{ |
48 |
46 |
|
if ( RenderContainerChildrenPolicy.Propogate.equals( mChildrenPolicy ) ) |
49 |
47 |
|
{ |
|
@@ -150,8 +148,7 @@ |
150 |
148 |
|
*/ |
151 |
149 |
|
private RenderProcessResult wrapping_adjustSizeTo( MutateSizeRHP pMutateSizeRHP, int pNewSize ) |
152 |
150 |
|
{ |
153 |
|
- |
AbstractRHPwithDependencies zRenderHelperProcess = |
154 |
|
- |
(AbstractRHPwithDependencies) unavailableCurrentSizeRHP(); |
|
151 |
+ |
AbstractRHPwithDependencies zRenderHelperProcess = (AbstractRHPwithDependencies) unavailableCurrentSizeRHP(); |
155 |
152 |
|
deferPending( pMutateSizeRHP, zRenderHelperProcess ); |
156 |
153 |
|
processChildren( zRenderHelperProcess, pNewSize ); |
157 |
154 |
|
// Set our Size so that we might "stretch" |
|
@@ -217,8 +214,7 @@ |
217 |
214 |
|
* |
218 |
215 |
|
* @param pNewSize !0 |
219 |
216 |
|
*/ |
220 |
|
- |
private void propogateToChildren( AbstractRHPwithDependencies pRHPtoDefer, RenderHelper[] pChildHelpers, |
221 |
|
- |
int pNewSize ) |
|
217 |
+ |
private void propogateToChildren( AbstractRHPwithDependencies pRHPtoDefer, RenderHelper[] pChildHelpers, int pNewSize ) |
222 |
218 |
|
{ |
223 |
219 |
|
for ( RenderHelper zHelper : pChildHelpers ) |
224 |
220 |
|
{ |
|
@@ -241,8 +237,7 @@ |
241 |
237 |
|
/** |
242 |
238 |
|
* @param pNewSize !0 |
243 |
239 |
|
*/ |
244 |
|
- |
private void distributeToChildren( AbstractRHPwithDependencies pRHPtoDefer, RenderHelper[] pChildHelpers, |
245 |
|
- |
int pNewSize ) |
|
240 |
+ |
private void distributeToChildren( AbstractRHPwithDependencies pRHPtoDefer, RenderHelper[] pChildHelpers, int pNewSize ) |
246 |
241 |
|
{ |
247 |
242 |
|
int zSumChildSizes = 0; |
248 |
243 |
|
DistributeToChildren zDC = new DistributeToChildren(); |