Definition at line 15 of file CostumeEditorPanel.java.
◆ CostumeEditorPanel()
| com.jscratch.ui.CostumeEditorPanel.CostumeEditorPanel |
( |
List< String > | costumePaths | ) |
|
◆ createNewCostume()
| void com.jscratch.ui.CostumeEditorPanel.createNewCostume |
( |
| ) |
|
|
private |
◆ importCostume()
| void com.jscratch.ui.CostumeEditorPanel.importCostume |
( |
| ) |
|
|
private |
◆ loadCostume()
| void com.jscratch.ui.CostumeEditorPanel.loadCostume |
( |
String | path | ) |
|
|
private |
◆ refreshCostumeList()
| void com.jscratch.ui.CostumeEditorPanel.refreshCostumeList |
( |
| ) |
|
|
private |
◆ resizeImage()
| void com.jscratch.ui.CostumeEditorPanel.resizeImage |
( |
int | newW, |
|
|
int | newH ) |
|
private |
◆ saveCurrentImage()
| void com.jscratch.ui.CostumeEditorPanel.saveCurrentImage |
( |
| ) |
|
|
private |
◆ updateCanvasLayout()
| void com.jscratch.ui.CostumeEditorPanel.updateCanvasLayout |
( |
| ) |
|
|
private |
◆ brushSize
| int com.jscratch.ui.CostumeEditorPanel.brushSize = 5 |
|
private |
◆ canvas
| JPanel com.jscratch.ui.CostumeEditorPanel.canvas |
|
private |
◆ costumeList
| JList<String> com.jscratch.ui.CostumeEditorPanel.costumeList = new JList<>(listModel) |
|
private |
◆ costumePaths
| List<String> com.jscratch.ui.CostumeEditorPanel.costumePaths |
|
private |
◆ currentColor
| Color com.jscratch.ui.CostumeEditorPanel.currentColor = Color.BLACK |
|
private |
◆ currentCostumeName
| String com.jscratch.ui.CostumeEditorPanel.currentCostumeName |
|
private |
◆ currentImage
| BufferedImage com.jscratch.ui.CostumeEditorPanel.currentImage |
|
private |
◆ currentTool
| String com.jscratch.ui.CostumeEditorPanel.currentTool = "Brush" |
|
private |
◆ heightSpinner
| JSpinner com.jscratch.ui.CostumeEditorPanel.heightSpinner |
|
private |
◆ listModel
| DefaultListModel<String> com.jscratch.ui.CostumeEditorPanel.listModel = new DefaultListModel<>() |
|
private |
◆ widthSpinner
| JSpinner com.jscratch.ui.CostumeEditorPanel.widthSpinner |
|
private |
◆ zoom
| double com.jscratch.ui.CostumeEditorPanel.zoom = 1.0 |
|
private |
The documentation for this class was generated from the following file: