Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/objects/properties/PMD_DisplayHeightInitial.java

Diff revisions: vs.
  @@ -1,26 +1,26 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.aokeyhole.objects.properties;
3 -
4 - import org.litesoft.aokeyhole.objects.*;
5 - import org.litesoft.aokeyhole.objects.support.*;
6 - import org.litesoft.aokeyhole.toolkit.*;
7 -
8 - import java.util.*;
9 -
10 - public class PMD_DisplayHeightInitial extends PropertyIntPositiveMetaData {
11 - public static final String NAME = "DisplayHeightInitial";
12 -
13 - public static synchronized PropertyMetaData of( Integer pInitialValue ) {
14 - PropertyMetaData zPMD = INSTANCES.get( pInitialValue );
15 - if ( zPMD == null ) {
16 - INSTANCES.put( pInitialValue, zPMD = new PMD_DisplayHeightInitial( pInitialValue ) );
17 - }
18 - return zPMD;
19 - }
20 -
21 - private static final Map<Integer, PropertyMetaData> INSTANCES = new HashMap<Integer, PropertyMetaData>();
22 -
23 - private PMD_DisplayHeightInitial( Integer pInitialValue ) {
24 - super( NAME, "Initial Display Height", Required.NO, pInitialValue );
25 - }
26 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.aokeyhole.objects.properties;
3 +
4 + import org.litesoft.aokeyhole.objects.*;
5 + import org.litesoft.aokeyhole.objects.support.*;
6 + import org.litesoft.aokeyhole.toolkit.*;
7 +
8 + import java.util.*;
9 +
10 + public class PMD_DisplayHeightInitial extends PropertyIntPositiveMetaData {
11 + public static final String NAME = "DisplayHeightInitial";
12 +
13 + public static synchronized PropertyMetaData of( Integer pInitialValue ) {
14 + PropertyMetaData zPMD = INSTANCES.get( pInitialValue );
15 + if ( zPMD == null ) {
16 + INSTANCES.put( pInitialValue, zPMD = new PMD_DisplayHeightInitial( pInitialValue ) );
17 + }
18 + return zPMD;
19 + }
20 +
21 + private static final Map<Integer, PropertyMetaData> INSTANCES = new HashMap<Integer, PropertyMetaData>();
22 +
23 + private PMD_DisplayHeightInitial( Integer pInitialValue ) {
24 + super( NAME, "Initial Display Height", Required.NO, pInitialValue );
25 + }
26 + }