2024-06-12

This commit is contained in:
2024-06-12 13:10:10 +09:00
parent 57cc9ca7ff
commit 7e1d726c23
44 changed files with 146 additions and 31 deletions

6
Writerside2/c.list Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE categories
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
<categories>
<category id="wrs" name="Writerside documentation" order="1"/>
</categories>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2024. Elex. All Rights Reesrved.
~ https://www.elex-project.com/
-->
<buildprofiles xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/build-profiles.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variables></variables>
<build-profile instance="s">
<variables>
<noindex-content>true</noindex-content>
</variables>
</build-profile>
</buildprofiles>

58
Writerside2/s.tree Normal file
View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2024. Elex. All Rights Reesrved.
- https://www.elex-project.com/
-->
<!DOCTYPE instance-profile
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">
<instance-profile id="s"
name="Swing"
start-page="starter-topic.md">
<toc-element topic="starter-topic.md">
<toc-element topic="Containers.md">
<toc-element topic="Top-Level-Containers.md"/>
<toc-element topic="Dialog.md"/>
<toc-element topic="Internal-Frame.md"/>
</toc-element>
<toc-element topic="Components.md">
<toc-element topic="Basic-Component-Methods.md"/>
<toc-element topic="Text-Component.md"/>
<toc-element topic="Buttons.md"/>
<toc-element topic="File-Chooser-and-Color-Chooser.md"/>
<toc-element topic="Combo-Box.md"/>
<toc-element topic="Label.md"/>
<toc-element topic="List.md"/>
<toc-element topic="Menu.md"/>
<toc-element topic="Panel.md"/>
<toc-element topic="Progress-Bar.md"/>
<toc-element topic="Separator.md"/>
<toc-element topic="Slider.md"/>
<toc-element topic="Spinner.md"/>
<toc-element topic="Split-Pane.md"/>
<toc-element topic="Tabbed-Pane.md"/>
<toc-element topic="Table.md"/>
<toc-element topic="Tool-Bar.md"/>
<toc-element topic="Tree.md"/>
<toc-element topic="Border.md"/>
<toc-element topic="Layout-Manager.md"/>
<toc-element topic="Editor-Pane.md"/>
</toc-element>
<toc-element topic="Canvas.md">
<toc-element topic="Painting.md"/>
<toc-element topic="Geometrics.md"/>
</toc-element>
<toc-element topic="Etc.md">
<toc-element topic="Tooltip.md"/>
<toc-element topic="Icon.md"/>
<toc-element topic="Font.md"/>
<toc-element topic="Thread.md"/>
<toc-element topic="Desktop.md"/>
<toc-element topic="Look-and-Feel.md"/>
<toc-element topic="Drag-and-Drop.md"/>
<toc-element topic="Listeners.md"/>
</toc-element>
</toc-element>
</instance-profile>

View File

@@ -80,7 +80,7 @@ myComponent.setBackground(Color.PINK);
* `getComponentAfter(Container,Component)` * `getComponentAfter(Container,Component)`
* `getComponentBefore(Container,Component)` * `getComponentBefore(Container,Component)`
* `getFirstComponent(Container)` / `getInitialComponent(Container)` / `getLastComponent(Container)` * `getFirstComponent(Container)` / `getInitialComponent(Container)` / `getLastComponent(Container)`
* `container.getFocusTraversalPolicy()` / `container.setFocusTraversalPolicy(FocusTraversalPolicy)` * `container.getFocusTraversalPolicy()` / `container.setFocusTraversalPolicy(FocusTraversalPolicy)`
* `container.isFocusCycleRoot()` / `container.setFocusCycleRoot(boolean)` * `container.isFocusCycleRoot()` / `container.setFocusCycleRoot(boolean)`

View File

@@ -49,10 +49,10 @@ ButtonGroup group = ((DefaultButtonModel)button.getModel()).getGroup();
* `isEnabled()` / `setEnabled(boolean)` * `isEnabled()` / `setEnabled(boolean)`
* `getValue(String)` / `putValue(String,Object)` * `getValue(String)` / `putValue(String,Object)`
* ACCELERATOR_KEY : KeyStroke * ACCELERATOR_KEY : KeyStroke
* ACTION_COMMAND_KEY : String * ACTION_COMMAND_KEY : String
* LONG_DESCRIPTION * LONG_DESCRIPTION
* MNEMONIC_KEY * MNEMONIC_KEY
* NAME * NAME
* SHORT_DESCRIPTION * SHORT_DESCRIPTION
* SMALL_ICON * SMALL_ICON

View File

@@ -0,0 +1,3 @@
# Canvas
Start typing here...

View File

@@ -0,0 +1,3 @@
# Components
Start typing here...

View File

@@ -0,0 +1,3 @@
# Containers
Start typing here...

View File

@@ -46,16 +46,16 @@
## DropLocation ## DropLocation
* JList.DropLocation * JList.DropLocation
* `isInsert()` * `isInsert()`
* `getIndex()` * `getIndex()`
* JTree.DropLocation * JTree.DropLocation
* `getChildIndex()` * `getChildIndex()`
* `getPath()` * `getPath()`
* JTable.DropLocation * JTable.DropLocation
* `isInsertRow()` * `isInsertRow()`
* `isInserColumn()` * `isInserColumn()`
* `getRow()` * `getRow()`
* `getColumn()` * `getColumn()`
* JTextComponent.DropLocation * JTextComponent.DropLocation
* `getIndex()` * `getIndex()`
* `getBias()` * `getBias()`

View File

@@ -1 +1,3 @@
# Editor Pane
https://docs.oracle.com/javase/tutorial/uiswing/components/editorpane.html https://docs.oracle.com/javase/tutorial/uiswing/components/editorpane.html

View File

@@ -0,0 +1,3 @@
# Etc
Start typing here...

View File

@@ -8,9 +8,9 @@
* `getVerticalAlignment()` / `setVerticalAlignment(int)` : TOP | CENTER | BOTTOM * `getVerticalAlignment()` / `setVerticalAlignment(int)` : TOP | CENTER | BOTTOM
* `getHorizontalAlignment()` / `setHorizontalAlignment(int)` : LEFT | CENTER | RIGHT | LEADING | TRAILING * `getHorizontalAlignment()` / `setHorizontalAlignment(int)` : LEFT | CENTER | RIGHT | LEADING | TRAILING
* `getVerticalTextPosition()` / `setVerticalTextPosition(int)` : TOP | CENTER | BOTTOM * `getVerticalTextPosition()` / `setVerticalTextPosition(int)` : TOP | CENTER | BOTTOM
* `getHorizontalTextPosition()` / `setHorizontalTextPosition(int)` : LEFT | CENTER | RIGHT | LEADING | TRAILING * `getHorizontalTextPosition()` / `setHorizontalTextPosition(int)` : LEFT | CENTER | RIGHT | LEADING | TRAILING
* `getIconTextGap()` / `setIconTextGap(int)` * `getIconTextGap()` / `setIconTextGap(int)`
* `getLabelFor()` / `setLabelFor(Component)` * `getLabelFor()` / `setLabelFor(Component)`

View File

@@ -16,12 +16,12 @@
## JRootPane ## JRootPane
* Glass pane * Glass pane
* Layered pane * Layered pane
* FRAME_CONTENT_LAYER : -30000 * FRAME_CONTENT_LAYER : -30000
* DEFAULT_LAYER : 0 * DEFAULT_LAYER : 0
* PALETTE_LAYER : 100 * PALETTE_LAYER : 100
* MODAL_LAYER : 200 * MODAL_LAYER : 200
* POPUP_LAYER : 300 * POPUP_LAYER : 300
* DRAG_LAYER : 400 * DRAG_LAYER : 400
* Content pane * Content pane
* JMenu bar * JMenu bar
@@ -40,7 +40,7 @@
## JScrollPane ## JScrollPane
* `JScrollPane(Component)` / `JScrollPane(Component,int,int)` * `JScrollPane(Component)` / `JScrollPane(Component,int,int)`
* `setviewportView(Component)` * `setviewportView(Component)`

View File

@@ -31,7 +31,7 @@
* `read(Reader, Object)` / `write(Writer)` * `read(Reader, Object)` / `write(Writer)`
* `print()` / `print(MessageFormat,MessageFormat)` * `print()` / `print(MessageFormat,MessageFormat)`
* `getPrintable(MessageFormat,MessageFormat)` * `getPrintable(MessageFormat,MessageFormat)`
## Document ## Document

View File

@@ -11,7 +11,7 @@ SwingUtilities.invokeLater(() -> {
## Swing Worker ## Swing Worker
SwingWorker의 첫 번째 제너릭은 `doInBackground()`의 반환 타입입니다. SwingWorker의 첫 번째 제너릭은 `doInBackground()`의 반환 타입입니다.
두 번째 제너릭은 `publish()``process()`가 서로 주고 받는 데이터 타입입니다. 두 번째 제너릭은 `publish()``process()`가 서로 주고 받는 데이터 타입입니다.
* **doInBackground()** : 백그라운드에서 작업을 처리합니다. * **doInBackground()** : 백그라운드에서 작업을 처리합니다.
@@ -21,7 +21,7 @@ SwingWorker의 첫 번째 제너릭은 `doInBackground()`의 반환 타입입니
* `get()` / `get(long,TimeUnit)` * `get()` / `get(long,TimeUnit)`
* `setProgress()` * `setProgress()`
* `SwingWorker.StateValue getState()` * `SwingWorker.StateValue getState()`
* `isCancelled()` / `isDone()` * `isCancelled()` / `isDone()`

View File

@@ -1,5 +1,5 @@
# 최상위 컨데이너 # 최상위 컨데이너
JFrame, JDialog, JApplet 등이 최상위 컨테이너이며, 프로그램 창(윈도우)이라고도 이해할 수 있다. JFrame, JDialog, JApplet 등이 최상위 컨테이너이며, 프로그램 창(윈도우)이라고도 이해할 수 있다.
최상위 컨테이너는 시각적 컴포넌트를 위한 영역인 content pane을 가지고 있다. 최상위 컨테이너는 시각적 컴포넌트를 위한 영역인 content pane을 가지고 있다.
## JFrame ## JFrame

View File

@@ -0,0 +1,2 @@
# Swing

5
Writerside2/v.list Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vars SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
<vars>
<var name="product" value="Writerside"/>
</vars>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2024. Elex. All Rights Reesrved.
- https://www.elex-project.com/
-->
<!DOCTYPE ihp SYSTEM "https://resources.jetbrains.com/writerside/1.0/ihp.dtd">
<ihp version="2.0">
<topics dir="topics" web-path="topics"/>
<images dir="images" web-path="images"/>
<instance src="s.tree"/>
</ihp>