C# 클래스 Smrf.NodeXL.ExcelTemplate.GroupManager

Manages vertex groups in a NodeXL workbook.
Call GetGroupCommandsToEnable to determine which group commands to enable in the Ribbon. Call TryRunGroupCommand to run a command.
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
GetExcelFormulaForVertexID ( ) : String
GetGroupCommandsToEnable ( Microsoft workbook ) : GroupCommands
GetVertexAttributes ( Int32 groupIndex, Int32 totalGroups, Color &color, VertexShape &shape ) : void
GroupCommandsIncludeGroupCommand ( GroupCommands groupCommands, GroupCommands groupCommand ) : System.Boolean
TryRunGroupCommand ( GroupCommands groupCommand, Microsoft workbook, Sheet2 vertexWorksheet, Sheet5 groupWorksheet ) : System.Boolean

비공개 메소드들

메소드 설명
GetGroupCommandsToEnableInternal ( Microsoft oWorkbook ) : GroupCommands
SetVertexAttributesForAllGroups ( ListObject oGroupTable ) : void
TryAddSelectedVerticesToGroup ( Microsoft oWorkbook, Sheet2 oVertexWorksheet ) : System.Boolean
TryCollapseOrExpandAllGroups ( Microsoft oWorkbook, System.Boolean bCollapse ) : System.Boolean
TryCollapseOrExpandSelectedGroups ( Microsoft oWorkbook, System.Boolean bCollapse ) : System.Boolean
TryRemoveAllGroups ( Microsoft oWorkbook ) : System.Boolean
TryRemoveSelectedGroups ( Microsoft oWorkbook, Sheet5 oGroupWorksheet ) : System.Boolean
TryRemoveSelectedVerticesFromGroups ( Microsoft oWorkbook, Sheet2 oVertexWorksheet, ICollection &oSelectedVertexNames ) : System.Boolean
TrySelectAllGroups ( Microsoft oWorkbook ) : System.Boolean
TrySelectGroupsWithSelectedVertices ( Microsoft oWorkbook, Sheet2 oVertexWorksheet, Sheet5 oGroupWorksheet ) : System.Boolean

메소드 상세

GetExcelFormulaForVertexID() 공개 정적인 메소드

public static GetExcelFormulaForVertexID ( ) : String
리턴 String

GetGroupCommandsToEnable() 공개 정적인 메소드

public static GetGroupCommandsToEnable ( Microsoft workbook ) : GroupCommands
workbook Microsoft
리턴 GroupCommands

GetVertexAttributes() 공개 정적인 메소드

public static GetVertexAttributes ( Int32 groupIndex, Int32 totalGroups, Color &color, VertexShape &shape ) : void
groupIndex System.Int32
totalGroups System.Int32
color Color
shape VertexShape
리턴 void

GroupCommandsIncludeGroupCommand() 공개 정적인 메소드

public static GroupCommandsIncludeGroupCommand ( GroupCommands groupCommands, GroupCommands groupCommand ) : System.Boolean
groupCommands GroupCommands
groupCommand GroupCommands
리턴 System.Boolean

TryRunGroupCommand() 공개 정적인 메소드

public static TryRunGroupCommand ( GroupCommands groupCommand, Microsoft workbook, Sheet2 vertexWorksheet, Sheet5 groupWorksheet ) : System.Boolean
groupCommand GroupCommands
workbook Microsoft
vertexWorksheet Sheet2
groupWorksheet Sheet5
리턴 System.Boolean