Преглед изворни кода

Revised components diagram (#19897), fixed a fatal bug in Grid section.

Change-Id: I694f173f5a0133336d3325d1b511f40419be07c4
feature/eventbus
Marko Gronroos пре 8 година
родитељ
комит
bb5ac242f0

+ 5
- 5
documentation/components/components-grid.asciidoc Прегледај датотеку

The clicked grid cell is also automatically focused. The clicked grid cell is also automatically focused.


The focus indication is themed so that the focused cell has a visible focus The focus indication is themed so that the focused cell has a visible focus
indicator style by default, while the row doesn't. You can enable row focus, as
indicator style by default, while the row does not. You can enable row focus, as
well as disable cell focus, in a custom theme. See <<components.grid.css>>. well as disable cell focus, in a custom theme. See <<components.grid.css>>.




+ +
Optionally, a locale can be given. Otherwise, the default locale (in the Optionally, a locale can be given. Otherwise, the default locale (in the
component tree) is used. component tree) is used.

endif::web[] endif::web[]


[classname]#HTMLRenderer#:: Renders the cell as HTML. This allows formatting cell content, as well as using
HTML features such as hyperlinks.
[classname]#HTMLRenderer#:: Renders the cell as HTML.
This allows formatting the cell content, as well as using HTML features such as hyperlinks.


ifdef::web[] ifdef::web[]
+ +
"<a href='" + person.getDetailsUrl() + "' target='_top'>info</a>"); "<a href='" + person.getDetailsUrl() + "' target='_top'>info</a>");
htmlColumn.setRenderer(new HtmlRenderer()); htmlColumn.setRenderer(new HtmlRenderer());
---- ----
ifdef::web[]
endif::web[]

[classname]#NumberRenderer#:: Formats column values with a numeric type extending [classname]#Number#: [classname]#NumberRenderer#:: Formats column values with a numeric type extending [classname]#Number#:
[classname]#Integer#, [classname]#Double#, etc. The format can be specified [classname]#Integer#, [classname]#Double#, etc. The format can be specified
either by the subclasses of [classname]#java.text.NumberFormat#, namely either by the subclasses of [classname]#java.text.NumberFormat#, namely

+ 1
- 6
documentation/components/components-overview.asciidoc Прегледај датотеку



[[figure.uicomponents]] [[figure.uicomponents]]
.User Interface Component Class Hierarchy .User Interface Component Class Hierarchy
image::img/component-diagram-hi.png[]
image::img/component-diagram-hi.png[width=100%, scaledwidth=100%]


((("[classname]#Component#"))) ((("[classname]#Component#")))
At the top of the interface hierarchy, we have the [classname]#Component# At the top of the interface hierarchy, we have the [classname]#Component#
at https://vaadin.com/refcard. at https://vaadin.com/refcard.


==== ====






BIN
documentation/components/img/component-diagram-hi.png Прегледај датотеку


+ 1
- 1
documentation/components/original-drawings/Makefile Прегледај датотеку

IMAGES = slider-example1 field-interface-v8 field-diagram \ IMAGES = slider-example1 field-interface-v8 field-diagram \
textfield-diagram
textfield-diagram component-diagram


SRCIMAGES := $(foreach file, $(IMAGES), $(file).svg) SRCIMAGES := $(foreach file, $(IMAGES), $(file).svg)
TRGIMAGES_HI := $(foreach file, $(IMAGES), ../img/$(file)-hi.png) TRGIMAGES_HI := $(foreach file, $(IMAGES), ../img/$(file)-hi.png)

+ 3398
- 2180
documentation/components/original-drawings/component-diagram.svg
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


Loading…
Откажи
Сачувај