C# Class LayoutFarm.DzBoardSample.DesignBoardModule

Inheritance: CompoModule
ファイルを表示 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AddExternalControl ( int x, int y, UIBox uibox ) : UIHolderBox
AddNewBox ( int x, int y, int w, int h ) : void
AddNewImageBox ( int x, int y, int w, int h, ImageBinder imgBinder ) : UIHolderBox
AddNewRect ( int x, int y, int w, int h ) : void
DesignBoardModule ( ) : System
HistoryRecordDzElementNewBounds ( UIBox dzBox, Rectangle oldRect, Rectangle newRect ) : void
HistoryRecordDzElementNewPosition ( UIBox dzBox, Point oldPoint, Point newPoint ) : void
Load ( ) : void
Save ( ) : void
WrapWithHolderBox ( int x, int y, UIBox uibox ) : UIHolderBox

Protected Methods

Method Description
OnStartModule ( ) : void

Private Methods

Method Description
CloneTextBox ( DesignBox dzBox ) : UIElement
CopyToClipBoard ( IDesignBox ui ) : void
FindSelectedUserBoxes ( ) : void
GetFreeControllerBox ( ) : UIControllerBox
PasteClipboardData ( ) : void
RemoveAllControllerBoxes ( ) : void
RemoveTargetBox ( IDesignBox ui ) : void
ReverseLastUndoAction ( ) : void
SerializeDzTextBox ( DzBoxSerializer writer, UIElement ui ) : void
SetupActiveBoxProperties ( LayoutFarm box ) : void
SetupBackgroundProperties ( LayoutFarm backgroundBox ) : void
SetupSelectionBoxProperties ( UISelectionBox selectionBox ) : void
UndoLastAction ( ) : void

Method Details

AddExternalControl() public method

public AddExternalControl ( int x, int y, UIBox uibox ) : UIHolderBox
x int
y int
uibox LayoutFarm.UI.UIBox
return UIHolderBox

AddNewBox() public method

public AddNewBox ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

AddNewImageBox() public method

public AddNewImageBox ( int x, int y, int w, int h, ImageBinder imgBinder ) : UIHolderBox
x int
y int
w int
h int
imgBinder ImageBinder
return UIHolderBox

AddNewRect() public method

public AddNewRect ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

DesignBoardModule() public method

public DesignBoardModule ( ) : System
return System

HistoryRecordDzElementNewBounds() public method

public HistoryRecordDzElementNewBounds ( UIBox dzBox, Rectangle oldRect, Rectangle newRect ) : void
dzBox LayoutFarm.UI.UIBox
oldRect PixelFarm.Drawing.Rectangle
newRect PixelFarm.Drawing.Rectangle
return void

HistoryRecordDzElementNewPosition() public method

public HistoryRecordDzElementNewPosition ( UIBox dzBox, Point oldPoint, Point newPoint ) : void
dzBox LayoutFarm.UI.UIBox
oldPoint Point
newPoint Point
return void

Load() public method

public Load ( ) : void
return void

OnStartModule() protected method

protected OnStartModule ( ) : void
return void

Save() public method

public Save ( ) : void
return void

WrapWithHolderBox() public method

public WrapWithHolderBox ( int x, int y, UIBox uibox ) : UIHolderBox
x int
y int
uibox LayoutFarm.UI.UIBox
return UIHolderBox