|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ibm.etools.iseries.ui.EditcodeEditwordFormatterEditCodeEditor
public class EditcodeEditwordFormatterEditCodeEditor
Custom property editor for editCode property of EditcodeEditwordFormatter. EditcodeEditwordFormatterEditCodeEditor allows you to edit editCode properties.
EditcodeEditwordFormatter,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
Copyright
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
EditcodeEditwordFormatterEditCodeEditor()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addConstrain(Container container,
Component component,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
double weight_x,
double weight_y,
int fill,
int anchor,
int top,
int left,
int bottom,
int right,
int padx,
int pady)
This method adds a component to a container using GridBagConstraints and GridBag layout manager. |
void |
addPropertyChangeListener(PropertyChangeListener arg1)
The addPropertyChangeListener method was generated to support the propertyChange field. |
static String |
Copyright()
Copyright notice. |
String |
getAsText()
When cancel button is pressed, use orignalRecIOMgr. |
Component |
getCustomEditor()
|
char |
getEditCode()
|
protected JComboBox |
getEditCodeChoice()
|
JTable |
getExampleTable()
Create the condition JTable |
String |
getJavaInitializationString()
The string will be used to init the bean being edited. |
JScrollPane |
getTableScrollPane()
|
String[] |
getTags()
|
Object |
getValue()
Returns the value of the target that is currently being edited to IDE. |
boolean |
isPaintable()
|
void |
itemStateChanged(ItemEvent e)
ItemEvent will be fired when a choice's selection is changed. |
static void |
main(String[] args)
|
void |
paintValue(Graphics gfx,
Rectangle box)
To draw the text in property sheet |
void |
removePropertyChangeListener(PropertyChangeListener arg1)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
setAsText(String text)
|
void |
setEditCode(char e)
|
void |
setValue(Object value)
IDE call setValue() to pass object value to property editor, the object is then stored in originalEditCode. |
boolean |
supportsCustomEditor()
|
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String Copyright
| Constructor Detail |
|---|
public EditcodeEditwordFormatterEditCodeEditor()
| Method Detail |
|---|
public void addConstrain(Container container,
Component component,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
double weight_x,
double weight_y,
int fill,
int anchor,
int top,
int left,
int bottom,
int right,
int padx,
int pady)
container - java.awt.Containercomponent - java.awt.Componentgrid_x - intgrid_y - intgrid_width - intgrid_height - intweight_x - doubleweight_y - doublefill - intanchor - inttop - intleft - intbottom - intright - intpadx - intpady - intpublic void addPropertyChangeListener(PropertyChangeListener arg1)
addPropertyChangeListener in interface PropertyEditoraddPropertyChangeListener in class Containerpublic static String Copyright()
public String getAsText()
getAsText in interface PropertyEditorpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorpublic char getEditCode()
protected JComboBox getEditCodeChoice()
public JTable getExampleTable()
public String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic JScrollPane getTableScrollPane()
public String[] getTags()
getTags in interface PropertyEditorpublic Object getValue()
getValue in interface PropertyEditorpublic boolean isPaintable()
isPaintable in interface PropertyEditorpublic void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListener
public void paintValue(Graphics gfx,
Rectangle box)
paintValue in interface PropertyEditorpublic void removePropertyChangeListener(PropertyChangeListener arg1)
removePropertyChangeListener in interface PropertyEditorremovePropertyChangeListener in class Component
public void setAsText(String text)
throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionpublic void setEditCode(char e)
public void setValue(Object value)
setValue in interface PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorpublic static void main(String[] args)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||