### Starting a New Process Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/lang/ProcessBuilder.html This example demonstrates how to start a new operating system process with a specified command and arguments using ProcessBuilder. The default working directory and environment are used. ```APIDOC ## Starting a New Process ### Description This snippet shows how to create and start a new process using `ProcessBuilder` with a command and its arguments. The process will inherit the default environment and working directory. ### Method `start()` ### Endpoint N/A (Java method call) ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example ```java Process p = new ProcessBuilder("myCommand", "myArg").start(); ``` ### Response #### Success Response Returns a `Process` object representing the newly created subprocess. #### Response Example N/A (Process object is returned) ``` -------------------------------- ### List Available Configurations and Start Recording Source: https://docs.intrexx.com/apidocs/jdk21/api/jdk.jfr/jdk/jfr/Configuration.html This example demonstrates how to list all available Flight Recorder configurations and their details. It also shows how to retrieve a specific configuration by name and start a recording with its settings. ```java public static void main(String... args) throws Exception { if (args.length == 0) { System.out.println("Configurations:"); for (Configuration c : Configuration.getConfigurations()) { System.out.println("Name: " + c.getName()); System.out.println("Label: " + c.getLabel()); System.out.println("Description: " + c.getDescription()); System.out.println("Provider: " + c.getProvider()); System.out.println(); } } else { String name = args[0]; Configuration c = Configuration.getConfiguration(name); try (Recording r = new Recording(c)) { System.out.println("Starting recording with settings:"); for (Map.Entry setting : c.getSettings().entrySet()) { System.out.println(setting.getKey() + " = " + setting.getValue()); } r.start(); } } } ``` -------------------------------- ### Java BreakIterator: Print Last Element Example Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/text/BreakIterator.html Prints the last boundary element found in the source text. It uses boundary.last() to get the ending index and boundary.previous() to get the starting index. ```java public static void printLast(BreakIterator boundary, String source) { int end = boundary.last(); int start = boundary.previous(); System.out.println(source.substring(start,end)); } ``` -------------------------------- ### Example Command Line Execution Source: https://docs.intrexx.com/apidocs/jdk21/specs/unnamed-classes-instance-main-methods-jls.html Demonstrates how to start a Java Virtual Machine and invoke the main method of a class with command-line arguments. ```bash java Test reboot Bob Dot Enzo ``` -------------------------------- ### Java BreakIterator: Print First Element Example Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/text/BreakIterator.html Prints the first boundary element found in the source text. It uses boundary.first() to get the starting index and boundary.next() to get the ending index. ```java public static void printFirst(BreakIterator boundary, String source) { int start = boundary.first(); int end = boundary.next(); System.out.println(source.substring(start,end)); } ``` -------------------------------- ### getMinimum() Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/time/temporal/ValueRange.html Gets the minimum value that the field can take. For example, the ISO day-of-month always starts at 1. The minimum is therefore 1. ```APIDOC ## getMinimum() ### Description Gets the minimum value that the field can take. For example, the ISO day-of-month always starts at 1. The minimum is therefore 1. ### Returns - `long`: the minimum value for this field ``` -------------------------------- ### Instantiating KeyStore Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/security/KeyStore.html Demonstrates different ways to obtain a KeyStore instance. ```APIDOC ## Instantiating KeyStore This section shows how to get a `KeyStore` object. ### Specify an existing keystore file: ```java // get keystore password char[] password = getPassword(); // probe the keystore file and load the keystore entries KeyStore ks = KeyStore.getInstance(new File("keyStoreName"), password); ``` ### Rely on the default type: ```java KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); ``` ### Provide a specific keystore type: ```java KeyStore ks = KeyStore.getInstance("JKS"); ``` ``` -------------------------------- ### getLargestMinimum() Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/time/temporal/ValueRange.html Gets the largest possible minimum value that the field can take. For example, the ISO day-of-month always starts at 1. The largest minimum is therefore 1. ```APIDOC ## getLargestMinimum() ### Description Gets the largest possible minimum value that the field can take. For example, the ISO day-of-month always starts at 1. The largest minimum is therefore 1. ### Returns - `long`: the largest possible minimum value for this field ``` -------------------------------- ### Create and Start a Simple File Server with Output Filter Source: https://docs.intrexx.com/apidocs/jdk21/api/jdk.httpserver/com/sun/net/httpserver/SimpleFileServer.html Demonstrates how to create a file server with a custom output filter for logging and start it. ```java var filter = SimpleFileServer.createOutputFilter(System.out, OutputLevel.VERBOSE); var server = HttpServer.create(new InetSocketAddress(8080), 10, "/some/path/", new SomeHandler(), filter); server.start(); ``` -------------------------------- ### String Start Function Group GUID Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/serialized-form.html Stores the GUID of the starting function group. ```java String m_strStartFupGuid ``` -------------------------------- ### Get Recording Start Time Source: https://docs.intrexx.com/apidocs/jdk21/api/jdk.jfr/jdk/jfr/Recording.html Retrieves the timestamp when the recording was started. ```APIDOC ## getStartTime() ### Description Returns the time when this recording was started. ### Returns An `Instant` object representing the start time. ``` -------------------------------- ### Example Configuration Entry Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/javax/security/auth/login/Configuration.html This example demonstrates a concrete Configuration entry, specifying the UnixLoginModule and Krb5LoginModule with their respective flags and options. ```plaintext Login { com.sun.security.auth.module.UnixLoginModule required; com.sun.security.auth.module.Krb5LoginModule optional useTicketCache="true" ticketCache="${user.home}${/}tickets"; }; ``` -------------------------------- ### installUI Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicListUI.html Initializes this.list by calling installDefaults(), installListeners(), and installKeyboardActions() in order. ```APIDOC ## installUI ### Description Initializes `this.list` by calling `installDefaults()`, `installListeners()`, and `installKeyboardActions()` in order. ### Method `void` ### Endpoint N/A (Method within a class) ``` -------------------------------- ### Get Thread CPU Time (Example Usage) Source: https://docs.intrexx.com/apidocs/jdk21/api/java.management/java/lang/management/ThreadMXBean.html Example of how to get the CPU time for the current thread using ThreadMXBean. This requires CPU time measurement to be enabled. ```Java getThreadCpuTime(Thread.currentThread().threadId()); ``` -------------------------------- ### Starting the jwebserver Source: https://docs.intrexx.com/apidocs/jdk21/specs/man/jwebserver.html Launches the Simple Web Server with default settings. The server will print its local address and the directory being served upon successful startup. ```bash $ jwebserver ``` -------------------------------- ### Get Element by GUID Source: https://docs.intrexx.com/intrexx/version/steady/api/js/html/functions/api.dom.getElement.html Retrieves a DOM element using its unique GUID. Ensure the GUID is correctly formatted. ```javascript // Gets an element by its GUID ix.api.dom.getElement(""); ``` -------------------------------- ### BasicListUI.installUI Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/class-use/JComponent.html Initializes the list UI by installing defaults, listeners, and keyboard actions. ```APIDOC ## BasicListUI.installUI(JComponent c) ### Description Initializes `this.list` by calling `installDefaults()`, `installListeners()`, and `installKeyboardActions()` in order. ### Method void ``` -------------------------------- ### Get Recording Start Time Source: https://docs.intrexx.com/apidocs/jdk21/api/jdk.jfr/jdk/jfr/Recording.html Retrieves the time when the recording was started. Returns null if the recording has not yet been started. ```Java Instant startTime = r.getStartTime(); ``` -------------------------------- ### Creating a Java VM with Custom Options Source: https://docs.intrexx.com/apidocs/jdk21/specs/jni/invocation.html Example code demonstrating how to create a Java VM using JNI_CreateJavaVM with specific initialization arguments. ```c JavaVMInitArgs vm_args; JavaVMOption options[3]; options[0].optionString = "-Djava.class.path=c:\myclasses"; /* user classes */ options[1].optionString = "-Djava.library.path=c:\mylibs"; /* set native library path */ options[2].optionString = "-verbose:jni"; /* print JNI-related messages */ vm_args.version = JNI_VERSION_1_2; vm_args.options = options; vm_args.nOptions = 3; vm_args.ignoreUnrecognized = TRUE; /* Note that in the JDK/JRE, there is no longer any need to call * JNI_GetDefaultJavaVMInitArgs. */ res = JNI_CreateJavaVM(&vm, (void **)&env, &vm_args); if (res < 0) ... ``` -------------------------------- ### Get Installed Configuration Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/javax/security/auth/login/LoginContext.html Retrieves the installed security configuration for authentication modules. ```Java config = Configuration.getConfiguration(); ``` -------------------------------- ### getTargetGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/index-all.html Gets the target GUID. ```APIDOC ## getTargetGuid() ### Description Get the target GUID. ### Method Method in class de.uplanet.lucy.server.monitor.log.ApplicationReport.ApplicationReportEntry ``` -------------------------------- ### Default Configuration Syntax Example Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/javax/security/auth/login/Configuration.html This example illustrates the default syntax for a Configuration object, showing how applications are mapped to LoginModules with flags and options. ```plaintext Name { ModuleClass Flag ModuleOptions; ModuleClass Flag ModuleOptions; ModuleClass Flag ModuleOptions; }; Name { ModuleClass Flag ModuleOptions; ModuleClass Flag ModuleOptions; }; other { ModuleClass Flag ModuleOptions; ModuleClass Flag ModuleOptions; }; ``` -------------------------------- ### install() Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/text/StyledEditorKit.html Called when the kit is being installed into a JEditorPane. ```APIDOC ## install(JEditorPane c) ### Description Called when the kit is being installed into a JEditorPane. ### Method `void install(JEditorPane c)` ``` -------------------------------- ### getControlGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the GUID of the control. ```APIDOC ## getControlGuid() ### Description Get the GUID of control. ### Method Signature `getControlGuid()` ### Interface `de.uplanet.lucy.server.rtcache.DataPickerChildInfo` ``` -------------------------------- ### Main.main(String[]) Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-13.html The main entry point for the launcher. ```APIDOC ## main(String[] args) - Static method in class com.sun.tools.javac.Main Main entry point for the launcher. ``` -------------------------------- ### getAttrGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the attribute GUID. ```APIDOC ## getAttrGuid() ### Description Gets the attribute GUID. ### Method Method in class de.uplanet.lucy.server.usermanager.ds.DsSort ### Method Method in interface de.uplanet.lucy.server.usermanager.ds.IDsOrder ``` -------------------------------- ### void installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicComboBoxUI.html Installs default colors, font, renderer, and editor into the combo box. ```APIDOC ## installDefaults() ### Description Installs the default colors, default font, default renderer, and default editor into the JComboBox. ### Method protected void ### Endpoint N/A (Method) ``` -------------------------------- ### Get HTML Element by GUID Source: https://docs.intrexx.com/intrexx/version/steady/api/js/html/functions/api.dom.getHtml.html Use this snippet to retrieve an HTML element from the document using its unique GUID. Ensure the GUID is correctly formatted. ```javascript // Get HTML element by GUID ix.api.dom.getHtml(""); ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs the defaults. ```APIDOC ## installDefaults() ### Description Installs the defaults. ### Method Method ### Class `javax.swing.plaf.basic.BasicInternalFrameUI` ``` -------------------------------- ### getJobGuid() - StartSchedulerJobWorkflowAction Source: https://docs.intrexx.com/intrexx/version/steady/api/workflow/jdk/index-all.html Retrieves the GUID of the scheduler job to be started for a start scheduler job workflow action. ```APIDOC ## getJobGuid() ### Description Get the GUID of the scheduler job to to be started. ### Method Not applicable (Java method) ### Endpoint Not applicable (Java method) ### Parameters None ### Request Example None ### Response GUID of the scheduler job. ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs the defaults. ```APIDOC ## installDefaults() ### Description Installs the defaults. ### Method Method ### Class `javax.swing.plaf.basic.BasicScrollBarUI` ``` -------------------------------- ### Getting Class Name Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/lang/Class.html This example demonstrates how to get the class name of an object using the getClass() method. ```APIDOC ## Getting Class Name ### Description This example demonstrates how to get the class name of an object using the `getClass()` method. ### Method `Object.getClass()` ### Endpoint N/A (Instance method) ### Parameters None ### Request Example ```java void printClassName(Object obj) { System.out.println("The class of " + obj + " is " + obj.getClass().getName()); } ``` ### Response #### Success Response Prints the fully qualified name of the object's class. #### Response Example ``` The class of [object representation] is [fully.qualified.ClassName] ``` ``` -------------------------------- ### Getting Text Start Offset Source: https://docs.intrexx.com/apidocs/jdk21/api/java.xml/javax/xml/stream/util/StreamReaderDelegate.html Returns the starting offset of the current text event within the character array. ```Java public int getTextStart() ``` -------------------------------- ### installComponents() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs the components. ```APIDOC ## installComponents() ### Description Installs the components. ### Method Method ### Class `javax.swing.plaf.basic.BasicInternalFrameUI` ``` -------------------------------- ### getConfiguration Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/javax/security/auth/login/Configuration.html Gets the currently installed login Configuration. If no Configuration has been explicitly set, it installs and returns a default implementation. ```APIDOC ## getConfiguration ### Description Retrieves the installed login Configuration. If a Configuration object was previously set using `setConfiguration`, that object is returned. Otherwise, a default Configuration object is instantiated and returned. ### Method GET ### Endpoint /javax/security/auth/login/Configuration ### Returns - **Configuration** - the login Configuration object. ### Throws - **SecurityException** - if the caller does not have permission to retrieve the Configuration. ``` -------------------------------- ### installComponents() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs the components. ```APIDOC ## installComponents() ### Description Installs the components. ### Method Method ### Class `javax.swing.plaf.basic.BasicScrollBarUI` ``` -------------------------------- ### BasicToolTipUI.installDefaults Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/class-use/JComponent.html Installs default properties for the tooltip UI. ```APIDOC ## BasicToolTipUI.installDefaults(JComponent c) ### Description Installs default properties. ### Method protected void ``` -------------------------------- ### getTargetPageGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/index-all.html Gets the target page GUID. ```APIDOC ## getTargetPageGuid() ### Description Get the target page GUID. ### Method Method in class de.uplanet.lucy.server.auxiliaries.RequestRoutingCallable.RoutingInfo ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Initializes list properties such as font, foreground, and background, and adds the CellRendererPane. ```APIDOC ## installDefaults() ### Description Initializes list properties such as font, foreground, and background, and adds the CellRendererPane. ### Method Method ### Class `javax.swing.plaf.basic.BasicListUI` ``` -------------------------------- ### getParentFieldGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/index-all.html Gets the GUID of the parent field. ```APIDOC ## getParentFieldGuid() ### Description Get GUID of parent field. ``` -------------------------------- ### GSSContext Initiating Peer Example Source: https://docs.intrexx.com/apidocs/jdk21/api/java.security.jgss/org/ietf/jgss/GSSContext.html Demonstrates the complete lifecycle of a GSSContext for an initiating peer, from creation and flag setting to context establishment, message wrapping/unwrapping, and disposal. Requires GSSManager and GSSName setup. ```java // Create a context using default credentials // and the implementation specific default mechanism GSSManager manager = ... GSSName targetName = ... GSSContext context = manager.createContext(targetName, null, null, GSSContext.INDEFINITE_LIFETIME); // set desired context options prior to context establishment context.requestConf(true); context.requestMutualAuth(true); context.requestReplayDet(true); context.requestSequenceDet(true); // establish a context between peers byte[] inToken = new byte[0]; byte[] outToken; // Loop while there still is a token to be processed while (!context.isEstablished()) { outToken = context.initSecContext(inToken, 0, inToken.length); // send the output token if generated if (outToken != null) { sendToken(outToken); } if (!context.isEstablished()) { inToken = readToken(); } } // display context information System.out.println("Remaining lifetime in seconds = " + context.getLifetime()); System.out.println("Context mechanism = " + context.getMech()); System.out.println("Initiator = " + context.getSrcName()); System.out.println("Acceptor = " + context.getTargName()); if (context.getConfState()) { System.out.println("Confidentiality (i.e., privacy) is available"); } if (context.getIntegState()) { System.out.println("Integrity is available"); } // perform wrap on an application supplied message, appMsg, // using QOP = 0, and requesting privacy service byte[] appMsg = ... MessageProp mProp = new MessageProp(0, true); outToken = context.wrap(appMsg, 0, appMsg.length, mProp); sendToken(outToken); // perform unwrap on an incoming application message, and check // its privacy state and supplementary information inToken = readToken(); mProp = new MessageProp(0, true); appMsg = context.unwrap(inToken, 0, inToken.length, mProp); System.out.println("Was it encrypted? " + mProp.getPrivacy()); System.out.println("Duplicate Token? " + mProp.isDuplicateToken()); System.out.println("Old Token? " + mProp.isOldToken()); System.out.println("Unsequenced Token? " + mProp.isUnseqToken()); System.out.println("Gap Token? " + mProp.isGapToken()); // the application determines if the privacy state and supplementary // information are acceptable // release the local-end of the context context.dispose(); ``` -------------------------------- ### Message.getSender() Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Get the GUID of the sender of a message. ```APIDOC ## getSender() ### Description Get the GUID (Globally Unique Identifier) of the sender of a message. ### Method (Not specified, likely a getter method) ### Endpoint (Not applicable, this is an SDK method) ### Parameters (None) ### Response (Not specified, likely returns a String representing the sender's GUID) ``` -------------------------------- ### getCalcFieldGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Get the GUID of a calculated field. ```APIDOC ## getCalcFieldGuid ### Description Get GUID of calculated field. ### Method Method in interface de.uplanet.lucy.server.rtcache.FieldInfo ``` -------------------------------- ### Method: install Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/text/EditorKit.html Called when the kit is being installed into a JEditorPane. This method is intended for subclasses to perform initialization specific to the JEditorPane. ```APIDOC ## Method: install ### Description Called when the kit is being installed into a JEditorPane. ### Method public void install(JEditorPane c) ### Parameters #### Path Parameters * **c** (JEditorPane) - The JEditorPane into which the kit is being installed. ``` -------------------------------- ### installDefaults Method Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicDesktopPaneUI.html Installs default properties for the BasicDesktopPaneUI. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method `protected void installDefaults()` ``` -------------------------------- ### getStartPageGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Retrieves the GUID of the start page. ```APIDOC ## getStartPageGuid() ### Description Get the GUID of the start page. ### Method Method ### Endpoint N/A (Method within an interface) ### Interface de.uplanet.lucy.server.rtcache.ApplicationInfo ``` -------------------------------- ### engineInit(KeyStore, char[]) Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-5.html Initializes this factory with a source of key material. ```APIDOC ## engineInit(KeyStore, char[]) ### Description Initializes this factory with a source of key material. ### Method Signature `engineInit(KeyStore keyStore, char[] password)` ### Parameters * `keyStore` (KeyStore) - The source of key material. * `password` (char[]) - The password to access the key material. ``` -------------------------------- ### getOffset() - javax.swing.text.DefaultStyledDocument.ElementSpec Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-7.html Gets the starting offset. ```APIDOC ## getOffset() ### Description Gets the starting offset. ### Method N/A (Method Signature) ### Endpoint N/A ### Parameters None ### Request Example N/A ### Response N/A ``` -------------------------------- ### Get Substring from Start Index Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/lang/StringBuilder.html Extracts a new String containing a subsequence of characters from the specified start index to the end of the sequence. The start index must be valid. ```java public String substring(int start) ``` -------------------------------- ### installUI Method Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicOptionPaneUI.html Installs the BasicOptionPaneUI as the Look and Feel for a given JOptionPane. ```APIDOC ## installUI ### Description Installs the receiver as the L&F for the passed in `JOptionPane`. ### Method `public void installUI(JComponent c)` ### Parameters #### Path Parameters - **c** (JComponent) - the component where this UI delegate is being installed ### Overrides `installUI` in class `ComponentUI` ### See Also - `ComponentUI.uninstallUI(javax.swing.JComponent)` - `JComponent.setUI(javax.swing.plaf.ComponentUI)` - `JComponent.updateUI()` ``` -------------------------------- ### Get Specific Listeners from TextComponent Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/java/awt/TextComponent.html Retrieves an array of listeners of a specified type. For example, to get TextListeners, use TextListener.class. ```Java public T[] getListeners(Class listenerType) ``` ```Java TextListener[] tls = (TextListener[])(t.getListeners(TextListener.class)); ``` -------------------------------- ### jlink Launcher Option Example Source: https://docs.intrexx.com/apidocs/jdk21/specs/man/jlink.html Shows how to create a launcher for a specific module and its main class. ```bash jlink --launcher myapp=com.example.myapp/com.example.myapp.Main --output myruntime ``` -------------------------------- ### installComponents Method Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicRootPaneUI.html Installs the necessary components for the RootPaneUI. ```APIDOC ## installComponents(JRootPane root) ### Description Installs components. ### Method `protected void installComponents(JRootPane root)` ### Parameters #### Path Parameters - **root** (JRootPane) - An instance of `JRootPane`. ``` -------------------------------- ### getParentGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/index-all.html Gets the parent GUID. This method is deprecated. ```APIDOC ## getParentGuid() ### Description Get the parent GUID. ### Deprecated ``` -------------------------------- ### Apply and Restore Desktop Hints Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/java/awt/doc-files/DesktopProperties.html Example demonstrating how to retrieve desktop hints, apply them to a Graphics2D object, and then restore the original hints. This ensures temporary application of rendering settings. ```java Toolkit tk = Toolkit.getDefaultToolkit(); Map map = (Map)(tk.getDesktopProperty("awt.font.desktophints")); Map oldHints; if (map != null) { oldHints = getRenderingHints(graphic2D, map, null); graphics2D.addRenderingHints(map); .. graphics2D.addRenderingHints(oldHints); } ``` -------------------------------- ### getParentDataGroupGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/velocity/jdk/index-all.html Gets the GUID of the parent data group. ```APIDOC ## getParentDataGroupGuid() ### Description Gets GUID of parent data group. ``` -------------------------------- ### getWorkflowGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the GUID of the workflow associated with this ISingleWorkflowAdminEvent. ```APIDOC ## getWorkflowGuid() ### Description Get the GUID of the workflow this event belongs to. ### Method Method in interface de.uplanet.lucy.server.workflow.serverevent.ISingleWorkflowAdminEvent ``` -------------------------------- ### engineInit(KeyStore, char[]) Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/javax/net/ssl/KeyManagerFactorySpi.html Initializes this factory with a source of key material using a KeyStore and password. ```APIDOC ### Method Details #### engineInit protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException Initializes this factory with a source of key material. Parameters: `ks` - the key store or null `password` - the password for recovering keys Throws: `KeyStoreException` - if this operation fails `NoSuchAlgorithmException` - if the specified algorithm is not available from the specified provider. `UnrecoverableKeyException` - if the key cannot be recovered See Also: * `KeyManagerFactory.init(KeyStore, char[])` ``` -------------------------------- ### Method: installDefaults Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/basic/BasicViewportUI.html Installs view port properties. ```APIDOC ## Method ### installDefaults protected void installDefaults(JComponent c) Installs view port properties. Parameters: `c` - a component ``` -------------------------------- ### de.uplanet.lucy.server.ISessionProcessingContext.getImpersonateUserGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Get the GUID of the current impersonation user. ```APIDOC ## getImpersonateUserGuid() ### Description Get the GUID of the current impersonation user. ### Method Groovy method call ### Interface de.uplanet.lucy.server.ISessionProcessingContext ``` -------------------------------- ### getBytes Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Get the GUID's 20 bytes. ```APIDOC ## getBytes ### Description Get the GUID's 20 bytes. ### Method Method in class de.uplanet.util.Guid ``` -------------------------------- ### installUI(JComponent) - BasicListUI Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Initializes the list by calling installDefaults(), installListeners(), and installKeyboardActions() in order for BasicListUI. ```APIDOC ## installUI(JComponent) ### Description Initializes `this.list` by calling `installDefaults()`, `installListeners()`, and `installKeyboardActions()` in order. ### Method Method ### Class javax.swing.plaf.basic.BasicListUI ``` -------------------------------- ### getAttributeGUIDforBeanName Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the GUID for a bean property name. ```APIDOC ## getAttributeGUIDforBeanName(String) ### Description Gets the GUID for a bean property name. ### Method Static method in class de.uplanet.lucy.usermanager.ds.DS_USER ### Parameters - **String** (String) - The bean property name. ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicDesktopIconUI` ``` -------------------------------- ### getAttrAliasForGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the attribute alias for a given GUID. ```APIDOC ## getAttrAliasForGuid(String) ### Description Gets the attribute alias for a given GUID. ### Method Static method in class de.uplanet.lucy.usermanager.ds.DS_CONST ### Parameters - **String** (String) - The GUID of the attribute. ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicDesktopPaneUI` ``` -------------------------------- ### getStartFupGuid() Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Retrieves the GUID of the start FUP page. ```APIDOC ## getStartFupGuid() ### Description Get the GUID of the start fup page. ### Method Method ### Endpoint N/A (Method within an interface) ### Interface de.uplanet.lucy.server.rtcache.ApplicationInfo ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicInternalFrameTitlePane` ``` -------------------------------- ### getStartOffset Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/text/AbstractDocument.BranchElement.html Gets the starting offset in the model for the element. ```APIDOC ## getStartOffset ### Description Gets the starting offset in the model for the element. ### Method `int getStartOffset()` ### Returns The starting offset of the element in the model. ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicMenuBarUI` ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicMenuItemUI` ``` -------------------------------- ### getPositiveSuffix() Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/text/DecimalFormat.html Get the positive suffix. Example: 123% ```APIDOC ## getPositiveSuffix() ### Description Get the positive suffix. ### Example 123% ### Returns - (String) - the positive suffix ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicOptionPaneUI` ``` -------------------------------- ### getConfiguration (LoginConfiguration) Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-7.html Get the installed login Configuration. ```APIDOC ## getConfiguration() ### Description Get the installed login Configuration. ### Method Static method ### Class javax.security.auth.login.Configuration ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicPopupMenuUI` ``` -------------------------------- ### Get Value via HTML Element or GUID Source: https://docs.intrexx.com/intrexx/version/steady/api/js/html/classes/Globals.Browser.html Retrieves the value from a specified HTML element or control using its GUID. Supports direct HTML element references or element GUIDs. ```javascript Browser.getValue(ix.api.dom.getHtml("")); ``` ```javascript Browser.getValue(""); ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicProgressBarUI` ``` -------------------------------- ### getAttributeNameForGuid Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the attribute name for a given attribute GUID. ```APIDOC ## getAttributeNameForGuid(String) ### Description Gets the attribute name for a given attribute GUID. ### Method Static method in class de.uplanet.lucy.server.usermanager.ds.DsDbSchema ### Parameters - **String** (String) - The GUID of the attribute. ``` -------------------------------- ### getAttributeGuidForName Source: https://docs.intrexx.com/intrexx/version/steady/api/groovy/jdk/index-all.html Gets the attribute GUID for a given attribute name. ```APIDOC ## getAttributeGuidForName(String) ### Description Gets the attribute GUID for a given attribute name. ### Method Static method in class de.uplanet.lucy.server.usermanager.ds.DsDbSchema ### Parameters - **String** (String) - The name of the attribute. ``` -------------------------------- ### installDefaults() - BasicSplitPaneUI Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs the UI defaults for BasicSplitPaneUI. ```APIDOC ## installDefaults() ### Description Installs the UI defaults. ### Method `installDefaults()` ### Class `javax.swing.plaf.basic.BasicSplitPaneUI` ``` -------------------------------- ### Retrieve Control by GUID Source: https://docs.intrexx.com/intrexx/version/steady/api/js/html/functions/api.dom.getControl.html Use this snippet to get a control instance when you have its unique GUID. This is a common way to interact with specific controls in Intrexx. ```javascript const myControl = ix.api.dom.getControl(""); ``` -------------------------------- ### installDefaults() Source: https://docs.intrexx.com/apidocs/jdk21/api/index-files/index-9.html Installs default properties. ```APIDOC ## installDefaults() ### Description Installs default properties. ### Method Method ### Class `javax.swing.plaf.basic.BasicColorChooserUI` ``` -------------------------------- ### initialize Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html Called by UIManager when this look and feel is installed. ```APIDOC ## initialize() ### Description Called by UIManager when this look and feel is installed. ### Method `public void initialize()` ``` -------------------------------- ### Example GetTimeRequest Implementation Source: https://docs.intrexx.com/apidocs/jdk21/api/java.naming/javax/naming/ldap/ExtendedRequest.html An example implementation of an ExtendedRequest for a hypothetical 'get time' LDAP operation. This class defines how to create the corresponding ExtendedResponse. ```Java public class GetTimeRequest implements ExtendedRequest { public GetTimeRequest() {... }; public ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException { return new GetTimeResponse(id, berValue, offset, length); } ... } ``` -------------------------------- ### Keytool -printcert Command Example Source: https://docs.intrexx.com/apidocs/jdk21/specs/man/keytool.html Illustrates the basic syntax for the -printcert command, showing how to specify the certificate file. ```bash keytool -printcert -file VScert.cer ``` -------------------------------- ### Get Matcher Region Start Index Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/util/regex/Matcher.html Retrieves the starting index (inclusive) of the region currently set for this matcher. Searches are confined to this region. ```java public int regionStart() ``` -------------------------------- ### install Source: https://docs.intrexx.com/apidocs/jdk21/api/java.desktop/javax/swing/text/StyledEditorKit.html Called when the kit is being installed into a JEditorPane. ```APIDOC ## Method install ### Description Called when the kit is being installed into a JEditorPane. ### Overrides `install` in class `EditorKit` ### Parameters * `c` - the JEditorPane ### Method `public void install(JEditorPane c)` ``` -------------------------------- ### get (absolute bulk to dst) Source: https://docs.intrexx.com/apidocs/jdk21/api/java.base/java/nio/DoubleBuffer.html Absolute bulk get method. Reads doubles from this buffer into the given destination array starting at the specified index. ```APIDOC ## get (absolute bulk to dst) ### Description Absolute bulk get method. Reads doubles from this buffer into the given destination array, starting at the specified index in this buffer. The number of doubles read is the minimum of the remaining elements in this buffer and the destination array's length. ### Method `DoubleBuffer get(int index, double[] dst)` ### Parameters #### Path Parameters - `index` (int) - Required - The starting index in this buffer. - `dst` (double[]) - Required - The destination array. ### Response #### Success Response - `DoubleBuffer` - This buffer. ```