kiyut.citra 3.7

kiyut.citra.canvas
Class AbstractFXContext

java.lang.Object
  extended by kiyut.citra.canvas.AbstractFXContext
All Implemented Interfaces:
FXContext
Direct Known Subclasses:
FXContextManager

public abstract class AbstractFXContext
extends Object
implements FXContext

Abstract implementation of FXContext

Author:
Kiyut

Field Summary
protected  FXCanvas canvas
           
protected  FXFilter filter
           
protected  boolean filterMode
           
protected  FXTool interactor
           
protected  Stroke selectionStroke1
           
protected  Stroke selectionStroke2
           
protected  Paint selectionStrokePaint1
           
protected  Paint selectionStrokePaint2
           
protected  FXTool tool
           
protected  Paint toolOverlayFillPaint
           
protected  Paint toolOverlayStrokePaint
           
 
Constructor Summary
AbstractFXContext()
           
 
Method Summary
 FXCanvas getCanvas()
           
 FXFilter getFilter()
           
 Stroke getSelectionStroke1()
           
 Stroke getSelectionStroke2()
           
 Paint getSelectionStrokePaint1()
           
 Paint getSelectionStrokePaint2()
           
 FXTool getTool()
           
 Paint getToolOverlayFillPaint()
           
 Paint getToolOverlayStrokePaint()
           
 boolean isFilterMode()
           
 void setCanvas(FXCanvas canvas)
           
 void setFilter(FXFilter filter)
           
 void setFilterMode(boolean filterMode)
           
 void setTool(FXTool tool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canvas

protected FXCanvas canvas

tool

protected FXTool tool

interactor

protected FXTool interactor

filterMode

protected boolean filterMode

selectionStroke1

protected Stroke selectionStroke1

selectionStrokePaint1

protected Paint selectionStrokePaint1

selectionStroke2

protected Stroke selectionStroke2

selectionStrokePaint2

protected Paint selectionStrokePaint2

toolOverlayStrokePaint

protected Paint toolOverlayStrokePaint

toolOverlayFillPaint

protected Paint toolOverlayFillPaint

filter

protected FXFilter filter
Constructor Detail

AbstractFXContext

public AbstractFXContext()
Method Detail

setCanvas

public void setCanvas(FXCanvas canvas)
Specified by:
setCanvas in interface FXContext

getCanvas

public FXCanvas getCanvas()
Specified by:
getCanvas in interface FXContext

getSelectionStrokePaint1

public Paint getSelectionStrokePaint1()
Specified by:
getSelectionStrokePaint1 in interface FXContext

getSelectionStroke1

public Stroke getSelectionStroke1()
Specified by:
getSelectionStroke1 in interface FXContext

getSelectionStrokePaint2

public Paint getSelectionStrokePaint2()
Specified by:
getSelectionStrokePaint2 in interface FXContext

getSelectionStroke2

public Stroke getSelectionStroke2()
Specified by:
getSelectionStroke2 in interface FXContext

getToolOverlayStrokePaint

public Paint getToolOverlayStrokePaint()
Specified by:
getToolOverlayStrokePaint in interface FXContext

getToolOverlayFillPaint

public Paint getToolOverlayFillPaint()
Specified by:
getToolOverlayFillPaint in interface FXContext

setFilter

public void setFilter(FXFilter filter)
Specified by:
setFilter in interface FXContext

getFilter

public FXFilter getFilter()
Specified by:
getFilter in interface FXContext

setFilterMode

public void setFilterMode(boolean filterMode)
Specified by:
setFilterMode in interface FXContext

isFilterMode

public boolean isFilterMode()
Specified by:
isFilterMode in interface FXContext

setTool

public void setTool(FXTool tool)
Specified by:
setTool in interface FXContext

getTool

public FXTool getTool()
Specified by:
getTool in interface FXContext

kiyut.citra 3.7