- SaveCommand - Class in draw.controller.command
-
Create JSON string for model.
- SaveCommand(Model, DrawingPalette) - Constructor for class draw.controller.command.SaveCommand
-
- Select - Class in draw.palette
-
User is choosing to select available elements.
- Select(Icon, Icon) - Constructor for class draw.palette.Select
-
- selected - Variable in class draw.palette.PaletteEntry
-
- SelectHandler - Class in draw.controller.handler
-
- SelectHandler(Model, DrawingPalette) - Constructor for class draw.controller.handler.SelectHandler
-
- selectName - Static variable in class draw.palette.Select
-
- SelectTool - Class in draw.tools
-
The select tool is responsible for selecting existing elements in the application, and ultimately,
handle resizing of selected elements upon request.
- SelectTool() - Constructor for class draw.tools.SelectTool
-
- setActiveTool(PaletteEntry) - Method in class draw.tools.Tools
-
Set active tool.
- setBoundingBox(Rectangle) - Method in class draw.model.Element
-
Update the bounding box.
- setFillColor(Color) - Method in class draw.model.Style
-
Set the fill color.
- setNext(Handler) - Method in class draw.controller.handler.Handler
-
Add next to be the next in the chain.
- setParent(Group) - Method in class draw.model.Element
-
Set the enclosing element (a group) for this element.
- setPenColor(Color) - Method in class draw.model.Style
-
Set the pen color.
- setSelected(boolean) - Method in class draw.model.Element
-
Set whether element is selected.
- setStroke(Stroke) - Method in class draw.model.Style
-
Set the pen stroke.
- setStyle(Style) - Method in class draw.model.Element
-
Update style for this element.
- ShapeElement - Class in draw.controller.json
-
- ShapeElement(Element, String) - Constructor for class draw.controller.json.ShapeElement
-
Extracts information from the
Element
object.
- shiftDown(int) - Static method in class draw.controller.handler.ActiveToolHandler
-
Helper method to detect is SHIFT key is done.
- SouthEastAnchor - Static variable in interface draw.controller.IActionInterface
-
- SouthWestAnchor - Static variable in interface draw.controller.IActionInterface
-
- start(Point, int, Optional<Element>) - Method in class draw.controller.handler.ChangeCursorHandler
-
- start(Point, int, Optional<Element>) - Method in class draw.controller.handler.CreateHandler
-
Initiate the beginning of a drag action.
- start(Point, int, Optional<Element>) - Method in class draw.controller.handler.Handler
-
- start(Point, int, Optional<Element>) - Method in class draw.controller.handler.SelectHandler
-
Select upon press, if over an element.
- start(Point, int, Optional<Element>) - Method in interface draw.controller.IActionInterface
-
Initiate action by pressing mouse at point with, potentially, a selected element.
- startAnchor(Point, int, Element, int) - Method in class draw.controller.handler.ChangeCursorHandler
-
- startAnchor(Point, int, Element, int) - Method in class draw.controller.handler.Handler
-
- startAnchor(Point, int, Element, int) - Method in class draw.controller.handler.ResizeHandler
-
Record where the starting point is.
- startAnchor(Point, int, Element, int) - Method in interface draw.controller.IActionInterface
-
Start the mouse interaction as started by dragType.
- stroke - Variable in class draw.model.Style
-
Pen width to use (only available within Graphics2D).
- StrokeCommand - Class in draw.controller.command
-
Set stroke for selected items, which is recursively passed down into groups.
- StrokeCommand(Model, DrawingPalette, int) - Constructor for class draw.controller.command.StrokeCommand
-
- Style - Class in draw.model
-
Group together everything that is relevant to the style of an element.
- Style(Optional<Color>, Color, Optional<Stroke>) - Constructor for class draw.model.Style
-
Construct new Style object with desired criteria
- styles - Static variable in class draw.controller.json.Element
-