⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user.java

📁 The ElectricTM VLSI Design System is an open-source Electronic Design Automation (EDA) system that c
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
	public static void setIconGenPowerRot(int rot) { cacheIconGenPowerRot.setInt(rot); }	/**	 * Method to tell what angle Power ports should go on generated icons, by default.	 * This applies only when ports are placed by "characteristic", not "location".	 * @return information about what angle Power ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenPowerRot() { return cacheIconGenPowerRot.getIntFactoryValue(); }	private static Pref cacheIconGenGroundRot = Pref.makeIntPref("IconGenGroundRot", tool.prefs, 0);	/**	 * Method to tell what angle Ground ports should go on generated icons.	 * This applies only when ports are placed by "characteristic", not "location".	 * @return information about what angle Ground ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenGroundRot() { return cacheIconGenGroundRot.getInt(); }	/**	 * Method to set what angle Ground ports should go on generated icons.	 * This applies only when ports are placed by "characteristic", not "location".	 * @param rot information about what angle Ground ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenGroundRot(int rot) { cacheIconGenGroundRot.setInt(rot); }	/**	 * Method to tell what angle Ground ports should go on generated icons, by default.	 * This applies only when ports are placed by "characteristic", not "location".	 * @return information about what angle Ground ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenGroundRot() { return cacheIconGenGroundRot.getIntFactoryValue(); }	private static Pref cacheIconGenClockRot = Pref.makeIntPref("IconGenClockRot", tool.prefs, 0);	/**	 * Method to tell what angle Clock ports should go on generated icons.	 * This applies only when ports are placed by "characteristic", not "location".	 * @return information about what angle Clock ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenClockRot() { return cacheIconGenClockRot.getInt(); }	/**	 * Method to set what angle Clock ports should go on generated icons.	 * This applies only when ports are placed by "characteristic", not "location".	 * @param rot information about what angle Clock ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenClockRot(int rot) { cacheIconGenClockRot.setInt(rot); }	/**	 * Method to tell what angle Clock ports should go on generated icons, by default.	 * This applies only when ports are placed by "characteristic", not "location".	 * @return information about what angle Clock ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenClockRot() { return cacheIconGenClockRot.getIntFactoryValue(); }	private static Pref cacheIconGenTopRot = Pref.makeIntPref("IconGenTopRot", tool.prefs, 0);	/**	 * Method to tell what angle Top ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Top ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenTopRot() { return cacheIconGenTopRot.getInt(); }	/**	 * Method to set what angle Top ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @param rot information about what angle Top ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenTopRot(int rot) { cacheIconGenTopRot.setInt(rot); }	/**	 * Method to tell what angle Top ports should go on generated icons, by default.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Top ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenTopRot() { return cacheIconGenTopRot.getIntFactoryValue(); }	private static Pref cacheIconGenBottomRot = Pref.makeIntPref("IconGenBottomRot", tool.prefs, 0);	/**	 * Method to tell what angle Bottom ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Bottom ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenBottomRot() { return cacheIconGenBottomRot.getInt(); }	/**	 * Method to set what angle Bottom ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @param rot information about what angle Bottom ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenBottomRot(int rot) { cacheIconGenBottomRot.setInt(rot); }	/**	 * Method to tell what angle Bottom ports should go on generated icons, by default.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Bottom ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenBottomRot() { return cacheIconGenBottomRot.getIntFactoryValue(); }	private static Pref cacheIconGenLeftRot = Pref.makeIntPref("IconGenLeftRot", tool.prefs, 0);	/**	 * Method to tell what angle Left ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Left ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenLeftRot() { return cacheIconGenLeftRot.getInt(); }	/**	 * Method to set what angle Left ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @param rot information about what angle Left ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenLeftRot(int rot) { cacheIconGenLeftRot.setInt(rot); }	/**	 * Method to tell what angle Left ports should go on generated icons, by default.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Left ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenLeftRot() { return cacheIconGenLeftRot.getIntFactoryValue(); }	private static Pref cacheIconGenRightRot = Pref.makeIntPref("IconGenRightRot", tool.prefs, 0);	/**	 * Method to tell what angle Right ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Right ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getIconGenRightRot() { return cacheIconGenRightRot.getInt(); }	/**	 * Method to set what angle Right ports should go on generated icons.	 * This applies only when ports are placed by "location", not "characteristic".	 * @param rot information about what angle Right ports should go on generated icons.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static void setIconGenRightRot(int rot) { cacheIconGenRightRot.setInt(rot); }	/**	 * Method to tell what angle Right ports should go on generated icons, by default.	 * This applies only when ports are placed by "location", not "characteristic".	 * @return information about what angle Right ports should go on generated icons, by default.	 * 0: normal   1: rotate 90 degrees   2: rotate 180 degrees   3: rotate 270 degrees	 */	public static int getFactoryIconGenRightRot() { return cacheIconGenRightRot.getIntFactoryValue(); }	private static Pref cacheIconGenExportLocation = Pref.makeIntPref("IconGenExportLocation", tool.prefs, 1);	/**	 * Method to tell where exports should appear along the leads in generated icons.	 * @return information about where exports should appear along the leads in generated icons.	 * 0: on the body   1: (the default) at the end of the lead   2: in the middle of the lead	 */	public static int getIconGenExportLocation() { return cacheIconGenExportLocation.getInt(); }	/**	 * Method to set how exports should appear along the leads in generated icons.	 * @param loc information about where exports should appear along the leads in generated icons.	 * 0: on the body   1: at the end of the lead (the default)   2: in the middle of the lead	 */	public static void setIconGenExportLocation(int loc) { cacheIconGenExportLocation.setInt(loc); }	/**	 * Method to tell where exports should appear along the leads in generated icons, by default.	 * @return information about where exports should appear along the leads in generated icons, by default.	 * 0: on the body   1: at the end of the lead   2: in the middle of the lead	 */	public static int getFactoryIconGenExportLocation() { return cacheIconGenExportLocation.getIntFactoryValue(); }	private static Pref cacheIconGenExportStyle = Pref.makeIntPref("IconGenExportStyle", tool.prefs, 0);	/**	 * Method to tell how the text should appear in generated icons.	 * @return information about how the text should appear in generated icons.	 * 0: (the default) centered at the export location	 * 1: pointing inward from the export location	 * 2: pointing outward from the export location	 */	public static int getIconGenExportStyle() { return cacheIconGenExportStyle.getInt(); }	/**	 * Method to set how the text should appear in generated icons.	 * @param style information about how the text should appear in generated icons.	 * 0: centered at the export location	 * 1: pointing inward from the export location	 * 2: pointing outward from the export location	 */	public static void setIconGenExportStyle(int style) { cacheIconGenExportStyle.setInt(style); }	/**	 * Method to tell how the text should appear in generated icons, by default.	 * @return information about how the text should appear in generated icons, by default.	 * 0: centered at the export location	 * 1: pointing inward from the export location	 * 2: pointing outward from the export location	 */	public static int getFactoryIconGenExportStyle() { return cacheIconGenExportStyle.getIntFactoryValue(); }	private static Pref cacheIconGenExportTech = Pref.makeIntPref("IconGenExportTech", tool.prefs, 1);	/**	 * Method to tell how exports should be constructed in generated icons.	 * @return information about how exports should be constructed in generated icons.	 * 0: use Generic:Universal-Pins for non-bus exports (can connect to ANYTHING).	 * 1: (the default) use Schematic:Bus-Pins for exports (can connect to schematic busses or wires).	 */	public static int getIconGenExportTech() { return cacheIconGenExportTech.getInt(); }	/**	 * Method to set how exports should be constructed in generated icons.	 * @param t information about how exports should be constructed in generated icons.	 * 0: use Generic:Universal-Pins for non-bus exports (can connect to ANYTHING).	 * 1: use Schematic:Bus-Pins for exports (can connect to schematic busses or wires).	 */	public static void setIconGenExportTech(int t) { cacheIconGenExportTech.setInt(t); }	/**	 * Method to tell how exports should be constructed in generated icons, by default.	 * @return information about how exports should be constructed in generated icons, by default.	 * 0: use Generic:Universal-Pins for non-bus exports (can connect to ANYTHING).	 * 1: use Schematic:Bus-Pins for exports (can connect to schematic busses or wires).	 */	public static int getFactoryIconGenExportTech() { return cacheIconGenExportTech.getIntFactoryValue(); }	private static Pref cacheIconGenInstanceLocation = Pref.makeIntPref("IconGenInstanceLocation", tool.prefs, 0);	/**	 * Method to tell where to place an instance of the generated icons in the original schematic.	 * @return information about where to place an instance of the generated icons in the original schematic	 * 0: (the default) in the upper-right corner.	 * 1: in the upper-left corner.	 * 2: in the lower-right corner.	 * 3: in the lower-left corner.	 * 4: no instance in the original schematic	 */	public static int getIconGenInstanceLocation() { return cacheIconGenInstanceLocation.getInt(); }	/**	 * Method to set where to place an instance of the generated icons in the original schematic.	 * @param loc information about where to place an instance of the generated icons in the original schematic.	 * 0: in the upper-right corner.	 * 1: in the upper-left corner.	 * 2: in the lower-right corner.	 * 3: in the lower-left corner.	 * 4: no instance in the original schematic	 */	public static void setIconGenInstanceLocation(int loc) { cacheIconGenInstanceLocation.setInt(loc); }	/**	 * Method to tell where to place an instance of the generated icons in the original schematic, by default.	 * @return information about where to place an instance of the generated icons in the original schematic, by default.	 * 0: in the upper-right corner.	 * 1: in the upper-left corner.	 * 2: in the lower-right corner.	 * 3: in the lower-left corner.	 * 4: no instance in the original schematic	 */	public static int getFactoryIconGenInstanceLocation() { return cacheIconGenInstanceLocation.getIntFactoryValue(); }	private static Pref cacheIconGenLeadLength = Pref.makeDoublePref("IconGenLeadLength", tool.prefs, 2.0f);	/**	 * Method to tell how long to make leads in generated icons.	 * @return information about how long to make leads in generated icons (the default is 2).	 */	public static double getIconGenLeadLength() { return cacheIconGenLeadLength.getDouble(); }	/**	 * Method to set how long to make leads in generated icons.	 * @param len how long to make leads in generated icons.	 */	public static void setIconGenLeadLength(double len) { cacheIconGenLeadLength.setDouble(len); }	/**	 * Method to tell how long to make leads in generated icons, by default.	 * @return information about how long to make leads in generated icons, by default.	 */	public static double getFactoryIconGenLeadLength() { return cacheIconGenLeadLength.getDoubleFactoryValue(); }	private static Pref cacheIconGenLeadSpacing = Pref.makeDoublePref("IconGenLeadSpacing", tool.prefs, 2.0f);	/**	 * Method to tell how far apart to space leads in generated icons.	 * @return information about how far apart to space leads in generated icons (the default is 2).	 */	public static double getIconGenLeadSpacing() { return cacheIconGenLeadSpacing.getDouble(); }	/**	 * Method to set how far apart to space leads in generated icons.	 * @param dist how far apart to space leads in generated icons.	 */	public static void setIconGenLeadSpacing(double dist) { cacheIconGenLeadSpacing.setDouble(dist); }	/**	 * Method to tell how far apart to space leads in generated icons, by default.	 * @return information about how far apart to space leads in generated icons, by default.	 */	public static double getFactoryIconGenLeadSpacing() { return cacheIconGenLeadSpacing.getDoubleFactoryValue(); }	/****************************** PORT AND EXPORT PREFERENCES ******************************/	private static Pref cachePortDisplayLevel = Pref.makeIntPref("PortDisplayLevel", tool.prefs, 0);	/**	 * Method to tell how to display ports.	 * @return how to display ports.	 * 0: full port names (the default).	 * 1: short port names (stopping at the first nonalphabetic character).	 * 2: ports drawn as crosses.	 */	public static int getPortDisplayLevel() { return cachePortDisplayLevel.getInt(); }	/**	 * Method to set how to display ports.	 * @param level how to display ports.	 * 0: full port names (the default).	 * 1: short port names (stopping at the first nonalphabetic character).	 * 2: ports drawn as crosses.	 */	public static void setPortDisplayLevels(int level) { cachePortDisplayLevel.setInt(level); }	/**

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -