Package com.reportmill.panels
Class AttributesPanel
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.panels.AttributesPanel
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 - Direct Known Subclasses:
- RBAttributesPanel
 
 public class AttributesPanel extends RMObject This class manages the attributes panel which holds the color panel, font panel, formatter panel and keys panel.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAttributesPanel.RMColorPanelThis inner class is a RJColorPanel suitable for manipulating colors in current RMEditor.
 - 
Constructor SummaryConstructors Constructor Description AttributesPanel()Creates a new attributes panel.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the attributes panel and releases the UI.javax.swing.JTabbedPanegetTabbedPane()Returns the Tab pane used by the attributes panel.RJPanelgetUI()Returns the Swing UI panel for the attributes panel.intgetVisible()Returns the index of the currently visible tab (or -1 if attributes panel not visible).booleanisVisible()Returns whether the attributes panel is visible.voidresetUI()Updates the attributes panel UI (forwards on to inspector at selected tab).voidsetSelectedTab(int index)Sets the currently selected tab by index.voidsetVisible(boolean aValue)Sets the attributes panel visible.voidsetVisible(int anIndex)Sets the attributes panel visible, specifying a specific tab by the given index.static AttributesPanelshared()Returns the shared instance of the attributes panel.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Field Detail- 
COLORpublic static final int COLOR - See Also:
- Constant Field Values
 
 - 
FONTpublic static final int FONT - See Also:
- Constant Field Values
 
 - 
FORMATpublic static final int FORMAT - See Also:
- Constant Field Values
 
 - 
KEYSpublic static final int KEYS - See Also:
- Constant Field Values
 
 - 
GALLERYpublic static final int GALLERY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
sharedpublic static AttributesPanel shared() Returns the shared instance of the attributes panel.
 - 
getUIpublic RJPanel getUI() Returns the Swing UI panel for the attributes panel.
 - 
isVisiblepublic boolean isVisible() Returns whether the attributes panel is visible.
 - 
setVisiblepublic void setVisible(boolean aValue) Sets the attributes panel visible.
 - 
getVisiblepublic int getVisible() Returns the index of the currently visible tab (or -1 if attributes panel not visible).
 - 
setVisiblepublic void setVisible(int anIndex) Sets the attributes panel visible, specifying a specific tab by the given index.
 - 
getTabbedPanepublic javax.swing.JTabbedPane getTabbedPane() Returns the Tab pane used by the attributes panel.
 - 
setSelectedTabpublic void setSelectedTab(int index) Sets the currently selected tab by index.
 - 
resetUIpublic void resetUI() Updates the attributes panel UI (forwards on to inspector at selected tab).
 - 
closepublic void close() Closes the attributes panel and releases the UI.
 
- 
 
-