Skip to content

Commit e64e1fb

Browse files
committed
Polish javadocs
1 parent efc80bb commit e64e1fb

File tree

1 file changed

+18
-1
lines changed
  • spring-shell-core/src/main/java/org/springframework/shell/component/view/screen

1 file changed

+18
-1
lines changed

spring-shell-core/src/main/java/org/springframework/shell/component/view/screen/Screen.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 the original author or authors.
2+
* Copyright 2023-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -151,7 +151,24 @@ interface WriterBuilder {
151151
*/
152152
WriterBuilder layer(int index);
153153

154+
/**
155+
* Define a color this {@link Writer} operates on.
156+
* {@code WriterBuilder} defaults to no defined color.
157+
*
158+
* @param color the color
159+
* @return a writer builder for chaining
160+
* @See Color
161+
*/
154162
WriterBuilder color(int color);
163+
164+
/**
165+
* Define a style this {@link Writer} operates on.
166+
* {@code WriterBuilder} defaults to no defined style.
167+
*
168+
* @param style the style
169+
* @return a writer builder for chaining
170+
* @see ScreenItem
171+
*/
155172
WriterBuilder style(int style);
156173

157174
/**

0 commit comments

Comments
 (0)