|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.DisplayTransformCustomizerPanel
public class DisplayTransformCustomizerPanel
DisplayTransformCustomizerPanel provides the user interface for setting the display transform on the object that implements com.sas.util.transforms.DisplayTransformInterface.
Field Summary | |
---|---|
protected com.sas.util.transforms.DisplayTransformInterface |
displayTransform
|
protected TransformInterfaceEditor |
editor
|
protected javax.swing.JList |
inputList
|
protected ListModelAdapter |
inputModel
|
protected boolean |
madeVisible
|
protected javax.swing.JList |
outputList
|
protected ListModelAdapter |
outputModel
|
protected static java.lang.String |
RB_KEY
|
protected boolean |
settingClasses
|
protected boolean |
settingInputList
|
protected boolean |
settingOutputList
|
protected boolean |
settingTransform
|
protected com.sas.collection.SortedCollection |
sortedSources
|
protected com.sas.collection.SortedCollection |
sortedTargets
|
protected javax.swing.JComboBox |
transformBox
|
protected javax.swing.JPanel |
transformContainer
|
protected javax.swing.DefaultComboBoxModel |
transformModel
|
Fields inherited from class com.sas.swing.visuals.SwingCustomizerPanel |
---|
bean, tabTitle |
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants |
---|
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN |
Constructor Summary | |
---|---|
DisplayTransformCustomizerPanel()
Constructor used pass the name of the tab up to the superclass. |
|
DisplayTransformCustomizerPanel(java.lang.String tabName)
Constructor used pass the name of the tab up to the superclass. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
void |
addLinks()
|
protected void |
createComponents()
|
protected void |
createMainPanel()
|
protected void |
createTransformContainer()
|
protected void |
createTransformContainerComponents()
|
void |
customizerClosing()
customizerClosing() is called when the customizer for a component is closed. |
static java.lang.String |
getClassDeclaration(java.lang.Class classObj)
|
protected com.sas.util.transforms.TransformInterface |
getCurrentTransform()
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
setDefaultValues()
Create the UI controls |
void |
setObject(java.lang.Object bean)
Sets the Object being customized. |
protected void |
setSourceAndTargetClasses(com.sas.util.transforms.TransformInterface transform)
|
protected void |
setTransformList()
|
protected void |
setTransformOnBean(com.sas.util.transforms.TransformInterface transform)
Sets the transfrom on the bean |
protected void |
setTransformSelected()
Set the selectedItem in the list to correspond to the attached Transform |
void |
setVisible(boolean b)
|
protected void |
synchronizeLists()
|
void |
valueChanged(javax.swing.event.ListSelectionEvent event)
Handles valueChanged events |
Methods inherited from class com.sas.swing.visuals.SwingCustomizerPanel |
---|
getObject, getTabTitle, setTabTitle |
Field Detail |
---|
protected static final java.lang.String RB_KEY
protected com.sas.util.transforms.DisplayTransformInterface displayTransform
protected javax.swing.JList inputList
protected javax.swing.JList outputList
protected javax.swing.JComboBox transformBox
protected ListModelAdapter inputModel
protected com.sas.collection.SortedCollection sortedSources
protected ListModelAdapter outputModel
protected javax.swing.DefaultComboBoxModel transformModel
protected com.sas.collection.SortedCollection sortedTargets
protected TransformInterfaceEditor editor
protected javax.swing.JPanel transformContainer
protected boolean settingClasses
protected boolean settingTransform
protected boolean madeVisible
protected boolean settingInputList
protected boolean settingOutputList
Constructor Detail |
---|
public DisplayTransformCustomizerPanel(java.lang.String tabName)
public DisplayTransformCustomizerPanel()
Method Detail |
---|
public void setDefaultValues()
protected void createComponents()
protected void createMainPanel()
protected void createTransformContainer()
protected void createTransformContainerComponents()
public void setObject(java.lang.Object bean)
SwingCustomizerPanel
setObject
in interface java.beans.Customizer
setObject
in class SwingCustomizerPanel
bean
- the Object being customized.Customizer.setObject(java.lang.Object)
public void addLinks()
public void setVisible(boolean b)
setVisible
in class javax.swing.JComponent
public void valueChanged(javax.swing.event.ListSelectionEvent event)
valueChanged
in interface javax.swing.event.ListSelectionListener
event
- ListSelectionEventpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
protected void synchronizeLists()
protected com.sas.util.transforms.TransformInterface getCurrentTransform()
protected void setTransformList()
protected void setSourceAndTargetClasses(com.sas.util.transforms.TransformInterface transform)
protected void setTransformOnBean(com.sas.util.transforms.TransformInterface transform)
protected void setTransformSelected()
public void customizerClosing()
SwingCustomizerPanel
customizerClosing() should "unhook" the bean from the customizer by removing any event listeners the panel added to the bean.
Subclasses should call super in case we add some functionality to this method in the future.
customizerClosing
in interface com.sas.beans.CustomizerClosingInterface
customizerClosing
in class SwingCustomizerPanel
public static java.lang.String getClassDeclaration(java.lang.Class classObj)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |