You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/visage/javafx/scene/control/Slider.visage
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public class Slider extends Control {
60
60
}
61
61
62
62
/**
63
-
* <p>The unit distance between major tick marks. For example, if the min is 0 and the max is 100 and the majorTickUnit is 25, then there would be 5 tick marks: one at position 0, one at position 25, one at position 50, one at position 75, and a final one at position 100.</p>
63
+
* <p>The maximum value represented by this Slider.</p>
64
64
**/
65
65
public var max:Number on replace{
66
66
if((isInitialized(this) or max != 0 ) and (max > min))
@@ -70,7 +70,7 @@ public class Slider extends Control {
70
70
}
71
71
72
72
/**
73
-
* <p>The unit distance between major tick marks. For example, if the min is 0 and the max is 100 and the majorTickUnit is 25, then there would be 5 tick marks: one at position 0, one at position 25, one at position 50, one at position 75, and a final one at position 100.</p>
73
+
* <p>The minimum value represented by this Slider.</p>
74
74
**/
75
75
public var min:Number on replace{
76
76
if((isInitialized(this) or min != 0 ) and (min < max))
@@ -80,7 +80,7 @@ public class Slider extends Control {
80
80
}
81
81
82
82
/**
83
-
* <p>The unit distance between major tick marks. For example, if the min is 0 and the max is 100 and the majorTickUnit is 25, then there would be 5 tick marks: one at position 0, one at position 25, one at position 50, one at position 75, and a final one at position 100.</p>
83
+
* <p>The number of minor ticks to place between any two major ticks.</p>
84
84
**/
85
85
public var minorTickCount:Number on replace{
86
86
if((isInitialized(this) or minorTickCount != 0 ) and (minorTickCount >=0))
@@ -90,7 +90,7 @@ public class Slider extends Control {
90
90
}
91
91
92
92
/**
93
-
* <p>Determines whether the user toggling the CheckBox should cycle through all three states: checked, unchecked, and undefined.</p>
93
+
* <p>Indicates that the labels for tick marks should be shown.</p>
94
94
**/
95
95
public var showTickLabels:Boolean on replace oldValue{
96
96
if(isInitialized(this) or not oldValue){
@@ -99,7 +99,7 @@ public class Slider extends Control {
99
99
}
100
100
101
101
/**
102
-
* <p>Determines whether the user toggling the CheckBox should cycle through all three states: checked, unchecked, and undefined.</p>
102
+
* <p>Specifies whether the Skin implementation should show tick marks.</p>
103
103
**/
104
104
public var showTickMarks:Boolean on replace oldValue{
105
105
if(isInitialized(this) or not oldValue){
@@ -108,7 +108,7 @@ public class Slider extends Control {
108
108
}
109
109
110
110
/**
111
-
* <p>Determines whether the user toggling the CheckBox should cycle through all three states: checked, unchecked, and undefined.</p>
111
+
* <p>Indicates whether the value of the Slider should always be aligned with the tick marks.</p>
112
112
**/
113
113
public var snapToTicks:Boolean on replace oldValue{
114
114
if(isInitialized(this) or not oldValue){
@@ -117,7 +117,7 @@ public class Slider extends Control {
117
117
}
118
118
119
119
/**
120
-
* <p>Determines whether the user toggling the CheckBox should cycle through all three states: checked, unchecked, and undefined.</p>
120
+
* <p>When true, indicates the current value of this Slider is changing.</p>
121
121
**/
122
122
public var valueChanging:Boolean on replace oldValue{
123
123
if(isInitialized(this) or not oldValue){
@@ -126,7 +126,7 @@ public class Slider extends Control {
126
126
}
127
127
128
128
/**
129
-
* <p>Determines whether the user toggling the CheckBox should cycle through all three states: checked, unchecked, and undefined.</p>
129
+
* <p>The current value represented by this Slider.</p>
0 commit comments