|
Mp3dings 20100427 |
|||||||||
| 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
net.sourceforge.mp3dings.NewPatternBuilder
public class NewPatternBuilder
A GUI component that allows the user to create renaming patterns for mp3
files. *
| 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 | |
|---|---|
protected JLabel |
examplePreview
The JLabel that displays an example String |
static int |
MOVE_END
Description of the Field |
static int |
MOVE_LEFT
Description of the Field |
static int |
MOVE_RIGHT
Description of the Field |
static int |
MOVE_START
Description of the Field |
protected RenamingPattern |
pattern
The pattern that is currently edited. |
protected JList |
patternView
The JList that renders the pattern blocks. |
| 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 | |
|---|---|
NewPatternBuilder(RenamingPattern model,
DataTableModel data)
Constructs a new PatternBuilder. |
|
| Method Summary | |
|---|---|
protected JPopupMenu |
contextMenu()
Description of the Method |
protected RenamingPattern.Block |
getBlockAt(Point p)
Gets the blockAt attribute of the NewPatternBuilder object |
RenamingPattern |
getPattern()
Gets the pattern attribute of the NewPatternBuilder object |
Rectangle |
getPatternViewBounds()
Gets the patternViewBounds attribute of the NewPatternBuilder object |
protected int |
indexAt(Point point)
Description of the Method |
protected boolean |
isInLeftHalfCell(Point p)
Gets the inLeftHalfCell attribute of the NewPatternBuilder object |
void |
setPattern(RenamingPattern model)
Sets the pattern attribute of the NewPatternBuilder object |
void |
updateExample()
Description of the Method |
| 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 |
|---|
protected JList patternView
protected JLabel examplePreview
protected RenamingPattern pattern
public static final int MOVE_LEFT
public static final int MOVE_RIGHT
public static final int MOVE_START
public static final int MOVE_END
| Constructor Detail |
|---|
public NewPatternBuilder(RenamingPattern model,
DataTableModel data)
model - Description of the Parameterdata - Description of the Parameter| Method Detail |
|---|
public void setPattern(RenamingPattern model)
model - The new pattern valuepublic Rectangle getPatternViewBounds()
public RenamingPattern getPattern()
protected int indexAt(Point point)
point - Description of the Parameter
protected RenamingPattern.Block getBlockAt(Point p)
p - Description of the Parameter
protected boolean isInLeftHalfCell(Point p)
p - Description of the Parameter
protected JPopupMenu contextMenu()
public void updateExample()
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||