| |
|
| java.lang.Object jacareto.system.EnvironmentMember jacareto.comp.manipulation.ManipulationManagement
ManipulationManagement | public class ManipulationManagement extends EnvironmentMember (Code) | |
This class manages the manipulation modes for components. It can be drawn on windows, components
can be selected and directly manipulated, and so on...
author: Christian Spannagel version: 1.01 |
DRAW_ON_COMPONENTS | final public static int DRAW_ON_COMPONENTS(Code) | | |
SELECT_COMPONENTS | final public static int SELECT_COMPONENTS(Code) | | |
USE_COMPONENTS | final public static int USE_COMPONENTS(Code) | | |
ManipulationManagement | public ManipulationManagement(Environment env, Components components, Component drawingToolsComponent)(Code) | | Creates a new instance. The default mode is
ManipulationManagement.USE_COMPONENTS .
Parameters: env - the environment Parameters: components - the components instance Parameters: drawingToolsComponent - the component which contains the drawing tools |
addManipulationManagementListener | public void addManipulationManagementListener(ManipulationManagementListener listener)(Code) | | Adds a listener
Parameters: listener - the new listener |
fireManipulationManagementEvent | protected void fireManipulationManagementEvent(ManipulationManagementEvent event)(Code) | | Fires an event.
Parameters: event - the event to be fired |
getComponents | public Components getComponents()(Code) | | Returns the components.
the components |
getMode | public int getMode()(Code) | | Returns the manipulation mode.
the actual mode |
removeManipulationManagementListener | public void removeManipulationManagementListener(ManipulationManagementListener listener)(Code) | | Removes a listener
Parameters: listener - the listener to be removed |
setComponents | public void setComponents(Components components)(Code) | | Sets the glass pane manager.
Parameters: components - the new glass pane manager |
setMode | public void setMode(int mode)(Code) | | Sets the manipulation mode.
Parameters: mode - the new mode |
|
|
|