|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 12c (12.1.2) E23194-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.alm.view.uicomponents.ComponentUtils
public class ComponentUtils
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 |
---|
public ComponentUtils()
Method Detail |
---|
public static AlmComponent findAncestor(AlmComponent component, java.lang.String ancestorName)
component
- current component objectancestorName
- Ancestor tag namepublic static AlmComponent findOffSpring(AlmELContext elcontext, AlmComponent component, java.lang.String offSpringName)
component
-offSpringName
-public static AlmComponent findComponentById(AlmComponent component, java.lang.String id)
component
-id
-public static AlmComponent findComponentById(AlmELContext elcontext, AlmComponent component, java.lang.String id)
elcontext
-component
-id
-
@Deprecated
public static AlmComponent findComponentFromRootById(AlmComponent root,
java.lang.String id)
public static AlmComponent findComponentFromRootById(AlmELContext elcontext, AlmComponent root, java.lang.String id)
public static javax.swing.JComponent findScrollPaneFromComponent(javax.swing.JComponent component)
public static java.lang.String getTableColumnWidthInfo(AlmComponent comp)
public static int getTableColumnIndexByName(javax.swing.table.TableColumnModel cmodel, java.lang.String colName)
public static void setTableColumnWidth(javax.swing.table.TableColumnModel cmodel, int columnIndex, int width)
public static void setTableColumnWidthFromInfo(javax.swing.table.TableColumnModel cmodel, java.lang.String info)
public static java.lang.String getHyperLinkArchor(java.lang.String text)
public static java.net.URL getHyperLink(java.lang.String text)
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 12c (12.1.2) E23194-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |