Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Elements][TableHeader] - 表内のヘッダーの指定
使い方
TableHeader(element_content)
パラメータ
element_content - TableItem 要素
説明
TableHeader 要素は、maplet の表内でヘッダーを指定します。ヘッダー内の各欄の内容は、TableItem 要素を用いて定義します。
注意: テーブルがスクロール枠の中で指定される場合のみ、テーブル・ヘッダーが表示されます。つまり 'vscroll' = 'as_needed' オプションを持つ BoxCell あるいは GridCell 要素で指定されなくてはなりません。そうでない場合、ヘッダーは表示されません。ヘッダーのないテーブルを構築するためには、ヘッダーを指定してください。ただし、スクロール枠にテーブルを置かないでください。
TableHeader 要素は、TableItem 要素を含むことが可能です。
注意: ヘッダー内の欄の数と、各行内の欄の数は、等しくなくてはなりません。TableHeader 内の TableItem は、複数の欄を補うことはできません。
TableHeader 要素は、Table 要素に含めることが可能です。
例
with(Maplets[Elements]): maplet := Maplet([ BoxCell( Table( TableHeader( TableItem(A), TableItem(B) ), TableRow( TableItem('caption'=1), TableItem('caption'=2) ), TableRow( TableItem('caption'=3), TableItem('caption'=4) ) ), 'as_needed'), Button("OK", Shutdown()) ]): Maplets[Display](maplet);
上の maplet の例は、次のように書き換えることが可能です:
with(Maplets[Elements]): maplet := Maplet([ BoxCell(Table([A, B], [[1, 2], [3, 4]]), 'as_needed'), Button("OK", Shutdown()) ]): Maplets[Display](maplet);
参照
Maplets パッケージの概要, Maplets[Display], Maplets[Elements] パッケージの紹介, Maplets[Elements][BoxCell], Maplets[Elements][Button], Maplets[Elements][Shutdown], Maplets[Elements][Table], Maplets[Elements][TableItem], Maplets[Elements][TableRow], Maplets/他の要素
Download Help Document