public class AttributesPanel extends RMObject
Modifier and Type | Class and Description |
---|---|
static class |
AttributesPanel.RMColorPanel
This inner class is a RJColorPanel suitable for manipulating colors in current RMEditor.
|
Modifier and Type | Field and Description |
---|---|
static int |
COLOR |
static int |
FONT |
static int |
FORMAT |
static int |
GALLERY |
static int |
KEYS |
Constructor and Description |
---|
AttributesPanel()
Creates a new attributes panel.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the attributes panel and releases the UI.
|
javax.swing.JTabbedPane |
getTabbedPane()
Returns the Tab pane used by the attributes panel.
|
RJPanel |
getUI()
Returns the Swing UI panel for the attributes panel.
|
int |
getVisible()
Returns the index of the currently visible tab (or -1 if attributes panel not visible).
|
boolean |
isVisible()
Returns whether the attributes panel is visible.
|
void |
resetUI()
Updates the attributes panel UI (forwards on to inspector at selected tab).
|
void |
setSelectedTab(int index)
Sets the currently selected tab by index.
|
void |
setVisible(boolean aValue)
Sets the attributes panel visible.
|
void |
setVisible(int anIndex)
Sets the attributes panel visible, specifying a specific tab by the given index.
|
static AttributesPanel |
shared()
Returns the shared instance of the attributes panel.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public static final int COLOR
public static final int FONT
public static final int FORMAT
public static final int KEYS
public static final int GALLERY
public static AttributesPanel shared()
public RJPanel getUI()
public boolean isVisible()
public void setVisible(boolean aValue)
public int getVisible()
public void setVisible(int anIndex)
public javax.swing.JTabbedPane getTabbedPane()
public void setSelectedTab(int index)
public void resetUI()
public void close()