Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
12c (12.1.2)
E23194-01


oracle.alm.view.uicomponents
Class ComponentUtils

java.lang.Object
  extended by oracle.alm.view.uicomponents.ComponentUtils


public class ComponentUtils
extends java.lang.Object

Constructor Summary
ComponentUtils()
           

 

Method Summary
static AlmComponent findAncestor(AlmComponent component, java.lang.String ancestorName)
          Find the closest ancestor by giving the tag name from current component (including the component itself) in the component tree.
static AlmComponent findComponentById(AlmComponent component, java.lang.String id)
          Deprecated. pleases use findComponentById(AlmELContext elcontext, AlmComponent component, String id)
static AlmComponent findComponentById(AlmELContext elcontext, AlmComponent component, java.lang.String id)
          Find a component from the component tree by giving its ID and current component.
static AlmComponent findComponentFromRootById(AlmComponent root, java.lang.String id)
          Deprecated. 
static AlmComponent findComponentFromRootById(AlmELContext elcontext, AlmComponent root, java.lang.String id)
           
static AlmComponent findOffSpring(AlmELContext elcontext, AlmComponent component, java.lang.String offSpringName)
          Find the closest offspring by giving the tag name from current component (including the component itself) in the component tree.
static javax.swing.JComponent findScrollPaneFromComponent(javax.swing.JComponent component)
           
static java.net.URL getHyperLink(java.lang.String text)
           
static java.lang.String getHyperLinkArchor(java.lang.String text)
           
static int getTableColumnIndexByName(javax.swing.table.TableColumnModel cmodel, java.lang.String colName)
           
static java.lang.String getTableColumnWidthInfo(AlmComponent comp)
           
static void setTableColumnWidth(javax.swing.table.TableColumnModel cmodel, int columnIndex, int width)
           
static void setTableColumnWidthFromInfo(javax.swing.table.TableColumnModel cmodel, java.lang.String info)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ComponentUtils

public ComponentUtils()

Method Detail

findAncestor

public static AlmComponent findAncestor(AlmComponent component,
                                        java.lang.String ancestorName)
Find the closest ancestor by giving the tag name from current component (including the component itself) in the component tree.
Parameters:
component - current component object
ancestorName - Ancestor tag name
Returns:
the AlmComponent object found in the component tree

findOffSpring

public static AlmComponent findOffSpring(AlmELContext elcontext,
                                         AlmComponent component,
                                         java.lang.String offSpringName)
Find the closest offspring by giving the tag name from current component (including the component itself) in the component tree.
Parameters:
component -
offSpringName -
Returns:
the AlmComponent object found in the component tree

findComponentById

public static AlmComponent findComponentById(AlmComponent component,
                                             java.lang.String id)
Deprecated. pleases use findComponentById(AlmELContext elcontext, AlmComponent component, String id)
Find a component from the component tree by giving its ID and current component.
Parameters:
component -
id -
Returns:
the AlmComponent object found in the component tree

findComponentById

public static AlmComponent findComponentById(AlmELContext elcontext,
                                             AlmComponent component,
                                             java.lang.String id)
Find a component from the component tree by giving its ID and current component.
Parameters:
elcontext -
component -
id -
Returns:
the AlmComponent object found in the component tree

findComponentFromRootById

@Deprecated
public static AlmComponent findComponentFromRootById(AlmComponent root,
                                                                java.lang.String id)
Deprecated. 

findComponentFromRootById

public static AlmComponent findComponentFromRootById(AlmELContext elcontext,
                                                     AlmComponent root,
                                                     java.lang.String id)

findScrollPaneFromComponent

public static javax.swing.JComponent findScrollPaneFromComponent(javax.swing.JComponent component)

getTableColumnWidthInfo

public static java.lang.String getTableColumnWidthInfo(AlmComponent comp)

getTableColumnIndexByName

public static int getTableColumnIndexByName(javax.swing.table.TableColumnModel cmodel,
                                            java.lang.String colName)

setTableColumnWidth

public static void setTableColumnWidth(javax.swing.table.TableColumnModel cmodel,
                                       int columnIndex,
                                       int width)

setTableColumnWidthFromInfo

public static void setTableColumnWidthFromInfo(javax.swing.table.TableColumnModel cmodel,
                                               java.lang.String info)

getHyperLinkArchor

public static java.lang.String getHyperLinkArchor(java.lang.String text)

getHyperLink

public static java.net.URL getHyperLink(java.lang.String text)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
12c (12.1.2)
E23194-01


Copyright © 2009,2013, Oracle. All rights reserved.