litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Anywhere/src/org/litesoft/uipopupsupport/ContextPopupPositioner.java
|
@@ -2,6 +2,7 @@ |
2 |
2 |
|
package org.litesoft.uipopupsupport; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.core.simpletypes.*; |
|
5 |
+ |
import org.litesoft.core.typeutils.*; |
5 |
6 |
|
import org.litesoft.core.util.*; |
6 |
7 |
|
import org.litesoft.logger.*; |
7 |
8 |
|
import org.litesoft.logger.nonpublic.*; |
|
@@ -13,10 +14,10 @@ |
13 |
14 |
|
public ContextPopupPositioner( RectangleContainmentStrategy pRectangleContainmentStrategy, CommonRectangularPoint pPopupRelativeMeetingPoint, // |
14 |
15 |
|
PointXY pClientPos, SizeXY pClientSize ) |
15 |
16 |
|
{ |
16 |
|
- |
UtilsCommon.assertNotNull( "RectangleContainmentStrategy", mRectangleContainmentStrategy = pRectangleContainmentStrategy ); |
17 |
|
- |
UtilsCommon.assertNotNull( "PopupRelativeMeetingPoint", mPopupRelativeMeetingPoint = pPopupRelativeMeetingPoint ); |
18 |
|
- |
UtilsCommon.assertNotNull( "ClientPos", mClientPos = pClientPos ); |
19 |
|
- |
UtilsCommon.assertNotNull( "ClientSize", mClientSize = pClientSize ); |
|
17 |
+ |
Objects.assertNotNull( "RectangleContainmentStrategy", mRectangleContainmentStrategy = pRectangleContainmentStrategy ); |
|
18 |
+ |
Objects.assertNotNull( "PopupRelativeMeetingPoint", mPopupRelativeMeetingPoint = pPopupRelativeMeetingPoint ); |
|
19 |
+ |
Objects.assertNotNull( "ClientPos", mClientPos = pClientPos ); |
|
20 |
+ |
Objects.assertNotNull( "ClientSize", mClientSize = pClientSize ); |
20 |
21 |
|
} |
21 |
22 |
|
|
22 |
23 |
|
public String toString() |