public Image() { Image image = this; this.__\u003C\u003Eimg = new FileProperty((PropertyHolder) this, "Image File"); this.__\u003C\u003EaspectKept = new BooleanProperty((PropertyHolder) this, "Maintain Aspect Ratio", false); this.setObstruction(false); }
public DashboardPrefs(DashboardFrame frame) { base.\u002Ector(); DashboardPrefs dashboardPrefs = this; this.properties = (Map) new LinkedHashMap(); this.__\u003C\u003Eteam = new IntegerProperty((PropertyHolder) this, "Team Number", 0); this.__\u003C\u003EhideMenu = new BooleanProperty((PropertyHolder) this, "Hide Menu", false); this.__\u003C\u003EautoShowWidgets = new BooleanProperty((PropertyHolder) this, "Automatically Show Widgets", true); string name1 = "Grid Cell Width(s)"; int[] numArray1 = new int[1]; int index1 = 0; int num1 = 16; numArray1[index1] = num1; this.__\u003C\u003Egrid_widths = new IntegerListProperty((PropertyHolder) this, name1, numArray1); string name2 = "Grid Cell Height(s)"; int[] numArray2 = new int[1]; int index2 = 0; int num2 = 16; numArray2[index2] = num2; this.__\u003C\u003Egrid_heights = new IntegerListProperty((PropertyHolder) this, name2, numArray2); this.__\u003C\u003Ex = new IntegerProperty((PropertyHolder) this, "Window X Position", 0); this.__\u003C\u003Ey = new IntegerProperty((PropertyHolder) this, "Window Y Position", 0); this.__\u003C\u003Ewidth = new IntegerProperty((PropertyHolder) this, "Window Width", 640); this.__\u003C\u003Eheight = new IntegerProperty((PropertyHolder) this, "Window Height", 480); string name3 = "Save File"; File.__\u003Cclinit\u003E(); string absolutePath1 = new File(DashboardPrefs.USER_SMARTDASHBOARD_HOME, "save.xml").getAbsolutePath(); this.__\u003C\u003EsaveFile = new FileProperty((PropertyHolder) this, name3, absolutePath1); this.__\u003C\u003ElogToCSV = new BooleanProperty((PropertyHolder) this, "Log to CSV", false); string name4 = "CSV File"; File.__\u003Cclinit\u003E(); string absolutePath2 = new File(DashboardPrefs.USER_SMARTDASHBOARD_HOME, "csv.txt").getAbsolutePath(); this.__\u003C\u003EcsvFile = new FileProperty((PropertyHolder) this, name4, absolutePath2); this.frame = frame; this.node = Preferences.userNodeForPackage((Class) ClassLiteral<main>.Value); Iterator iterator = this.properties.values().iterator(); while (iterator.hasNext()) { Property property = (Property) iterator.next(); if (property != this.__\u003C\u003ElogToCSV) this.load(property); } }