接口 Openable
public interface Openable
-
方法概要
-
方法详细资料
-
isOpen
boolean isOpen()Check to see if the door is open.- 返回:
- true if the door has swung counterclockwise around its hinge.
-
setOpen
void setOpen(boolean isOpen) Configure this door to be either open or closed;- 参数:
isOpen
- True to open the door.
-