Gridarta Editor
net.sf.gridarta.textedit.textarea.ScrollLayout Class Reference
+ Inheritance diagram for net.sf.gridarta.textedit.textarea.ScrollLayout:
+ Collaboration diagram for net.sf.gridarta.textedit.textarea.ScrollLayout:

Public Member Functions

void addLayoutComponent (@NotNull final String name, @NotNull final Component comp)
 
void layoutContainer (@NotNull final Container parent)
 
Dimension minimumLayoutSize (@NotNull final Container parent)
 
Dimension preferredLayoutSize (@NotNull final Container parent)
 
void removeLayoutComponent (@NotNull final Component comp)
 
 ScrollLayout (@NotNull final Container textArea)
 

Static Public Attributes

static final String BOTTOM = "bottom"
 
static final String CENTER = "center"
 
static final String RIGHT = "right"
 

Private Attributes

Component bottom
 
Component center
 
final Collection< Component > leftOfScrollBar = new ArrayList<>()
 
Component right
 
final Container textArea
 

Static Private Attributes

static final String LEFT_OF_SCROLL_BAR = "los"
 Adding components with this name to the text area will place them left of the horizontal scroll bar. More...
 

Detailed Description

Definition at line 32 of file ScrollLayout.java.

Constructor & Destructor Documentation

◆ ScrollLayout()

net.sf.gridarta.textedit.textarea.ScrollLayout.ScrollLayout ( @NotNull final Container  textArea)

Member Function Documentation

◆ addLayoutComponent()

void net.sf.gridarta.textedit.textarea.ScrollLayout.addLayoutComponent ( @NotNull final String  name,
@NotNull final Component  comp 
)

Definition at line 66 of file ScrollLayout.java.

◆ layoutContainer()

void net.sf.gridarta.textedit.textarea.ScrollLayout.layoutContainer ( @NotNull final Container  parent)

Definition at line 146 of file ScrollLayout.java.

◆ minimumLayoutSize()

Dimension net.sf.gridarta.textedit.textarea.ScrollLayout.minimumLayoutSize ( @NotNull final Container  parent)

Definition at line 122 of file ScrollLayout.java.

◆ preferredLayoutSize()

Dimension net.sf.gridarta.textedit.textarea.ScrollLayout.preferredLayoutSize ( @NotNull final Container  parent)

Definition at line 97 of file ScrollLayout.java.

◆ removeLayoutComponent()

void net.sf.gridarta.textedit.textarea.ScrollLayout.removeLayoutComponent ( @NotNull final Component  comp)

Definition at line 79 of file ScrollLayout.java.

Member Data Documentation

◆ BOTTOM

final String net.sf.gridarta.textedit.textarea.ScrollLayout.BOTTOM = "bottom"
static

◆ bottom

Component net.sf.gridarta.textedit.textarea.ScrollLayout.bottom
private

Definition at line 53 of file ScrollLayout.java.

◆ CENTER

final String net.sf.gridarta.textedit.textarea.ScrollLayout.CENTER = "center"
static

◆ center

Component net.sf.gridarta.textedit.textarea.ScrollLayout.center
private

Definition at line 47 of file ScrollLayout.java.

◆ LEFT_OF_SCROLL_BAR

final String net.sf.gridarta.textedit.textarea.ScrollLayout.LEFT_OF_SCROLL_BAR = "los"
staticprivate

Adding components with this name to the text area will place them left of the horizontal scroll bar.

In jEdit, the status bar is added this way.

Definition at line 44 of file ScrollLayout.java.

◆ leftOfScrollBar

final Collection<Component> net.sf.gridarta.textedit.textarea.ScrollLayout.leftOfScrollBar = new ArrayList<>()
private

Definition at line 56 of file ScrollLayout.java.

◆ RIGHT

final String net.sf.gridarta.textedit.textarea.ScrollLayout.RIGHT = "right"
static

◆ right

Component net.sf.gridarta.textedit.textarea.ScrollLayout.right
private

Definition at line 50 of file ScrollLayout.java.

◆ textArea

final Container net.sf.gridarta.textedit.textarea.ScrollLayout.textArea
private

The documentation for this class was generated from the following file: