home *** CD-ROM | disk | FTP | other *** search
- import java.io.PrintStream;
-
- public class JSbxValueProperty extends JSbxProperty {
- private boolean bReadOnly;
- private JSbxValue aValue;
-
- public void SetValue(JSbxValue var1) {
- this.aValue = var1;
- }
-
- private JSbxValue GetValue() {
- if (this.aValue == null) {
- this.aValue = new JSbxValue();
- }
-
- return this.aValue;
- }
-
- public JSbxValueProperty(String var1, JSbxObject var2, JSbxValue var3, boolean var4, boolean var5) {
- super(var1, var2);
- this.aValue = var3;
- this.bReadOnly = var4;
- if (var5) {
- ((JSbxBase)this).SetFlag(4);
- }
-
- }
-
- public JSbxValueProperty(String var1, JSbxObject var2, JSbxValue var3) {
- this(var1, var2, var3, false, false);
- }
-
- public JSbxValueProperty(String var1, JSbxObject var2) {
- this(var1, var2, (JSbxValue)null, false, false);
- }
-
- public void Get(JSbxValue var1) throws JSbxException {
- this.GetValue().Get(var1);
- }
-
- public void Put(JSbxValue var1) throws JSbxException {
- if (!this.bReadOnly) {
- this.GetValue().Put(var1);
- }
-
- }
-
- public JSbxValue CallFunction(JScriptCallParam var1) throws JSbxExceptionBase {
- return this.GetValue().CallFunction(var1);
- }
-
- public String GetJScript_typeofString() {
- return this.GetValue().GetJScript_typeofString();
- }
-
- public void Dump(PrintStream var1, int var2, int var3) throws JSbxException {
- new JSbxValue("");
- var1.print("Property \"" + ((JSbxProperty)this).GetName() + "\" = ");
- this.GetValue().Dump(var1, var2, var3);
- }
-
- public String GetBrowserTypeInfo() {
- return this.GetValue().GetBrowserTypeInfo();
- }
-
- public String GetBrowserValueInfo() {
- return this.GetValue().GetBrowserValueInfo();
- }
-
- public String GetBrowserInfo() {
- return this.GetValue().GetBrowserInfo();
- }
- }
-