|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-04 |
||||||||
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)
Find a component from the component tree by giving its ID and current component. |
static AlmComponent |
findComponentFromRootById(AlmComponent root,
java.lang.String id)
|
static AlmComponent |
findOffSpring(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 java.lang.String |
getTableSortInfo(AlmComponent comp)
Find table sort information. |
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 name
public static AlmComponent findOffSpring(AlmComponent component, java.lang.String offSpringName)
component
- offSpringName
-
public static AlmComponent findComponentById(AlmComponent component, java.lang.String id)
component
- id
-
public static AlmComponent findComponentFromRootById(AlmComponent root, java.lang.String id)
public static javax.swing.JComponent findScrollPaneFromComponent(javax.swing.JComponent component)
public static java.lang.String getTableSortInfo(AlmComponent comp)
comp
- the component passed in
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 11g Release 1 (11.1.1) E14128-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |