|
||||||||||
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.di.admin.ui.BaseUI
com.ibm.di.admin.ui.GenericAttributeMapUI
public class GenericAttributeMapUI
This is an implementation class used in the Attribute Map user interface of the Config Editor.
Nested Class Summary | |
---|---|
class |
GenericAttributeMapUI.AddAttribute
An implementation class used for adding an attribute to the attribute map after the user has drag-n-dropped this attribute over the attribute map. |
class |
GenericAttributeMapUI.AMCellRenderer
Table cell renderer for name |
class |
GenericAttributeMapUI.AMTableColumn
Table column model |
class |
GenericAttributeMapUI.AttributeMapModel
An implementation class representing a GUI table. |
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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 | |
---|---|
GenericAttributeMapUI(AttributeMapConfig config,
SchemaConfig schema,
boolean input,
int inheritableFrom,
Object container)
Constructor for the GenericAttributeMapUI object |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
Command buttons etc ... |
void |
addAttributeMap(Object name)
|
JComponent |
centerPanel()
|
void |
checkChildPanel(AttributeMapItem item)
|
void |
configurationChanged(MetamergeConfigChange changeEvent)
|
boolean |
containsIC(List list,
Object o)
|
void |
createUI()
Creates user interface for config object |
void |
doQuickDiscovery()
|
void |
drop(DropTargetDropEvent e)
|
boolean |
getEditable()
Is the schema editable? |
String |
isAttributeBound(AttributeMapItem ami)
Returns true if the attribute map item has an existing schema or work entry attribute from which it can get a value. |
boolean |
isUseAllConnectors()
|
void |
mouseClicked(MouseEvent event)
|
void |
mouseEntered(MouseEvent event)
|
void |
mouseExited(MouseEvent event)
|
void |
mousePressed(MouseEvent event)
|
void |
mouseReleased(MouseEvent event)
|
JComponent |
northPanel()
|
void |
removeSelectedAttributes()
|
void |
setEditable(boolean editable)
Decides if the schema is editable |
void |
setForceWE(boolean forceWE)
|
void |
setUseAllConnectors(boolean useAllConnectors)
|
void |
toggleSplitter()
|
void |
updateStatusText()
|
void |
valueChanged(ListSelectionEvent lse)
Called when the user changes the selected attribute map item. |
Methods inherited from class com.ibm.di.admin.ui.BaseUI |
---|
addActionListener, dragDropEnd, dragEnter, dragEnter, dragExit, dragExit, dragGestureRecognized, dragOver, dragOver, dropActionChanged, dropActionChanged, findContainer, fireActionPerformed, getConfig, getContainer, getProperty, isDebugMode, removeActionListener, setConfig, setContainer, setProperty |
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 |
Constructor Detail |
---|
public GenericAttributeMapUI(AttributeMapConfig config, SchemaConfig schema, boolean input, int inheritableFrom, Object container)
config
- the configuration of the Attribute Mapschema
- the configuration of the schemainput
- a boolean specifying whether this is an input or an output Attribute MapinheritableFrom
- the folder ID (for example, MetamergeConfig.ASSEMBLYLINE_FOLDER)container
- the object instantiating this GenericAttributeMapUI objectMethod Detail |
---|
public void setForceWE(boolean forceWE)
public void setEditable(boolean editable)
editable
- The new valuepublic boolean getEditable()
public void createUI()
BaseUIInterface
createUI
in interface BaseUIInterface
public JComponent northPanel()
public JComponent centerPanel()
public void toggleSplitter()
public void valueChanged(ListSelectionEvent lse)
valueChanged
in interface ListSelectionListener
lse
- the object representing the event receivedpublic void updateStatusText()
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- the object representing the event receivedpublic void doQuickDiscovery()
public void mouseClicked(MouseEvent event)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent event)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent event)
mouseExited
in interface MouseListener
public void mousePressed(MouseEvent event)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent event)
mouseReleased
in interface MouseListener
public void removeSelectedAttributes()
public void addAttributeMap(Object name)
public void checkChildPanel(AttributeMapItem item)
public void configurationChanged(MetamergeConfigChange changeEvent)
configurationChanged
in interface MetamergeConfigChangeListener
public String isAttributeBound(AttributeMapItem ami)
ami
- the attribute map item object which is being checked
public boolean containsIC(List list, Object o)
public void drop(DropTargetDropEvent e)
drop
in interface DropTargetListener
drop
in class BaseUI
public boolean isUseAllConnectors()
public void setUseAllConnectors(boolean useAllConnectors)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |