All Packages Class Hierarchy This Package Previous Next Index
Class aioli.gfxobj.Ctedit
java.lang.Object
|
+----aioli.gfxobj.Ctedit
- public class Ctedit
- extends Object
- implements VTool
The base component to display a variable
-
Ctedit(Variable, String)
- Creates a variable
-
Ctedit(Variable, String, boolean)
- Creates a variable
-
changeKeyListener(KeyListenerInterface)
- Changes the Key Listener used for keyboard events
-
changePointingListener(PointingListenerInterface)
- Changes the Pointing Listener used for mouse events
-
changePointingMotionListener(PointingMotionListenerInterface)
- Changes the Pointing Motion Listener used for mouse events
-
changeSelection(IPath)
-
-
changeSelection(IPath, SelectionInterface, boolean)
-
-
commit(Variable, MPath, IPath)
- Propages the modification to the tool
-
doGetFont(String, FontFamily, FontStyle, int, boolean)
- Defines a new font, return true if the font is correctly defined
-
getComponent()
- Returns the AWT component
-
getFacade()
-
-
getPPEngine()
-
-
getTree()
- Returns the tree of the Ctedit
-
getVar()
- Returns the variable of the Ctedit
-
isColorDefined(String)
- Checks if a color name is defined
-
isFontDefined(String)
- Checks if a font name is defined
-
name()
- Returns the name of the Ctedit
-
redraw(int, int)
- Redraws the tree that is contained in the Ctedit
-
setColor(String, BasicColor)
- Defines a new color, return true if the color is correctly defined
-
setColor(String, int, int, int)
- Defines a new color, return true if the color is correctly defined
-
setPPEngine(PPEngine)
-
-
setStyle(String, String, String, String)
- Defines the value of a style, return true if the style is defined
Ctedit
public Ctedit(Variable var,
String ppml)
- Creates a variable
- Parameters:
- var - the variable to include
- ppml - the name of the ppml to use
Ctedit
public Ctedit(Variable var,
String ppml,
boolean swingFlag)
- Creates a variable
- Parameters:
- var - the variable to include
- ppml - the name of the ppml to use
isColorDefined
public boolean isColorDefined(String color)
- Checks if a color name is defined
- Parameters:
- color - the name of the color
setColor
public boolean setColor(String color,
BasicColor bColor)
- Defines a new color, return true if the color is correctly defined
- Parameters:
- color - the name of the color
- bColor - the basic color
setColor
public boolean setColor(String color,
int red,
int green,
int blue)
- Defines a new color, return true if the color is correctly defined
- Parameters:
- color - the name of the color
- red - the red component
- green - the green component
- blue - the blue component
isFontDefined
public boolean isFontDefined(String font)
- Checks if a font name is defined
- Parameters:
- font - the name of the font
doGetFont
public boolean doGetFont(String font,
FontFamily f,
FontStyle s,
int p,
boolean under)
- Defines a new font, return true if the font is correctly defined
- Parameters:
- font - the name of the font
- f - the family of the font
- s - the style of the font
- p - the point size of the font
- under - if the font is underline or not
setStyle
public boolean setStyle(String style,
String ff,
String f,
String b)
- Defines the value of a style, return true if the style is defined
- Parameters:
- style - the name of the style
- ff - the font name, null if none
- f - the foreground name, null if none
- f - the background name, null if none
getTree
public Tree getTree()
- Returns the tree of the Ctedit
getVar
public Variable getVar()
- Returns the variable of the Ctedit
redraw
public void redraw(int pageLength,
int holo)
- Redraws the tree that is contained in the Ctedit
- Parameters:
- pageLength - the width of the page
- holo - the detail level
changeSelection
public final void changeSelection(IPath ipath)
changeSelection
public final void changeSelection(IPath ipath,
SelectionInterface select,
boolean unsel)
commit
public void commit(Variable var,
MPath m,
IPath i)
- Propages the modification to the tool
- Parameters:
- var - the variable
- m - the modification path
- i - the new selection path
name
public String name()
- Returns the name of the Ctedit
getComponent
public Component getComponent()
- Returns the AWT component
getFacade
public InteractiveFacade getFacade()
getPPEngine
public PPEngine getPPEngine()
setPPEngine
public void setPPEngine(PPEngine e)
changePointingListener
public void changePointingListener(PointingListenerInterface pointinglistener)
- Changes the Pointing Listener used for mouse events
changePointingMotionListener
public void changePointingMotionListener(PointingMotionListenerInterface pointinglistener)
- Changes the Pointing Motion Listener used for mouse events
changeKeyListener
public void changeKeyListener(KeyListenerInterface keylistener)
- Changes the Key Listener used for keyboard events
All Packages Class Hierarchy This Package Previous Next Index