This question was created for testing different features of PropertiesQuestion.
You can find different combinations of properties usage here.
For testing those parts of API, which can't be visualied, use special dialog with output
of these methods. You can access it through the button on custom toolbar.
- Properties in group
Properties without group
- without_group1
- This property set unvisible using setVisible(false) method
- without_group2
- This property set read-only using setReadOnly(true) method
- without_group3
- You can't set this property to "unset"(empty value in combo box) because of using setUnsetAllowed(false)
Properties in group
- with_group1
- This property set unvisible using setVisible(false) method
- with_group2
- This property set read-only using setReadOnly(true) method
- with_group3
- You can't set this property to "unset"(empty value in combo box) because of using setUnsetAllowed(false)
Numbers
- int1
- This integer property just doesn't allows custom values
- int2
- This integer property doesn't allows custom values, but has two suggestions
- int3
- This integer property has min value = -3000, max value = 0, and suggestions = -5000, 5000, 1000, 2000, 3000
- int4
- This integer property verifies overloaded constructor, where we set min value = 0, max value = 3000, suggestions =
-5000, 1000, 2000, 4000
- int5
- This integer property has two suggestions - Integer.MIN_VALUE and Integer.MAX_VALUE. It made to help testing "naturall"
integer constraints. You can edit this values to set it bigger, then Integer.MAX_VALUE, or less then Integer.MIN_VALUE and check for validation
- int6
- This integer property sets min and max values to zero
- int7
- This integer property sets min and max values to 100
- float1
- This float property doesn't allows custom values
- float2
- This float property has two suggestions = 1000 and 2000
- float3
- This float property has min value = 0.0f, max value = 2000.0f, suggestions = -1000, 1000, 1500.5f, 3000.0f
- float4
- This float property verifies overloaded constructor, where we set min value = 2000, max value = 4000, suggestions = 000.0f, 3000.0f, 4000.0f, 5000
- float5
- This float property has two suggestions - Float.MIN_VALUE and Float.MAX_VALUE. It made to help testing "naturall"
float constraints. You can edit this values to set it bigger, then Float.MAX_VALUE, or less then Float.MIN_VALUE and check for validation
- float6
- This float property has min value 0.0f, max value 0
- float7
- This float property has min value sqrt(3.0), max value sqrt(3.3)
- float8
- This float property has resolution 2
- float9
- This float property has resolution 0
- float10
- This float property has resolution -2
- float11
- This float property has resolution 2, doesn't allows custom values, has suggestions = -10, -8, -7, -4, -1, 0, 2, 5, 100
- float12
- This float property has resolution 5.0f, suggestions = 0, 4, 8,12, 16
Strings
- str1
- This string property has two suggestions and nominal max value = 20
- str2
- This string property has big value
- sttttttttttttttttttttttttttttttttttttttttr3
- This string property has big name
- str4
- This string property doesn't allows custom values, has two suggestions, one more then 50 characters,
another - less, and nominal max length 50 characters
Booleans
- bool1
- Just a boolean property with default value = true
- bool2
- This boolean property use yes/no
- bool3
- This boolean property doesn't allows unset and use default value = ""
Files
- file1
- No constraints
- file2
- This file property allows you to select files only from your home directory
- file3
- This file property set base directory to your home directory, but allows to select files from other directories
- file4
- This file property has filters for ".jti", ".jar", ".java", ".class" files
- file5
- This file property allows you to select files only from your home directory, has filters for ".jti", ".jar", ".java",
".class" files, and suggestions "com/sun/javatest", "com/sun/jdts"
Click
to continue the interview.