com.flagstone.transform.coder
Interface Copyable<T>

Type Parameters:
T - The class to create copies for.
All Known Subinterfaces:
Action, DefineTag, FillStyle, ImageTag, LineStyle, MovieTag, ShapeRecord, ShapeTag, StaticTextTag
All Known Implementing Classes:
ActionData, ActionObject, Background, BasicAction, BitmapFill, ButtonColorTransform, ButtonShape, ButtonSound, Call, Curve, DecoderRegistry, DefineButton, DefineButton2, DefineData, DefineFont, DefineFont2, DefineFont3, DefineFont4, DefineImage, DefineImage2, DefineJPEGImage, DefineJPEGImage2, DefineJPEGImage3, DefineJPEGImage4, DefineMorphShape, DefineMorphShape2, DefineMovieClip, DefineShape, DefineShape2, DefineShape3, DefineShape4, DefineSound, DefineText, DefineText2, DefineTextField, DefineVideo, DoABC, DoAction, EnableDebugger, EnableDebugger2, Envelope, EventHandler, ExceptionHandler, Export, FocalGradientFill, FontAlignment, FontInfo, FontInfo2, FontName, FrameLabel, Free, GetUrl, GetUrl2, GlyphAlignment, GotoFrame, GotoFrame2, GotoLabel, GradientFill, If, ImageBlock, Import, Import2, InitializeMovieClip, JPEGEncodingTable, Jump, LimitScript, Line, LineStyle1, LineStyle2, MorphBitmapFill, MorphFocalGradientFill, MorphGradient, MorphGradientFill, MorphLineStyle, MorphLineStyle2, MorphSolidFill, Movie, MovieAttributes, MovieData, MovieHeader, MovieMetaData, MovieObject, NewFunction, NewFunction2, PathsArePostscript, Place, Place2, Place3, Protect, Push, QuicktimeMovie, RegisterCopy, Remove, Remove2, ScalingGrid, ScenesAndLabels, ScreenPacket, SerialNumber, SetTarget, Shape, ShapeData, ShapeStyle, ShapeStyle2, ShowFrame, SolidFill, SoundInfo, SoundStreamBlock, SoundStreamHead, SoundStreamHead2, StartSound, StartSound2, SymbolClass, Table, TabOrder, TextSettings, TextSpan, VideoFrame, WaitForFrame, WaitForFrame2, With

public interface Copyable<T>

The Copyable interface is used to identify classes whose instances can create copies of themselves.


Method Summary
 T copy()
          Creates a complete copy of this object.
 

Method Detail

copy

T copy()
Creates a complete copy of this object.

Returns:
a deep-copy of this object. New instances of mutable objects are copied and immutable instances are shared.


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.