Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.dt.patterns.piLayout.gui
Class ButtonAttributes

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.piLayout.gui.ButtonAttributes

public class ButtonAttributes
extends java.lang.Object

Class that acts as a generic bean to hold attributes for a button in a DC to be shown in a PI custom gui.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
ButtonAttributes(java.lang.String label, CustomGuiField buttonRenderedAttr, java.util.List<CustomGuiField> buttonAttrs)
          Construct this class.
 
Method Summary
 java.util.List<CustomGuiField> getAttrs()
          Get the generic attributes.
 java.lang.String getButtonLabel()
          Get the button label.
 CustomGuiField getButtonRenderedAttr()
          Get the rendered attribute.
 void setSelected()
          Update editor values from property model after this part of the UI is made visible (such as when a tab continaing this panel is exposed).
 void updateUI(oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext, oracle.bali.inspector.PropertyModel model, org.w3c.dom.Element elem)
          Update the UI wiget values in response to a model change in XMLEF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonAttributes

public ButtonAttributes(java.lang.String label,
                        CustomGuiField buttonRenderedAttr,
                        java.util.List<CustomGuiField> buttonAttrs)
Construct this class.

Parameters:
label - Button name to be used in label of table.
buttonRenderedAttr - Rendered attribute to be used next to label in table.
buttonAttrs - Generic list of attributes to be shown in a list.
Method Detail

setSelected

public void setSelected()
Update editor values from property model after this part of the UI is made visible (such as when a tab continaing this panel is exposed).


updateUI

public void updateUI(oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext,
                     oracle.bali.inspector.PropertyModel model,
                     org.w3c.dom.Element elem)
Update the UI wiget values in response to a model change in XMLEF.

Parameters:
xmlContext - context object
model - property model gets info on the current state of the element.
elem - xml element in question with updated values to be used.

getButtonLabel

public java.lang.String getButtonLabel()
Get the button label.

Returns:
button label.

getButtonRenderedAttr

public CustomGuiField getButtonRenderedAttr()
Get the rendered attribute.

Returns:
rendered attribute.

getAttrs

public java.util.List<CustomGuiField> getAttrs()
Get the generic attributes.

Returns:
generic attributes.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.