Documentation of 'org.jhotdraw.draw.LabelFigure' Java class
LabelFigure
org.jhotdraw.draw

Class LabelFigure

    • Constructor Detail

      • LabelFigure

        public LabelFigure()
        Creates a new instance.
      • LabelFigure

        public LabelFigure(java.lang.String text)
    • Method Detail

      • getTool

        public Tool getTool(java.awt.geom.Point2D.Double p)
        Returns a specialized tool for the given coordinate.

        Returns null, if no specialized tool is available.

        Specified by:
        getTool in interface Figure
        Overrides:
        getTool in class TextFigure
      • remap

        public void remap(java.util.Map<Figure,Figure> oldToNew,
                          boolean disconnectIfNotInMap)
        Description copied from interface: Figure
        After cloning a collection of figures, the ConnectionFigures contained in this collection still connect to the original figures instead of to the clones. Using This operation and providing a map, which maps from the original collection of figures to the new collection, connections can be remapped to the new figures.
        Specified by:
        remap in interface Figure
        Overrides:
        remap in class AbstractFigure
      • figureHandlesChanged

        public void figureHandlesChanged(FigureEvent e)
        Description copied from interface: FigureListener
        Sent when handles of a Figure have been added, removed or replaced.

        DrawingViews listen to this event to repopulate the Handles.

        A Figure should not fire this event, if just the state or the location of Handle has changed.

        Specified by:
        figureHandlesChanged in interface FigureListener

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.