Source code: com/trapezium/vrml/grammar/MFFieldDescriptor.java
1 /*
2 * @(#)MFFieldDescriptor.java
3 *
4 * Copyright (c) 1998 by Trapezium Development LLC. All Rights Reserved.
5 *
6 * The information in this file is the property of Trapezium Development LLC
7 * and may be used only in accordance with the terms of the license granted
8 * by Trapezium.
9 *
10 */
11 package com.trapezium.vrml.grammar;
12
13 /**
14 * Describes limits of a VRML node MF field.
15 *
16 * @author Johannes N. Johannsen
17 * @version 1.12, 19 March 1998
18 *
19 * @since 1.12
20 */
21 class MFFieldDescriptor extends FieldDescriptor {
22 int limit;
23 int factor;
24
25 MFFieldDescriptor( int declarationType, int fieldType, String initialValue, int limit, int factor ) {
26 super( declarationType, fieldType, initialValue );
27 this.limit = limit;
28 this.factor = factor;
29 }
30
31 int getLimit() {
32 return( limit );
33 }
34
35 int getFactor() {
36 return( factor );
37 }
38 }
39